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

Daniel-Constantin Mierla miconda at gmail.com
Tue Jul 9 09:41:38 CEST 2019


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:


Now it is in master, it will be backported to stable branches soon.


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
> <http://sip:mcpttcontrolling@>
> 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 List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Daniel-Constantin Mierla -- www.asipto.com
www.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/ad6a71c4/attachment.html>

More information about the sr-users mailing list