<!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><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=296493302-17052005><FONT face=Arial size=2>I have a queue set
up where SIP extensions and ZAP channels dump into. On the SIP calls, I can
force the caller ID since I know the calling party and the called party. The SIP
calls do not necessarily go through the queue, but are directly dialed between
users.</FONT></SPAN></DIV>
<DIV><SPAN class=296493302-17052005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=296493302-17052005><FONT face=Arial size=2>The ZAP is a little
more difficult since within the queue I do not know which SIP user is going to
receive the call from the group.</FONT></SPAN></DIV>
<DIV><SPAN class=296493302-17052005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=296493302-17052005><FONT face=Arial size=2>The main thing I
need to figure out is how to grab the IP address of the SIP user that receives
the call so I can send caller ID via a tcp/ip call, basically a screen pop.
</FONT></SPAN></DIV>
<DIV><SPAN class=296493302-17052005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=296493302-17052005><FONT face=Arial size=2>Between SIP users I
can do a DBget from the SIP portion of the database. But how do I determine, via
the dialplan, where the call ends up? Also, once I submit a call to the queue
from the dialplan, I seem to loose control of the call within the dialplan. Is
this by design?</FONT></SPAN></DIV>
<DIV><SPAN class=296493302-17052005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=296493302-17052005><FONT face=Arial size=2>Thank you in
advance.</FONT></SPAN></DIV></BODY></HTML>