linphone-users
[Top][All Lists]
Advanced

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

Re: [Linphone-users] linphone IPv6 problems


From: Simon MORLAT
Subject: Re: [Linphone-users] linphone IPv6 problems
Date: Tue, 06 Jan 2004 15:54:00 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031221 Thunderbird/0.4

Hi,

The problem seems to be related with the sendto() system call for RTP packets.
It's in oRTP/src/rtpsession.c in function rtp_send().
sendto() returns an error. Invalid argument does not tell us which argument was wrong:
socket, ipv6 address, data , data size ?
If you are a developer you should be able to find out the reason of the Invalid argument based on the suggestions I made above. Unfortunately I have no ipv6 network availlable for me to try to reproduce the problem. If you can provide me a ssh access on a public machine connected to an ipv6 network, I can try to investigate the problem.
Simon

address@hidden wrote:

Hi,

I am trying to test linphone IPv6 clients with the IPv6 partysip server and 
have had some problems... hopefully someone can give me some suggestions as to 
how to fix things:

I have used linphone-0.12.1 (tar.gz file) to test v6 client - to v6 client and 
also v6 client - partysip v6 server - v6 client but encountered errors in both 
tests.  Error is at the end of email  (registration with the server was 
successful)

I also tried v6 client through a NAT-PT device to a v4 server then tried making 
a call to the PSTN... again registration was successful but another 
'oRTP-WARNING' was encountered.  The error from this is also at the end of the 
email.

Using v4 client - v4 client and v4 client - v4 server - v4client/PSTN works 
perfectly, no problems.

I had also tried linphone-0.12.1pre5.  This worked v6 client to v6 client but 
didn't work when trying to connect to a v6 server because the IPv6 addresses 
were shortened in the 'via, call-id and contact fields'  e.g.  
2001:618:f:501::%2 instead of the full 128 bit address.  (sorry I'm not able to 
include the exact output)  Any idea why the IPv6 addresses were shortened? Any 
solution to this?  The addresses were input correctly in the 'parameters' 
window.

Any suggestions as to why linphone-0.12.1 did not work for IPv6?  Have other 
people attempted similar tests and had similar problems?

Any help and suggestions you can give me would be appreciated.  If more info. 
is required please let me know.

Thanks
Fraser

****** error from using linphone all IPv6 **********
...
MediaStreamer-Message: alsa_set_params:  blocksize=512.
MediaStreamer-Message: ms_filter_add_link: ringplay,0 -> OssWrite,0
MediaStreamer-Message: Opening sound card in playback mode with 
stereo=0,rate=8000,bits=16
MediaStreamer-Message: alsa_set_params:  blocksize=512.
| INFO1 | <ict_callbacks.c: 30> Transaction 2 killed.

| INFO1 | <osipdialog.c: 1915> Dialog is removed. It remains 1 dialog(s) in the 
ua list.
| INFO1 | <udp.c: 193> info: Message from [2001:618:f:501:2c0:4fff:fe32:8d82]:5060 | INFO1 | <udp.c: 206> info: RECEIVING UDP MESSAGE:
  SIP/2.0 200 OK
  Via: SIP/2.0/UDP 
[2001:618:f:501:20b:dbff:fe74:88b0]:5060;branch=z9hG4bK502480139
  From: 
<sip:address@hidden:618:f:501:2c0:4fff:fe32:8d82]>;tag=4150932128;tag=2851438285
  To: <sip:address@hidden>;tag=720169100
  Call-ID: address@hidden:618:f:501:20b:dbff:fe74:88b0
  CSeq: 20 INVITE
  Contact: <sip:address@hidden:618:f:501:20b:dbff:fe74:8467]>
  Content-Type: application/sdp
  Content-Length:   288
v=0
   o=xag 123456 654321 IN IP6 2001:618:f:501:20b:dbff:fe74:8467
   s=A conversation
   c=IN IP6 2001:618:f:501:20b:dbff:fe74:8467
   t=0 0
   m=audio 7078 RTP/AVP 115 110 101
   b=AS:110 20
   a=rtpmap:115 1015/8000/1
   a=rtpmap:110 speex/8000/1
   a=rtpmap:101 telephone-event/8000
   a=fmtp:101 0-11
