ipv6 problems with pjproject 1.3

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

 



On Fri, Jul 3, 2009 at 9:19 AM, Klaus Darilion <klaus.mailinglists at pernau.at
> wrote:

> Hi Benny!
>
>    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 <http://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]
>>
>
> You are setting your loopback IP address as outbound proxy? Is this a
> generic solution or does this work only if there is really a proxy listening
> on the loopback device?
>

No no, that's just a sample, since I don't have proxies listening no IPv6 at
the moment. I just used that to test that pjsua can send outgoing REGISTER
request, which seems to be the problem that you're reporting.


>  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.
>>
>
> Please consider this as a feature request.
>
>
Noted (though if it's easy we'll have this by now. ;-)


   The error in my application (QjSimple):
>>    13:42:18.078  pjsua_media.c  RTCP socket reachable at
>>    10.10.0.198:4007 <http://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>
>>    <mailto:sip%3Aklaus.darilion at sip.labs.nic.at<sip%253Aklaus.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.
>>
>
> No. I only use the pjsua API and everything is done inside pjsualib
>
>
Dunno, maybe some settings are missing? In 1.3 there's new --ipv6 option in
pjsua, you can track what this option do when it comes to enabling IPv6.

cheers
 Benny




> regards
>
> 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/9b6b5973/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