You are on page 1of 2

Class CallManager

Fields:
static ManagerConnectionFactory static ManagerConnection static AsteriskServer static HashMap<String,String> CallerMap static HashMap<String,CallInfo> CallMap final Logger

Methods:

CallManager()
Initiali es a Manager Connection to the Asterisk Server and adds an Listener to the ManagerConnection!

void CallManagerLogIn()
Login to Asterisk Server "sing the e#isting Manager Connection!

void CallManagerLogOff()
Log off fro$ Asterisk "sing the e#isting Manager Connection!

void makeACall (String pho0ne, String context, String conference)

void hangupCall(String calleridname) void call(String from,String fromcontext, String to, String tocontext,String conferenceno)

void makeACall(String phone,String context, String conference)

void hangupCall(String calleridname)

void onManager vent(Manager vent event)

String redirectCall(String !ourcechannel, String de!tinationchannel,String de!tinationexten!ion, String context) String getA!teri!kChannel"ame(String channelname)

pu#lic void printStatu!()

You might also like