<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1596" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=491353314-20092007><FONT face=Arial color=#0000ff size=2>Thanks
for the reply. I actually found the problem by inserting print statements
in the code and checking which operations took the most time. I found that
one line was taking a long time to run. The line was the
following</FONT></SPAN></DIV>
<DIV><SPAN class=491353314-20092007><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=491353314-20092007><FONT face=Arial color=#0000ff
size=2>RTPManager.addtarget(destAddress)</FONT></SPAN></DIV>
<DIV><SPAN class=491353314-20092007><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=491353314-20092007><FONT face=Arial color=#0000ff size=2>After
googling this for a while, I found a solution on a JMF
site which recommended a minor change in the way that the
destAddress is obtained. After making this change the delay was
removed.</FONT></SPAN></DIV>
<DIV><SPAN class=491353314-20092007><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=491353314-20092007><FONT face=Arial color=#0000ff
size=2>Thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=491353314-20092007><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=491353314-20092007><FONT face=Arial color=#0000ff
size=2>Denis</FONT></SPAN></DIV>
<BLOCKQUOTE>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B>
asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com]<B>On Behalf Of </B>James
FitzGibbon<BR><B>Sent:</B> Wednesday, September 19, 2007 4:19 PM<BR><B>To:</B>
Asterisk Users Mailing List - Non-Commercial Discussion<BR><B>Subject:</B> Re:
[asterisk-users] Softphone RTP Session Start-up Delay<BR><BR></FONT></DIV>On
9/19/07, <B class=gmail_sendername><A
href="mailto:Kutman.DK@forces.gc.ca">Kutman.DK@forces.gc.ca</A></B> <<A
href="mailto:Kutman.DK@forces.gc.ca">Kutman.DK@forces.gc.ca</A>> wrote:
<DIV><SPAN class=gmail_quote></SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid"> here
because we are actually specifying the IP Address of the Asterisk server,
but I am willing to try anything to fix this problem. The two
user pc's are setup on workgroups, so I do not believe that there is a
domain available that can be entered in the hosts file. Could the
DNS still be the issue? If not, would anyone be able to suggest
any other possible problems that may be causing this delay. </BLOCKQUOTE>
<DIV><BR>It wasn't the same magnitude (more like 4 seconds for me), but I had
an issue where the default eyeBeam (the commercial version of X-Lite) install
was imposing a delay when a call first came in while it attempted to contact a
non-existent STUN server. When I removed the STUN server setting, call
setup was immediate. <BR><BR>Might be worth looking at. Have you done a
trace on the PC where the softphone is running (without a filter) to see what
network packets are flying at the time the call setup
happens?<BR><BR></DIV></DIV>-- <BR>j. </BLOCKQUOTE></BODY></HTML>