[SR-Users] Registrar module and ipv6 addresses

Daniel-Constantin Mierla miconda at gmail.com
Mon Feb 9 14:41:20 CET 2015


On 03/02/15 18:58, Olle E. Johansson wrote:
> On 03 Feb 2015, at 18:17, Sergey Okhapkin <sos at sokhapkin.dyndns.org> wrote:
>
>> Registrar module save() function stores "received" field in wrong format like
>>
>> sip:2601:3:8805:107:41E6:C7A1:7724:CF01:5062
> This is an invalid URI.
> The URI needs to have [ and ] surrounding the IPv6 address.
fix_nated_register() which sets the receivied field is adding [ ] around
ipv6 addresses, as I could spot from the code.

Cheers,
Daniel

>
> Please open a bug report.
>
> /O
>> When lookup() config function is executed for ipv6 client, kamailio log shows 
>> error
>>
>>
>> Feb  3 12:07:34 east /usr/local/sbin/kamailio[16069]: ERROR: tm [ut.h:254]: 
>> uri2dst2(): ERROR: uri2dst: bad_uri: sip:2601:3:8
>> 805:107:41E6:C7A1:7724:CF01:5062
>> Feb  3 12:07:34 east /usr/local/sbin/kamailio[16069]: ERROR: tm 
>> [t_fwd.c:1709]: t_forward_nonack(): ERROR: t_forward_nonack: 
>> failure to add branches
>>
>> Is it kamailio bug or a problem with my config?
>>
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - http://www.kamailioworld.com




More information about the sr-users mailing list