[Ekiga-list] ekiga slow to connect

Damien Sandras dsandras at seconix.com
Mon Oct 22 09:31:34 UTC 2007


Le lundi 22 octobre 2007 à 11:19 +0200, xlyz a écrit :
> here is the source modified:
> 
> http://paste.ubuntu-nl.org/41663/
> 
> here the new log:
> 
> http://paste.ubuntu-nl.org/41665/
> 
> added comments does not have timestamp, but most of the delay was
> beetween "hey 2" and "hey 6"
> 

Using PTRACE would have given comments, but your conclusion confirms
what I was thinking.

When doing a call over SIP, you have two ways to determine the IP
address of the remote peer :
- normal A Record Lookup
- SRV Record Lookup

The portion of code you have commented is doing a SRV Record.
There is a limitation in Ekiga 2.xx: SRV lookups are done when it is not
needed. This is what happens here.

However, it is not normal to spend so much time on that lookup. It
indicates a problem on your DNS server.

Can you double-check /etc/resolv.conf on the machine on which you have a
delay and on the machine that works correctly ?
-- 
 _     Damien Sandras
(o-      
//\    Ekiga Softphone : http://www.ekiga.org/
v_/_   NOVACOM         : http://www.novacom.be/
       FOSDEM          : http://www.fosdem.org/
       SIP Phone       : sip:dsandras at ekiga.net
                       




More information about the ekiga-list mailing list