Re: [Asterisk-java-users] Manager API
Brought to you by:
srt
From: Stefan R. <sr...@re...> - 2005-11-07 10:03:35
|
> I am using the Manager API to write an application. I would like to us= e > the > Asterisk java api to originate call, transfer, hold, record and hangup > calls. > Does Manager API provide support for the above functions originate: yes via OriginateAction transfer: yes via RedirectAction hold: not directly - but you can fake it by redirecting the channel to music on hold record: yes via MonitorAction and StopMonitorAction hangup: yes via HangupAction > and if so how has anybody got code examples. have a look at the tutorial at http://www.asteriskjava.org/latest/tutorial.html it has a very basic example on how to send an action via manager api and receive responses an= d events. For the specific actions that are available have a look at the javadoc at http://www.asteriskjava.org/latest/apidocs/net/sf/asterisk/manager/action= /package-summary.html hope that helps you get started =3DStefan |