Could you just set the variable in the part of the dialplan where they enter the queue and then reference it here?<br><br>Thanks,<br>Kyle<br><br><br><div><span class="gmail_quote">On 5/26/06, <b class="gmail_sendername">Massimo Nuvoli
</b> <<a href="mailto:massimo@archivio.it">massimo@archivio.it</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">This is the problem:
<br><br>two Queues<br><br>Agent logged in as "agentcallback" and member of the two queues.<br><br>When a call come in the queue, asterisk "call" the extension provided<br>by the agentcallbacklogin.<br>
<br>The need is in the extension to have a variable with the "queue" id.<br><br>something like:<br><br>exten => _6XXX,1,Noop(AGENT ${EXTEN:1})<br>exten => _6XXX,n,UserEvent(FOP_Popup|URL:<br>/cmgr/api/popup?e=${EXTEN:1}&cid=${CALLERIDNUM}&q=${QUEUE})
<br>exten => _6XXX,n,DIAL(ZAP/g2/1234567${EXTEN:1},30)<br>exten => _6XXX,n,Hangup<br><br>Any idea?<br><br>Thnks.<br><br><br><br>_______________________________________________<br>--Bandwidth and Colocation provided by
<a href="http://Easynews.com">Easynews.com</a> --<br><br>Asterisk-Users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br><br><br><br></blockquote></div><br>