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 !
Julian Lyndon-Smith
2006-Jun-16 03:56 UTC
[Asterisk-Users] Queues and hangup caller on Agent hangup
What version of Asterisk ? 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 > >
Doug Lytle
2006-Jun-16 04:01 UTC
[Asterisk-Users] Queues and hangup caller on Agent hangup
Tristan wrote:> Hi List, > > I have the following dialplan: > > exten => queue,n,Queue(myqueue) > exten => queue,n,NoOp(ENDQUEUE)Once the call has ended, the dial-plan will jump to the hangup entry if once exists. Try: [my-context] exten => queue,n,Queue(myqueue) exten => h,1,NoOp(ENDQUEUE) Doug -- Ben Franklin quote: "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."
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@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 > >