<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello,</p>
<p>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:</p>
<p> -
<a class="moz-txt-link-freetext" href="https://github.com/kamailio/kamailio/commit/94e9d47d2d2da82be23f1bae8cd6491c758a384c">https://github.com/kamailio/kamailio/commit/94e9d47d2d2da82be23f1bae8cd6491c758a384c</a></p>
<p>Now it is in master, it will be backported to stable branches
soon.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<div class="moz-cite-prefix">On 08.07.19 14:34, Albert Petit wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CADmx02mV00Z08Q7WHFVzeWH5aG_5Qu8CzZ83OvU5JjZ3U8P13Q@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr"><br clear="all">
<div>Hi,</div>
<div>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</div>
<div>kamctl ul add mcpttcontrolling <a
href="http://sip:mcpttcontrolling@127.0.0.1:5070"
moz-do-not-send="true">sip:mcpttcontrolling@127.0.0.1:5070</a></div>
<div>it is OK</div>
<div><br>
</div>
<div>However when i do that using an IPv6 address i get
following error:</div>
<div>
<div>kamctl ul add mcpttcontrolling
<a class="moz-txt-link-freetext" href="sip:mcpttcontrolling@">sip:mcpttcontrolling@</a>[2001:470:1f21:219:20c:29ff:fedb:db6e]:5070</div>
</div>
<div>error: invalid SIP URI:
<a class="moz-txt-link-freetext" href="sip:mcpttcontrolling@">sip:mcpttcontrolling@</a>[2001:470:1f21:219:20c:29ff:fedb:db6e]:5070<br>
</div>
<div><br>
</div>
<div>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<br>
</div>
<div><br>
Thanks<br>
Albert</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a></pre>
</body>
</html>