Re: [Asterisk-java-users] FastAGI - creation ofnewAGIScriptinstance
Brought to you by:
srt
From: Stefan R. <sr...@re...> - 2005-10-03 12:17:17
|
> I have a Server App that includes the AGIServer and has communication wit= h > all the Client Apps (the ones that the agents use). This server also is > connected to Asterisk via the Manager api, so I could receive all the eve= nts > and react to them. > When Asterisk receives a call, the AGIServer calls the "service" method o= f > my AGI Script, it answers the call, plays some greetings, and waits for > commands of the Server App. > The communication between the AGI Script and the Server App is made with > network sockets. I have to work a little more in this to make sure that > everything will work the way I'm thinking. if the server app and the agi scripts run in the same virtual machine you dont need any network communication between the two. > The announcement will only be played to the caller, and to do that, I mus= t > release the agent from the call. Also to make the agent available to rece= ive > the next call. if you dont have to reconnect the caller and the agent again after the announcement has been played just using the redirect action will be fine. it will hang up the agent and forward the call to the agi script |