| INFO1 | <ict_callbacks.c: 71> OnEvent_New_Incoming2xxResponse! | INFO1 | <ict_callbacks.c: 122> Found body application/sdp MediaStreamer-Message: ms_filter_add_link: OssRead,0 -> LPC10Enc,0
        MediaStreamer-Message: ms_filter_add_link: LPC10Enc,0 -> RTPSend,0
        MediaStreamer-Message: ms_filter_add_link: RTPRecv,0 -> LPC10Dec,0
        MediaStreamer-Message: ms_filter_add_link: LPC10Dec,0 -> OssWrite,0
        MediaStreamer-Message: Opening sound card in capture mode with 
stereo=0,rate=8000,bits=16
        MediaStreamer-Message: alsa_set_params:  blocksize=768.
        MediaStreamer-Message: Opening sound card in playback mode with 
stereo=0,rate=8000,bits=16
        MediaStreamer-Message: alsa_set_params:  blocksize=512.
        MediaStreamer-Message: Mediastreamer processing thread is exiting.
        | INFO1 | <udp.c: 295> Sending message:
        ACK sip:address@hidden:618:f:501:20b:dbff:fe74:8467] SIP/2.0
        Via: SIP/2.0/UDP 
[2001:618:f:501:20b:dbff:fe74:88b0]:5060;branch=z9hG4bK3816384536
        From: 
<sip:address@hidden:618:f:501:2c0:4fff:fe32:8d82]>;tag=4150932128;tag=2851438285
        To: <sip:address@hidden>;tag=720169100
        Call-ID: address@hidden:618:f:501:20b:dbff:fe74:88b0
        CSeq: 20 ACK
        max-forwards: 10
        user-agent: oSIP/Linphone-0.12.1
        Content-Length: 0
| INFO1 | <ict_callbacks.c: 30> Transaction 4 killed. (linphone:27654): oRTP-WARNING **: Error sending rtp packet: Invalid argument. (linphone:27654): oRTP-WARNING **: Error sending rtp packet: Invalid argument. ...



****** error from using linphone v6 thro nat-pt to v4 server ***********

...
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 
[2001:618:f:501:2222:2222:8492:f9e9]:5060;branch=z9hG4bK181411704
From: 
<sip:address@hidden:618:f:501:2222:2222:8492:6daa]>;tag=435055396;tag=2431348470
To: <sip:address@hidden:618:f:501:2222:2222:8492:6daa]>;tag=41BC430A-1F0D
Date: Sat, 13 Mar 1993 18:20:56 GMT
Call-ID: address@hidden:618:f:501:2222:2222:8492:f9e9]
Server: Cisco-SIPGateway/IOS-12.x
CSeq: 20 INVITE
Allow-Events: telephone-event
Contact: <sip:address@hidden:618:f:501:2222:2222:ac19:1421]:5060>
Record-Route: 
<sip:address@hidden:618:f:501:2222:2222:8492:6daa]:5060;maddr=[2001:618:f:501:2222:2222:8492:6daa]>
Content-Length: 0

| INFO1 | <ict_callbacks.c: 41> OnEvent_New_Incoming1xxResponse! MediaStreamer-Message: alsa_set_params: blocksize=512.
   MediaStreamer-Message: ms_filter_add_link: ringplay,0 -> OssWrite,0
   MediaStreamer-Message: Opening sound card in playback mode with 
stereo=0,rate=8000,bits=16
   MediaStreamer-Message: alsa_set_params:  blocksize=512.
   | INFO1 | <udp.c: 193> info: Message from 
[2001:618:f:501:2222:2222:8492:6daa]:4186
| INFO1 | <udp.c: 206> info: RECEIVING UDP MESSAGE:
    SIP/2.0 200 OK
    Via: SIP/2.0/UDP 
[2001:618:f:501:2222:2222:8492:f9e9]:5060;branch=z9hG4bK181411704
    From: 
