<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2627" name=GENERATOR></HEAD>
<BODY>
<DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=484395819-16052005><FONT face=Arial size=2>I need to track the
final leg of a queue'd call from a ZAP channel<SPAN class=375183122-16052005> to
SIP channel through a call queue</SPAN>.</FONT></SPAN></DIV>
<DIV><SPAN class=484395819-16052005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=484395819-16052005><FONT face=Arial size=2>What I currently
have setup is a queue that internal SIP traffic can call into and then receive
on the far end. Since the ${EXTEN} is pre-determined based on the calling party,
I can do a DBget within the dial plan to extract the IP from their
registration.</FONT></SPAN></DIV>
<DIV><SPAN class=484395819-16052005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=484395819-16052005><FONT face=Arial size=2>When external calls
come into the * box, the call gets routed to the same queue but I can not figure
out how to determine the SIP extension the call eventually ended up at. In the
CLI, I see an 'agent_call' directive and the call is sent to the appropriate SIP
extension. But how, within the dialplan, can I retrieve that SIP
call?</FONT></SPAN></DIV>
<DIV><SPAN class=484395819-16052005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=484395819-16052005><FONT face=Arial size=2>Also, once I route a
call into the queue, the dialplan no longer appears to have control of the call.
I can not find the config on how to control the call in
queue.</FONT></SPAN></DIV>
<DIV><SPAN class=484395819-16052005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=484395819-16052005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=484395819-16052005><FONT face=Arial size=2>Thank
you.</FONT></SPAN></DIV></DIV></BODY></HTML>