[Asterisk-Users] Queues and hangup caller on Agent hangup
Johann
johann.hoehn at ecommerce.com
Fri Jun 16 06:07:09 MST 2006
Well it depends if you want the caller to stay on the line afterwards. I had to
do something similar when we wanted to get some feedback from the customer after
they talked to an agent.
Basically you need to use a Local channel that will call the queue() app and
return after it is done for further processing. Rough example below:
[company]
exten => 1,1,Dial(Local/testing at company/n,,g)
exten => 1,2,Noop(Execution will continue here after the Agent hangs up)
exten => testing,1,Queue(testing)
The above won't help you if you want to do stuff after the caller hangs up.
However you can still play audio to the caller with the above.
--johann
Tristan wrote:
> Hi List,
>
> Just one more question that may sounds stupid to some people but I can't
> find the solution for now,
>
> I have the following dialplan:
>
> exten => queue,n,Queue(myqueue)
> exten => queue,n,NoOp(ENDQUEUE)
>
> I don't understand why the NoOp is never triggered, the incoming call is
> always hangup when the agent hangup...
>
> Is this a behaviour we can't get rid off without patching app_queue ?
>
> Does someone has a solution for this or do I misunderstood something ?
>
> Thanks for your reply in advance !
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
More information about the asterisk-users
mailing list