Massimo Nuvoli
2006-May-25 23:00 UTC
[Asterisk-Users] Agent Callback, how to "see" wath queue is calling the agent?
This is the problem: two Queues Agent logged in as "agentcallback" and member of the two queues. When a call come in the queue, asterisk "call" the extension provided by the agentcallbacklogin. The need is in the extension to have a variable with the "queue" id. something like: exten => _6XXX,1,Noop(AGENT ${EXTEN:1}) exten => _6XXX,n,UserEvent(FOP_Popup|URL: /cmgr/api/popup?e=${EXTEN:1}&cid=${CALLERIDNUM}&q=${QUEUE}) exten => _6XXX,n,DIAL(ZAP/g2/1234567${EXTEN:1},30) exten => _6XXX,n,Hangup Any idea? Thnks. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 250 bytes Desc: OpenPGP digital signature Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20060525/c6cd5bbf/signature.pgp
Kyle Sexton
2006-May-26 03:54 UTC
[Asterisk-Users] Agent Callback, how to "see" wath queue is calling the agent?
Could you just set the variable in the part of the dialplan where they enter the queue and then reference it here? Thanks, Kyle On 5/26/06, Massimo Nuvoli <massimo@archivio.it> wrote:> > This is the problem: > > two Queues > > Agent logged in as "agentcallback" and member of the two queues. > > When a call come in the queue, asterisk "call" the extension provided > by the agentcallbacklogin. > > The need is in the extension to have a variable with the "queue" id. > > something like: > > exten => _6XXX,1,Noop(AGENT ${EXTEN:1}) > exten => _6XXX,n,UserEvent(FOP_Popup|URL: > /cmgr/api/popup?e=${EXTEN:1}&cid=${CALLERIDNUM}&q=${QUEUE}) > exten => _6XXX,n,DIAL(ZAP/g2/1234567${EXTEN:1},30) > exten => _6XXX,n,Hangup > > Any idea? > > Thnks. > > > > _______________________________________________ > --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 > > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060526/1faf6bb1/attachment.htm
Massimo Nuvoli
2006-May-26 05:28 UTC
[Asterisk-Users] Agent Callback, how to "see" wath queue is calling the agent?
Kyle Sexton ha scritto:> Could you just set the variable in the part of the dialplan where they > enter the queue and then reference it here? >:-) very simple, tested but not working, and logically i think it is right. In asterisk a variable (dialplan SET) is bound to the "incoming channel", but, when the agentcallback is called there is not link with the "incoming channel", as the user called must pickup the phone and confirm the call answer. As there is some exception (like CALLERID) i think there is some info missing (or never requested) calling the "callback" procedure... I think, but my thinking may be wrong. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 250 bytes Desc: OpenPGP digital signature Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20060526/a639f249/signature.pgp