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/37646952/attachment.html>