Two problems.
1) It looks like the stack called bind() with AF_INET, not AF_INET6. On
most (all?) implementations, a IPv6 socket can connect to a IPv4
address, but an IPv4 socket cannot connect to an IPv6 address.
Maybe NUTAG_URL("sip:*;maddr=[::]") will work?
2) At present, you cannot send messages through sofia-sip using
link-local addresses. Consider using Site-Local or Unique-Local
addressing instead.
On Mon, 2009-02-23 at 12:20 -0600, Jerry Richards wrote:
> Hello All,
>
> Does anyone know of a reason why I cannot send messages from my phone having
> an IPv4 address to a SIP server having an IPv6 address? We will all be
> living in a world of dual IPv4/6 networks for quite a while, so I think this
> should work. The function tport_vsend() logs the following error and does
> not send the REGISTER message:
>
> tport_vsend(0x9a2408): Address family not supported by protocol with (s=23
> */[fe80::204:23ff:fea7:d60a]:5060)
>
> The REGISTER message follows:
>
> Request-Line: REGISTER sip:[fe80::204:23ff:fea7:d60a]:5060;transport=udp
> SIP/2.0
> Message Header:
> --Via: SIP/2.0/UDP 192.168.72.77;rport;branch=z9hG4bKB5Hg5X6ycBt6S
> --Max-Forwards: 70
> --From: <sip:4...@[fe80::204:23ff:fea7:d60a]:5060>;tag=B5KNt2rD6XXyc
> --To: <sip:4...@[fe80::204:23ff:fea7:d60a]:5060>;transport=udp
> --Call-ID: 322d9b5e-7c33-122c-44ba-b39cde9aab72
> --CSeq: 111573182 REGISTER
> --Contact: <sip:[email protected]:5060;transport=udp>
> --Expires: 3600
> --Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, INFO, MESSAGE, SUBSCRIBE,
> NOTIFY, PRACK, UPDATE, REFER
> --Supported: replaces, callerid, 100rel, resource-priority, path
>
> Jerry
>
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a $600 discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> Sofia-sip-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Sofia-sip-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel