ipv6 problems with pjproject 1.3

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

 



On Fri, Jun 26, 2009 at 12:44 PM, Klaus Darilion <
klaus.mailinglists at pernau.at> wrote:

> Hi!
>
> I experienced that pjsua-API and with IPv6 as transport does only work if I
> specify an outbound proxy with IP address. No outbound proxy or outbound
> proxy with domain (instead of IP) does not work.
>
> I also had the same problems when using the pjsua client.
>
> Is this a known issue or am I doing something wrong?
>
> The error in pjsua:
>  13:40:56.406   pjsua_core.c  SIP UDP socket reachable at ::1:5060
>  13:40:56.406  udpv600D29340  SIP UDP IPv6 transport started, published
> address is [::1]:5060
>  13:40:56.406    pjsua_acc.c  Account <sip:[::1]:5060> added with id 0
>  13:40:56.406    pjsua_acc.c  Account sip:klaus.darilion@[sip.labs.nic.at]
> added with id 1
>  13:40:56.406    pjsua_acc.c  Unable to generate suitable Contact header
> for registration: Unsupported transport (PJSIP_EUNSUPTRANSPORT)
> [status=171060]
>  13:40:56.406    pjsua_acc.c  Unable to create registration: Unsupported
> transport (PJSIP_EUNSUPTRANSPORT) [status=171060]
>
>
I tried this and it seems to work:

 $ pjsua --ipv6 --id sip:user at test.lab --registrar sip:test.lab --proxy
sip:[::1]

But you're right, we don't support IPv6 host resolution, so target URIs must
all be IPv6 address or outbound proxy with IPv6 should be used.


> The error in my application (QjSimple):
> 13:42:18.078  pjsua_media.c  RTCP socket reachable at 10.10.0.198:4007
> 13:42:18.078    pjsua_acc.c  Account sip:klaus.darilion at sip.labs.nic.at<sip%3Aklaus.darilion at sip.labs.nic.at>added with id 0
> 13:42:18.078      sip_reg.c  Invalid Contact URI: "<sip:klaus.darilion@
> ::1:1190>"
> 13:42:18.078    pjsua_acc.c  Client registration initialization error:
> Invalid URI (PJSIP_EINVALIDURI) [status=171039]
> 13:42:18.078    pjsua_acc.c  Unable to create registration: Invalid URI
> (PJSIP_EINVALIDURI) [status=171039]
>
>
Are you constructing your Contact URI yourself? It lacks the square bracket.

cheers
 Benny



>
> thanks
> Klaus
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090703/87587389/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux