Thanks for your response. AFAIK I can redirect, bridge, drop and answer
a call but I can't find the way to do, for example:
- Get the call back from the queue, play a message and put it again in
the queue.
and
- Get a linked call (caller to Agent), unlink it (releasing the agent)
and play something to the caller.
thanks in advance
Sebas
Alexander Lopez wrote:>
> 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@lists.digium.com
>> [mailto:asterisk-users-bounces@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@gaussar.com
>> _______________________________________________
>> --Bandwidth and Colocation sponsored by Easynews.com --
>>
>> Asterisk-Users mailing list
>> Asterisk-Users@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
>>
>>
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com --
>
> Asterisk-Users mailing list
> Asterisk-Users@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
>
--
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@gaussar.com