Re: [Ekiga-list] ekiga slow to connect
- From: xlyz <xlyz fastwebnet it>
- To: Ekiga mailing list <ekiga-list gnome org>
- Subject: Re: [Ekiga-list] ekiga slow to connect
- Date: Sun, 21 Oct 2007 23:37:59 +0200
btw, installing ekiga in a different OS in a virtualbox in ubuntu on the
same pc (the beta 2.0.11 exe on ekiga.org) works with no delay at all,
in spite of being natted twice (once by the router and once by the
virtual network of virtualbox)
I'll try to follow your rqst.
Just to be sure: something like this is correct:
============================================
BOOL SIPConnection::SetUpConnection()
{
SIPURL transportAddress = targetAddress;
PTRACE(2, "SIP\tSetUpConnection: " << remotePartyAddress);
// Do a DNS SRV lookup
#if P_DNS
PIPSocketAddressAndPortVector addrs;
std::cout << "Hey 1" << std::endl << std::flush;
if (PDNS::LookupSRV(targetAddress.GetHostName(), "_sip._udp",
targetAddress.GetPort(), addrs)) {
transportAddress.SetHostName(addrs[0].address.AsString());
std::cout << "Hey 2" << std::endl << std::flush;
transportAddress.SetPort(addrs [0].port);
}
#endif
PStringList routeSet = GetRouteSet();
std::cout << "Hey 3" << std::endl << std::flush;
=======================================================
xlyz
Il giorno dom, 21/10/2007 alle 23.22 +0200, Damien Sandras ha scritto:
> Le dimanche 21 octobre 2007 �3:17 +0200, xlyz a �it :
> > > If you edit src/sip/sipcon.cxx, BOOL SIPConnection::SetUpConnection(),
> > > you will see the following :
> > > PTRACE(2, "SIP\tSetUpConnection: " << remotePartyAddress);
> > > After that, it takes 20 seconds until the next step.
> > >
> > > Perhaps it is the DNS SRV lookup that takes so long ?
> > >
> > > You can monitor that, the easiest if you are not used doing that, is
> > > probably to add something like this at various places:
> > > std::cout << "Hey 1" << std::endl << std::flush;
> > >
> > > You will be able to see what takes time,
> >
> > I hoped was something simpler
> >
> > do you think that if I capture network traffic instead you can
> > understand where is the problem?
>
> I don't think so...
> --
> _ Damien Sandras
> (o-
> //\ Ekiga Softphone : http://www.ekiga.org/
> v_/_ NOVACOM : http://www.novacom.be/
> FOSDEM : http://www.fosdem.org/
> SIP Phone : sip:dsandras ekiga net
>
>
> _______________________________________________
> ekiga-list mailing list
> ekiga-list gnome org
> http://mail.gnome.org/mailman/listinfo/ekiga-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]