Problem adding IPv6 account for pjsua

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

 



Hi Benny, 
Thanks for your wonderful work on implementing the IPv6. lots of people will benefit from it.
Similarly, I found that the reason cause the unregistration upon registration of IPv6 account. I think most probably program in the file pjsua_acc.c try to update the IPv6 address to the form '2001:123:abc:0:0:0:0:12' instead of '2001:123:abc::12'. Hence, it unregister the account with double colon and try to register the a new account with the first address. However, the first type of address seems like invalid, therefore the error message come out and no more account registed. 

But anyway, I think that is the bug you had solved. :)
Thanks a lot for your help, you are a great man.

Sincerely,
ws 




________________________________
From: Benny Prijono <bennylp@xxxxxxxxx>
To: pjsip list <pjsip at lists.pjsip.org>
Sent: Monday, April 6, 2009 5:57:02 PM
Subject: Re: Problem adding IPv6 account for pjsua

Hi Soh,

sorry for the late reply. I know you've been struggling with IPv6, and I have to admit that I did not test it much, apart from few tests at SIPit (which worked okay, hence I thought it should be okay, but obviously it wasn't).

That was a bug in pjsua-lib "registration Contact fix", and I just fixed that in the latest SVN trunk. Also I've added IPv6 support in pjsua so that IPv6 could be tested more easily. 

If you get the latest SVN trunk, there are two new command line options in pjsua: --ipv6 and --bound-addr. I've updated pjsua manual, please see the descriptions for these options under pjsua Transport Options section: http://www.pjsip.org/pjsua.htm#opt_transport

I've also put some sample commands to use IPv6 in that manual: http://www.pjsip.org/pjsua.htm#ipv6

I hope that fixed it. Please don't hesitate to report any more problems that you might find.

thanks
 Benny



On Thu, Mar 26, 2009 at 3:08 PM, Soh Wei Sin <wssoh85 at yahoo.com> wrote:

Hi all,
I had a problem when trying to add in IPv6 account to the pjsua. I had change the 

PJSIP_TRANSPORT_UDP to PJSIP_TRANSPORT_UDP6 and PJSIP_TRANSPORT_TCP to PJSIP_TRANSPORT_TCP6 in pjsua_apps.c file.

It allow the registration, but it will unregister the account immediately.The error as below:
11:52:26.376    pjsua_acc.c  Unregistration sent
11:52:26.376      sip_reg.c  Invalid Contact URI: "<sip:ims at 2001:DB8:121:0:0:0:0:3:6060;transport=UDP>"
 11:52:26.376    pjsua_acc.c  Client registration initialization error: Invalid URI (PJSIP_EINVALIDURI) [status=171039]
 11:52:26.376    pjsua_acc.c  Unable to create registration: Invalid URI (PJSIP_EINVALIDURI) [status=171039]

Why can this happen? The attached file is the log file for the error.

Thanks,

Sincerely,
ws


_______________________________________________
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/20090406/5543c0f3/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