<div dir="auto">thanks for the quck response and patch Daniel!<div dir="auto"><br></div><div dir="auto">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.</div><div dir="auto"><br></div><div dir="auto">should do the job i guess :-)</div><br><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">El dt., 9 de jul. 2019, 09:41, Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>> va escriure:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div 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="m_1885480698478932764moz-txt-link-freetext" href="https://github.com/kamailio/kamailio/commit/94e9d47d2d2da82be23f1bae8cd6491c758a384c" target="_blank" rel="noreferrer">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="m_1885480698478932764moz-cite-prefix">On 08.07.19 14:34, Albert Petit wrote:<br>
    </div>
    <blockquote type="cite">
      
      <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" target="_blank" rel="noreferrer">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="m_1885480698478932764moz-txt-link-freetext" rel="noreferrer">sip:mcpttcontrolling@</a>[2001:470:1f21:219:20c:29ff:fedb:db6e]:5070</div>
        </div>
        <div>error: invalid SIP URI:
          <a class="m_1885480698478932764moz-txt-link-freetext" rel="noreferrer">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="m_1885480698478932764mimeAttachmentHeader"></fieldset>
      <pre class="m_1885480698478932764moz-quote-pre">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="m_1885480698478932764moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" target="_blank" rel="noreferrer">sr-users@lists.kamailio.org</a>
<a class="m_1885480698478932764moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank" rel="noreferrer">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <pre class="m_1885480698478932764moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="m_1885480698478932764moz-txt-link-abbreviated" href="http://www.asipto.com" target="_blank" rel="noreferrer">www.asipto.com</a>
<a class="m_1885480698478932764moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" target="_blank" rel="noreferrer">www.twitter.com/miconda</a> -- <a class="m_1885480698478932764moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" target="_blank" rel="noreferrer">www.linkedin.com/in/miconda<br></a></pre>
  </div>

</blockquote></div></div>