Module idefisk

Idefisk carries out the communication between the Asterisk PBX and the Ext-Ast-Interface server.

Copyright © 2005-2006 Ericsson

Version: 1.0

Behaviour: gen_server.

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

Description

Idefisk carries out the communication between the Asterisk PBX and the Ext-Ast-Interface server. Idefisk continually listens to the Asterisk manager through a given port. Received messages are handled, and appropriate functions within the Ext-Ast-Interface (see ext_ast_interface) are called. For more information about the flow of events and an explanation of terms see ext_ast_interface.

Function Index

attach_leg/3
attach_resource_to_attached/2
attach_resource_to_detached/2
detach_leg/3
detach_resource/1
play/3
pronounce/2
record/2
release_leg/2
resource_init/2
route_leg/5
send_incoming_originate_to_wait/2
send_incoming_to_wait/2
start_link/5
stop/1

Function Details

attach_leg/3

attach_leg(Chan, CallId, LegId) -> term()

attach_resource_to_attached/2

attach_resource_to_attached(Chan, CallId) -> term()

attach_resource_to_detached/2

attach_resource_to_detached(Chan1, Chan2) -> term()

detach_leg/3

detach_leg(Chan, CallId, LegId) -> term()

detach_resource/1

detach_resource(Chan) -> term()

play/3

play(Chan, File, FileExt) -> term()

pronounce/2

pronounce(Chan, Text) -> term()

record/2

record(Chan, File) -> term()

release_leg/2

release_leg(Chan, Cause) -> term()

resource_init/2

resource_init(DestAddr, Exten) -> term()

route_leg/5

route_leg(OrigAddr, Chan, PendingId, CallId, LegId) -> term()

send_incoming_originate_to_wait/2

send_incoming_originate_to_wait(CallId, Chan) -> term()

send_incoming_to_wait/2

send_incoming_to_wait(CallId, Chan) -> term()

start_link/5

start_link(Host, Port, Username, Password, AgiUrl) -> term()

stop/1

stop(Chan) -> term()