[SR-Users] Unable to load IPv6 locations

Daniel-Constantin Mierla miconda at gmail.com
Fri Sep 3 10:18:03 CEST 2010


  Hello,

looks like I forgot to backport a patch committed several month ago -- I 
just did it. Please take the last git branch kamailio_3.0. Unfotunately 
you have to delete the broken records from location table by hand (with 
mysql client or so).

Thanks,
Daniel

On 9/2/10 10:56 PM, Mikko Lehto wrote:
> Hi
>
> I am doing simple registration test with IPv6 enabled SIP phone.
> It seems that Kamailio is unable to load back registrations done via v6 socket
> after restart.
>
> Here is (some) content of location table before starting proxy:
> ---
> mysql>  select username,contact,socket from location;
> +----------+-----------------------------------------------+---------------------------------+
> | username | contact                                       | socket
> +----------+-----------------------------------------------+---------------------------------+
> | ml6      | sip:ml6@[2a00:17b8::55]:5060;line=z79d766z    | udp:2A00:17B8:0:0:0:0:0:67:5060 |
> | ml4      | sip:ml4 at 89.18.234.88:5060;line=dp77j5yo       | udp:89.18.243.167:5060          |
> ---
>
> Here are the error messages during startup:
> ---
> 1(26374) DEBUG: usrloc [udomain.c:415]: loading records - cycle [1]
> 1(26374) ERROR:<core>  [main.c:1116]: ERROR: parse_phostport: too many colons in udp:2A00:17B8:0:0:0:0:0:67:5060
> 1(26374) ERROR: usrloc [udomain.c:314]: bad socket<udp:2A00:17B8:0:0:0:0:0:67:5060>
> 1(26374) ERROR: usrloc [udomain.c:430]: sipping record for ml6 in table location
> ---
>
> Here are the listen statements from config:
> ---
> listen=udp:[2a00:17b8::67]:5060
> listen=udp:89.18.243.167:5060
> ---
>
> DB is MySQL 5.1, OS is Debian Squeeze.
> Kamailio version is 3.0.3 and it is from kamailio.org APT repository.
>
> At least I just found a typo (sipping), but did I also found a bug?
>

-- 
Daniel-Constantin Mierla
http://www.asipto.com




More information about the sr-users mailing list