Re: [GnomeMeeting-devel-list] SIP "Registration failed after sucessful registration with multiple network interfaces" - bug



Hello,

Yes, following the main OPAL authors Robert and Craig, it is a normal
behavior.

I plan to rediscuss this with them as it is giving problems to
everyone :-/


Le mercredi 13 avril 2005 à 17:59 +0200, Jan Schiefer a écrit :
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I figured out how this works.
> 
> You create a SIPTransaction for each Interface except lo ( eth0, ppp0 ...) .
> 
> The one on ppp0 registers sucessfully to the SIP server and stops the
> retryTimer in SIPTransaction::SetTerminated(States newState).
> 
> But somehow the SIPTransaction for eth0 think's it is registering too. (
> What is just plain wrong. ) Here the timer isn't stopped. After a short
> time we get a "Terminated_TransportError for 1 REGISTER" here. BANG!
> Gnomemeeting thinks registration has failed.
> 
> I just hacked opal/src/opal/transports.cxx:
> 
> BOOL OpalTransportUDP::Connect()
> {
> 
> ...
>  for (i = 0; i < interfaces.GetSize(); i++) {
>     PIPSocket::Address interfaceAddress = interfaces[i].GetAddress();
>     if (interfaceAddress == 0 || interfaceAddress == PIPSocket::Address())
>       continue;
> 
> to
> 
> BOOL OpalTransportUDP::Connect()
> {
> 
> ...
>  for (i = 0; i < interfaces.GetSize(); i++) {
>     PIPSocket::Address interfaceAddress = interfaces[i].GetAddress();
>     if (interfaceAddress == 0 || interfaceAddress ==
> PIPSocket::Address() || interfaceAddress ==
> PIPSocket::Address("192.168.0.1"))
>       continue;
> 
> 
> And the error vanished.
> 
> Unfortunately I didn't find the exact source of the problem.
> 
> Greetings,
> Jan Schiefer!
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.5 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
> 
> iD8DBQFCXUHpzC00UKXFdVcRAtFnAKC4i2fzR2pkOwsoc8NzggqiUWMX+gCgjB86
> 08fCiY10csib59OnBNyK8BE=
> =0IuO
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> Gnomemeeting-devel-list mailing list
> Gnomemeeting-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnomemeeting-devel-list
-- 
 _      Damien Sandras
(o-     GnomeMeeting: http://www.gnomemeeting.org/
//\     FOSDEM 2005 : http://www.fosdem.org
v_/_    H.323 phone : callto:ils.seconix.com/dsandras seconix com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]