[SR-Users] kamctl ul command seems NOK when using an IPv6 Address

Albert Petit albert.petit at genaker.net
Tue Jul 9 21:54:25 CEST 2019

thanks for the quck response and patch Daniel!

meanwhile we apply this fix I will try just using a hostname (with dot,
for eg mcptt.as.ip) and add its mcptt.as.ip ipv6 address in /etc/hosts.

should do the job i guess :-)

El dt., 9 de jul. 2019, 09:41, Daniel-Constantin Mierla <miconda at gmail.com>
va escriure:

> Hello,
> there was a regex check on uri and aor, requiring a dot (.) in the domain
> part. Obviously that fails for IPv6. I pushed a commit to relax that check:
>   -
> https://github.com/kamailio/kamailio/commit/94e9d47d2d2da82be23f1bae8cd6491c758a384c
> Now it is in master, it will be backported to stable branches soon.
> Cheers,
> Daniel
> On 08.07.19 14:34, Albert Petit wrote:
> Hi,
> I am trying to create an identity with permanent location in my system
> using kamctl ul add command. Usually i have no issue doing that in IPv4
> ,example
> kamctl ul add mcpttcontrolling sip:mcpttcontrolling at
> it is OK
> However when i do that  using an IPv6  address i get following error:
> kamctl ul add mcpttcontrolling sip:mcpttcontrolling@
> [2001:470:1f21:219:20c:29ff:fedb:db6e]:5070
> error: invalid SIP URI: sip:mcpttcontrolling@
> [2001:470:1f21:219:20c:29ff:fedb:db6e]:5070
> Let me know what you would need to investigate or what i am doing wrong
> for adding a location with IPv6 Address using kamctl tool
> Thanks
> Albert
> _______________________________________________
> Kamailio (SER) - Users Mailing Listsr-users at lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
> --
> Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190709/d93a3963/attachment.html>

More information about the sr-users mailing list