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].

Description

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.

Function Index

die/1
send_message/2

Function Details

die/1

die(Pid) -> term()

send_message/2

send_message(Pid, Msg) -> term()