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@127.0.0.1:5070
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@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