Re: [Ekiga-devel-list] Issues and crash with new opal/pwlib sockets code



Le jeudi 16 ao�07 �2:40 +0200, thomas schorpp a �it :
> Damien Sandras wrote:
> > Hi,
> > 
> > 
> > Can you post a -d 4 output ?
> > 
> > Le jeudi 16 ao�07 �9:49 +0200, thomas schorpp a �it :
> >> hi.
> >>
> >> outgoing calls fail here always with loop detected since ~3days following opal+pwlibs cvs heads, 
> 
> cannot see reason here, will try to set brakepoint in gdb and tracing whats wrong:


It seems indeed that it is due to the sockets code.

The end is interesting :
you can see that it is sending the last PDU to itself !

Craig can perhaps tell more about this. 

However, I can not reproduce your problem.

> 
> looks like ekiga tries to use the wan if of my router instead of the local machines ip to create socket conn, 
> this must fail:
> 
> 2007/08/16 12:25:38.679   0:45.594      GMURLHandl...r:00ddcab0 OpalMan Set up call from pc:* to sip:500 ekiga net
> 2007/08/16 12:25:38.680   0:45.595      GMURLHandl...r:00ddcab0 Call    Created Call[1]
> 2007/08/16 12:25:38.680   0:45.595      GMURLHandl...r:00ddcab0 OpalMan Set up connection to "pc:*"
> 2007/08/16 12:25:38.681   0:45.596      GMURLHandl...r:00ddcab0 OpalCon Created connection Call[1]-EP<pc>[VIA 8237]
> 2007/08/16 12:25:38.682   0:45.597      GMURLHandl...r:00ddcab0 RFC2833 Handler created
> 2007/08/16 12:25:38.688   0:45.603      GMURLHandl...r:00ddcab0 RFC2833 Handler created
> 2007/08/16 12:25:38.688   0:45.603      GMURLHandl...r:00ddcab0 Silence Handler created
> 2007/08/16 12:25:38.688   0:45.603      GMURLHandl...r:00ddcab0 Echo Canceler   Handler created
> 2007/08/16 12:25:38.688   0:45.603      GMURLHandl...r:00ddcab0 PCSS    Created PC sound system connection with token 'VIA 8237'
> 2007/08/16 12:25:38.689   0:45.604      GMURLHandl...r:00ddcab0 OpalMan On incoming connection Call[1]-EP<pc>[VIA 8237]
> 2007/08/16 12:25:38.689   0:45.604      GMURLHandl...r:00ddcab0 Call    GetOtherPartyConnection Call[1]-EP<pc>[VIA 8237]
> 2007/08/16 12:25:38.689   0:45.604      GMURLHandl...r:00ddcab0 OpalMan Set up connection to "sip:500 ekiga net"
> 2007/08/16 12:25:38.689   0:45.604      GMURLHandl...r:00ddcab0 OpalCon Created connection Call[1]-EP<sip>[7cf0b1b3-504a-dc11-85fd-001109d76d6b tom1]
> 2007/08/16 12:25:38.689   0:45.604      GMURLHandl...r:00ddcab0 RFC2833 Handler created
> 2007/08/16 12:25:38.689   0:45.604      GMURLHandl...r:00ddcab0 RFC2833 Handler created
> 2007/08/16 12:25:38.691   0:45.606      GMURLHandl...r:00ddcab0 SIP     Created connection.
> 2007/08/16 12:25:38.692   0:45.607      GMURLHandl...r:00ddcab0 PCSS    Outgoing call routed to sip:500 ekiga net for Call[1]-EP<pc>[VIA 8237]
> 2007/08/16 12:25:38.692   0:45.607      GMURLHandl...r:00ddcab0 Call    OnSetUp Call[1]-EP<pc>[VIA 8237]
> 2007/08/16 12:25:38.692   0:45.607      GMURLHandl...r:00ddcab0 SIP     SetUpConnection: <sip:500 ekiga net>
> 2007/08/16 12:25:38.693   0:45.608      GMURLHandl...r:00ddcab0 OpalUDP Binding to interface: 192.168.0.100:5063
> 2007/08/16 12:25:38.693   0:45.608      GMURLHandl...r:00ddcab0 SIP     Created transport 2007/08/16 12:25:38.693    0:45.608      GMURLHandl...r:00ddcab0 PWLib   File handle high water mark set: 46 PUDPSocket
> udp$86.64.162.35:5060<if=udp$91.89.4.107:5063>
> 2007/08/16 12:25:38.693   0:45.608      GMURLHandl...r:00ddcab0 OpalUDP Started connect to 86.64.162.35:5060
> 2007/08/16 12:25:38.699   0:45.614      GMURLHandl...r:00ddcab0 SIP     Transaction 1 INVITE created.
> 2007/08/16 12:25:38.728   0:45.643      GMURLHandl...r:00ddcab0 Call    GetMediaFormats for Call[1]-EP<sip>[7cf0b1b3-504a-dc11-85fd-001109d76d6b tom1]
> H.261
> H.261-CIF
> H.261-QCIF
> theora
> G.711-uLaw-64k
> G.711-ALaw-64k
> GSM-06.10
> PCM-16
> PCM-16-16kHz
> YUV420P
> RFC4175_YUV420P
> RGB32
> RGB24
> RFC4175_RGB24
> 
> 2007/08/16 12:25:38.728   0:45.643      GMURLHandl...r:00ddcab0 Call    CanDoMediaBypass Call[1]-EP<sip>[7cf0b1b3-504a-dc11-85fd-001109d76d6b tom1] session 1
> 2007/08/16 12:25:38.728   0:45.643      GMURLHandl...r:00ddcab0 OpalMan IsMediaBypassPossible: session 1
> 2007/08/16 12:25:38.728   0:45.643      GMURLHandl...r:00ddcab0 OpalCon IsMediaBypassPossible: default returns FALSE
> 2007/08/16 12:25:38.729   0:45.644      GMURLHandl...r:00ddcab0 RTP_UDP RTP session created with NAT flag set to 0
> 2007/08/16 12:25:38.738   0:45.653      GMURLHandl...r:00ddcab0 PWLib   File handle high water mark set: 47 PUDPSocket
> 2007/08/16 12:25:38.739   0:45.654      GMURLHandl...r:00ddcab0 PWLib   File handle high water mark set: 48 PUDPSocket
> 2007/08/16 12:25:38.739   0:45.654      GMURLHandl...r:00ddcab0 PWLib   File handle high water mark set: 49 PUDPSocket
> 2007/08/16 12:25:38.798   0:45.713      GMURLHandl...r:00ddcab0 RTP_UDP Session 1 created: 91.89.4.107:5002-5003 ssrc=2045251631
> 2007/08/16 12:25:38.798   0:45.713      GMURLHandl...r:00ddcab0 PWLib   File handle low water mark set: 46 PUDPSocket
> 2007/08/16 12:25:38.798   0:45.713      GMURLHandl...r:00ddcab0 RTP     Adding session RTP_UDP
> 2007/08/16 12:25:38.799   0:45.714      GMURLHandl...r:00ddcab0 SIP     Using RTP payload [pt=101] for NTE
> 2007/08/16 12:25:38.807   0:45.722      GMURLHandl...r:00ddcab0 SIP     Using RTP payload [pt=100] for NSE
> 2007/08/16 12:25:38.840   0:45.755      GMURLHandl...r:00ddcab0 Call    GetMediaFormats for Call[1]-EP<sip>[7cf0b1b3-504a-dc11-85fd-001109d76d6b tom1]
> H.261
> H.261-CIF
> H.261-QCIF
> theora
> G.711-uLaw-64k
> G.711-ALaw-64k
> GSM-06.10
> PCM-16
> PCM-16-16kHz
> YUV420P
> RFC4175_YUV420P
> RGB32
> RGB24
> RFC4175_RGB24
> 
> 2007/08/16 12:25:38.840   0:45.755      GMURLHandl...r:00ddcab0 Call    CanDoMediaBypass Call[1]-EP<sip>[7cf0b1b3-504a-dc11-85fd-001109d76d6b tom1] session 2
> 2007/08/16 12:25:38.840   0:45.755      GMURLHandl...r:00ddcab0 OpalMan IsMediaBypassPossible: session 2
> 2007/08/16 12:25:38.840   0:45.755      GMURLHandl...r:00ddcab0 OpalCon IsMediaBypassPossible: default returns FALSE
> 2007/08/16 12:25:38.841   0:45.756      GMURLHandl...r:00ddcab0 RTP_UDP RTP session created with NAT flag set to 0
> 2007/08/16 12:25:38.841   0:45.756      GMURLHandl...r:00ddcab0 PWLib   File handle high water mark set: 50 PUDPSocket
> 2007/08/16 12:25:38.841   0:45.756      GMURLHandl...r:00ddcab0 PWLib   File handle high water mark set: 51 PUDPSocket
> 2007/08/16 12:25:38.900   0:45.815      GMURLHandl...r:00ddcab0 RTP_UDP Session 2 created: 91.89.4.107:5006-5007 ssrc=2541540778
> 2007/08/16 12:25:38.900   0:45.815      GMURLHandl...r:00ddcab0 PWLib   File handle low water mark set: 46 PUDPSocket
> 2007/08/16 12:25:38.900   0:45.815      GMURLHandl...r:00ddcab0 RTP     Adding session RTP_UDP
> 2007/08/16 12:25:38.929   0:45.844      GMURLHandl...r:00ddcab0 Call    GetMediaFormats for Call[1]-EP<sip>[7cf0b1b3-504a-dc11-85fd-001109d76d6b tom1]
> H.261
> H.261-CIF
> H.261-QCIF
> theora
> G.711-uLaw-64k
> G.711-ALaw-64k
> GSM-06.10
> PCM-16
> PCM-16-16kHz
> YUV420P
> RFC4175_YUV420P
> RGB32
> RGB24
> RFC4175_RGB24
> 
> 2007/08/16 12:25:38.930   0:45.845      GMURLHandl...r:00ddcab0 SIP     No media formats for session id 3, not adding SDP
> 2007/08/16 12:25:38.930   0:45.845      GMURLHandl...r:00ddcab0 SIP     No authentication information present
> 2007/08/16 12:25:38.931   0:45.846      GMURLHandl...r:00ddcab0 SIP     Set state Terminated_TransportError for transaction 1 INVITE
> 2007/08/16 12:25:38.931   0:45.846      GMURLHandl...r:00ddcab0 SIP     Handling PDU 1 INVITE sip:500 ekiga net
> 2007/08/16 12:25:38.931   0:45.846      GMURLHandl...r:00ddcab0 SIP     Ignoring INVITE from sip:500 ekiga net when originated call.
> 2007/08/16 12:25:38.975   0:45.890      GMURLHandl...r:00ddcab0 SIP     Adjusting transport remote address to udp$91.89.4.107:5063
> 2007/08/16 12:25:38.975   0:45.890      GMURLHandl...r:00ddcab0 SIP     Sending PDU on udp$91.89.4.107:5063<if=udp$91.89.4.107:5063>
> SIP/2.0 482 Loop Detected
> CSeq: 1 INVITE
> Via: SIP/2.0/UDP 91.89.4.107:5063;branch=9a71b3b3-504a-dc11-85fd-001109d76d6b;rport
> From: <sip:schorpp ekiga net>;tag=04aeb2b3-504a-dc11-85fd-001109d76d6b
> Call-ID: 7cf0b1b3-504a-dc11-85fd-001109d76d6b tom1
> To: <sip:500 ekiga net>
> Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,NOTIFY,REFER,MESSAGE,INFO,PING,PUBLISH
> Content-Length: 0
> 
> 
> 2007/08/16 12:25:38.976   0:45.891      GMURLHandl...r:00ddcab0 SIP     Did not start INVITE transaction on udp$91.89.4.107:5063<if=udp$91.89.4.107:5063>
> 2007/08/16 12:25:38.976   0:45.891      GMURLHandl...r:00ddcab0 SIP     Could not write to sip:500 ekiga net -
-- 
 _     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
                       




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