Hi,
  I've ported Asterisk to IPv6 and doing some IPv6 interop tests (to  
fix my implementation...). Using sofia-sip 1.12.3 and sofsip_cli  
0.12. What I found so far:
- can register and do invite over Ipv6 to asterisk, but media works  
only over IPv4.
- found 2 'interesting' situations: see A and B below.

Any hints, suggestions will be appreciated.

marc.

=======
setup:
  + 3ffe:b00:1:1::4 is asterisk-v6;
  + 3ffe:b00:1:1::98 is sofsip_cli ;
  + ipv6 networking works between the two.
  + no IPv4 or IPv6 firewalls  or packet filtering in the path or on  
the hosts.

=======
A) sofia-sip seems to detect an IPv6 NAT while there is none (of  
course!):

% sofsip_cli --contact 'sip:[3ffe:b00:1:2::98]:5060' --proxy 'sip: 
[3ffe:b00:1:1::4]' 'sip:[EMAIL PROTECTED]:b00:1:1::4]'

sofsip> r
UA: REGISTER sip:[EMAIL PROTECTED]:b00:1:1::4] - registering address to network
sofsip> outbound(0x81e26e0): detected NAT: [3ffe:b00:1:2::98] !=  
3ffe:b00:1:2::98
UA: unknown event 'nua_i_outbound' (8): 101 NAT detected
    ::tag_null: 0

the strcmp in libsofia-sip-ua/nua/outbound.c  seems to be flawed in  
not removing the [] before comparing. special case for ipv6 addresses.

=========
B) forcing sofia_sip to use ipv6 and sdp offer is v6, still  
sofsip_cli binds the RTP port on v4:

% sofsip_cli --contact 'sip:[3ffe:b00:1:2::98]:5060' --media-addr  
'3ffe:b00:1:2::98' --proxy 'sip:[3ffe:b00:1:1::4]' 'sip:101@ 
[3ffe:b00:1:1::4]'

SDP offer is ok. Asterisk sends RTP over IPv6 to the sofia client.  
sofia client host sends ICMPv6 port unreachable. reason: sofia client  
still binds its RTP port on IPv4!!!







-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to