Module fake_extens

Fake-Extens can act as a replacement for a real application.

Copyright © 2005-2006 Ericsson

Version: 1.0

Authors: Freek Sanders (freekisanders@gmail.com) [web site: http://www.freeksanders.tk].

Description

Fake-Extens can act as a replacement for a real application. Fake-Extens catches all messages coming from the Ext-Ast-Interface (see ext_ast_interface) and prints them to the command line. Fake-Extens does not start calls, legs or resources, and does not take actions in any other way but printing.


idefisk.conf Configuration

Set asterisk_ext_module to 'fake_extens' : {asterisk_ext_module, fake_extens}
Set asterisk_ext_module_start to 'false' : {asterisk_ext_module_start, false}
Set asterisk_ext_module_args to the following : {asterisk_ext_module_args, []}


For more information about the flow of events and an explanation of terms see ext_ast_interface.

Function Index

answer/2
create_call_result/1
create_leg_result/2
incoming_call/3
key_pressed/3
release/3
reserve_resource_result/2
stopped/2

Function Details

answer/2

answer(CallId, LegId) -> term()

create_call_result/1

create_call_result(CallId) -> term()

create_leg_result/2

create_leg_result(CallId, LegId) -> term()

incoming_call/3

incoming_call(CallId, OrigNr, DestNr) -> term()

key_pressed/3

key_pressed(CallId, ResourceId, Key) -> term()

release/3

release(CallId, LegId, Cause) -> term()

reserve_resource_result/2

reserve_resource_result(CallId, ResourceId) -> term()

stopped/2

stopped(CallId, ResourceId) -> term()