[Asterisk-Users] AsteriskJava - Queue

Alexander Lopez alex.lopez at opsys.com
Mon Sep 26 19:14:21 MST 2005


 
You may loose 'control' of the call but you can always 'get it back'

Use the UnigueID of the call to track it throught Asterisk.  You can
palce a monitor event to redirect, bridge, drop, answer or antything
else.

> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com 
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of 
> Sebastian Silva
> Sent: Monday, September 26, 2005 6:33 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: [Asterisk-Users] AsteriskJava - Queue
> 
> Hi, I am using AsteriskJava and I have some problems, I will 
> appreciate any help...
> 
> My system has the following architecture (in the server side):
> 
> - An app server (connected to the asterisk console)
> - An AGI Server (developed with AsteriskJava)
> - An AGI Script (executed by the above AGI Server)
> 
> In the client side (Agents answering call center calls):
> 
> - A softphone
> - A client program (used to search and register call details)
> 
> Here is the thing:
> 
> - From AGI Server I detect that a call is coming from PSTN 
> and launch the AGI Script
> - From AGI Script I put the call in the queue and I loose the 
> control of the call (here is my first confusion)
> - The agent answer the call (using his/her softphone) and I 
> get the event from the Asterisk Console with my App Server.
> 
> Now, I need to play something (TTS, wav, etc) to the caller 
> based on the client application wich is connected to my App 
> Server. What I want you to know is that the information to be 
> played to the caller comes from an external source.
> 
> So, my two big questions/confusions are:
> 
> - How can I get the entire control of the call depending on 
> the status of the call, for example, if the call is in the 
> queue and I need to play or do something with it, where and 
> how I have the control? until now, when I put the call in the 
> queue I loss the control until the caller or the agent hangs the call.
> 
> - Once the call is answered by the Agent, how can I unlink 
> the two channels (releasing the agent) to let the caller hear 
> the text that the agent sent.
> 
> 
> Thanks in advance,
> 
> Sebas
> 
> 
> --
> Sebastian Silva
> G R U P O  G A U S S
> Depto. Sistemas
> Av. Libertador 6250 4 piso
> Tl.: 4 706-2222 (int. 121)
> ssilva at gaussar.com
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com --
> 
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 



More information about the asterisk-users mailing list