linphone-developers
[Top][All Lists]
Advanced

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

Re: [Linphone-developers] bug+patch: Identifies with IP6 to IP4 hosts wi


From: Simon Morlat
Subject: Re: [Linphone-developers] bug+patch: Identifies with IP6 to IP4 hosts with dual AAAA/A DNS resource record
Date: Mon, 26 Apr 2010 22:18:22 +0200

Hi Lionel,

Thanks a lot for reporting with problem with much details.
The patch does not apply to git tree, but no problem I made the change
manually as it was trivial. So the bug should be fixed in next release.

Best regards

Simon

Le lundi 26 avril 2010 à 21:33 +0200, Lionel Elie Mamane a écrit :
> This is bug #578950 in the Debian bug tracker:
> http://bugs.debian.org/578950
> 
> Please keep address@hidden, address@hidden
> and address@hidden as CC in the discussion (M-F-T is set).
> 
> When
> 
>  - the SIP server has both A and AAAA records in DNS
>  - linphone is configured to use IPv4, not IPv6
> 
> linphone speaks over IPv4 to the server, but puts an IPv6 address in
> the SIP messages. This, at least in the case where Asterisk is the
> server (and probably for other servers that don't implement IPv6)
> makes calls not work. (registration works)
> 
> The attached patch (against v3.2.1) fixes the issue.
> 
> Analysis:
> 
> Abstract from the debug log:
> 
>  linphonec> call 500
>  ortp-message-Local interface to reach sip.mamane.lu is 2001:960:2:97::2.
> 
> First sign of trouble: linphone identifies its own IP as an IPv6...
> 
>  ortp-message-getaddrinfo returned the following addresses:
>  ortp-message-94.142.241.136 port 5060
>  ortp-message-Message sent: (to dest=94.142.241.136:5060)
> 
> but OK, it still speaks to the server over IPv4
> 
>  v=0
>  o=lionel 123456 654321 IN IP6 2001:960:2:97::2
>  s=A conversation
>  c=IN IP6 2001:960:2:97::2
> 
> the IP6 address there makes Asterisk balk. The Asterisk log says:
> 
>  WARNING[3678] chan_sip.c: Invalid host in c= line, 'IN IP6 2001:960:2:97::2'
> 
> and it returns this message to Linphone:
> 
> ortp-message-Received message: SIP/2.0 488 Not acceptable here
> 
> _______________________________________________
> Linphone-developers mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/linphone-developers






reply via email to

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