Module single_manager
The Single-Manager manages a single socket connections to the Asterisk manager.
Copyright © 2005-2006 Ericsson
Version: 1.0
Behaviour: gen_server.
Authors: Freek Sanders (freekisanders@gmail.com) [web site: http://www.freeksanders.tk].
The Single-Manager manages a single socket connections to the Asterisk manager.
The Single-Manager is used to send messages to the Asterisk manager and wait for the result.
After the result has been received, the Single-Manager releases the socket by calling the manager-pool (see manager_pool:release_socket/2).
The handling of received messages is left to the Idefisk server (see idefisk).
For more information about the flow of events and an explanation of terms see ext_ast_interface.
die(Pid) -> term()
handle_end_of_msg(Msg, MasterPid) -> term()
manager_handler(Msg, MasterPid) -> term()
send_message(Pid, Msg) -> term()