<sip:address@hidden:618:f:501:2222:2222:8492:6daa]>;tag=435055396;tag=2431348470
    To: <sip:address@hidden:618:f:501:2222:2222:8492:6daa]>;tag=41BC430A-1F0D
    Date: Sat, 13 Mar 1993 18:20:56 GMT
    Call-ID: address@hidden:618:f:501:2222:2222:8492:f9e9]
    Server: Cisco-SIPGateway/IOS-12.x
    CSeq: 20 INVITE
    Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, COMET, REFER, SUBSCRIBE, 
NOTIFY, INFO
    Allow-Events: telephone-event
    Contact: <sip:address@hidden:618:f:501:2222:2222:ac19:1421]:5060>
    Record-Route: 
<sip:address@hidden:618:f:501:2222:2222:8492:6daa]:5060;maddr=[2001:618:f:501:2222:2222:8492:6daa]>
    Content-Type: application/sdp
    Content-Length: 307
v=0
     o=CiscoSystemsSIP-GW-UserAgent 6255 9871 IN IP6 
[2001:618:f:501:2222:2222:ac19:1421]
     s=SIP Call
     c=IN IP6 [2001:618:f:501:2222:2222:ac19:1421]
     t=0 0
     m=audio 18992 RTP/AVP 0 101
     c=IN IP6 [2001:618:f:501:2222:2222:ac19:1421]
     a=rtpmap:0 PCMU/8000
     a=rtpmap:101 telephone-event/8000
     a=fmtp:101 0-11
| INFO1 | <ict_callbacks.c: 71> OnEvent_New_Incoming2xxResponse! | INFO1 | <ict_callbacks.c: 122> Found body application/sdp MediaStreamer-Message: Mediastreamer processing thread is exiting. (linphone:27687): oRTP-WARNING **: Error in socket address: Name or service not known
           MediaStreamer-Message: ms_filter_add_link: OssRead,0 -> 
MULAWEncoder,0
           MediaStreamer-Message: ms_filter_add_link: MULAWEncoder,0 -> 
RTPSend,0
           MediaStreamer-Message: ms_filter_add_link: RTPRecv,0 -> 
MULAWDecoder,0
           MediaStreamer-Message: ms_filter_add_link: MULAWDecoder,0 -> 
OssWrite,0
           MediaStreamer-Message: Opening sound card in capture mode with 
stereo=0,rate=8000,bits=16
           MediaStreamer-Message: alsa_set_params:  blocksize=768.
           MediaStreamer-Message: Opening sound card in playback mode with 
stereo=0,rate=8000,bits=16
           MediaStreamer-Message: alsa_set_params:  blocksize=512.
           | INFO1 | <udp.c: 295> Sending message:
           ACK 
sip:address@hidden:618:f:501:2222:2222:8492:6daa]:5060;maddr=[2001:618:f:501:2222:2222:8492:6daa]
 SIP/2.0
           Via: SIP/2.0/UDP 
[2001:618:f:501:20b:dbff:fe74:88b0]:5060;branch=z9hG4bK218457035
           Route: <sip:address@hidden:618:f:501:2222:2222:ac19:1421]:5060>
           From: 
<sip:address@hidden:618:f:501:2222:2222:8492:6daa]>;tag=435055396;tag=2431348470
           To: 
<sip:address@hidden:618:f:501:2222:2222:8492:6daa]>;tag=41BC430A-1F0D
           Call-ID: address@hidden:618:f:501:2222:2222:8492:f9e9]
           CSeq: 20 ACK
           max-forwards: 10
           user-agent: oSIP/Linphone-0.12.1
           Content-Length: 0
| INFO1 | <ict_callbacks.c: 30> Transaction 3 killed. (linphone:27689): oRTP-WARNING **: Error sending rtp packet: Invalid argument. (linphone:27689): oRTP-WARNING **: Error sending rtp packet: Invalid argument. (linphone:27689): oRTP-WARNING **: Error sending rtp packet: Invalid argument. (linphone:27689): oRTP-WARNING **: Error sending rtp packet: Invalid argument.

...



_______________________________________________
Linphone-users mailing list
address@hidden
http://mail.nongnu.org/mailman/listinfo/linphone-users







reply via email to

[Prev in Thread] Current Thread [Next in Thread]