<html><head></head><body><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div>Thanks Liviu, I have submitted a bu<span></span>g request<br></div>
<div><br></div><div><br></div>
<div id="yahoo_quoted_2959194294" class="yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
On Wednesday, April 4, 2018, 4:07:45 PM GMT+5:30, Liviu Chircu <liviu@opensips.org> wrote:
</div>
<div><br></div>
<div><br></div>
<div><div id="yiv4484310409"><div>
<p><tt>Hi Pasan,</tt></p>
<p><tt>Yes, if you could move it over to GitHub [1], that would be
great. Thanks!<br clear="none">
</tt></p>
<p><tt>[1]: <a rel="nofollow" shape="rect" class="yiv4484310409moz-txt-link-freetext" target="_blank" href="https://github.com/OpenSIPS/opensips/issues">https://github.com/OpenSIPS/opensips/issues</a></tt><br clear="none">
</p>
<pre class="yiv4484310409moz-signature">Liviu Chircu
OpenSIPS Developer
<a rel="nofollow" shape="rect" class="yiv4484310409moz-txt-link-freetext" target="_blank" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="yiv4484310409yqt7939372314" id="yiv4484310409yqt36361"><div class="yiv4484310409moz-cite-prefix">On 04.04.2018 13:29, Pasan Meemaduma
via Users wrote:<br clear="none">
</div>
<blockquote type="cite">
<div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;">
<div>Hi Guys,</div>
<div><br clear="none">
</div>
<div>Should I open up a bug request for this ?<br clear="none">
</div>
<div><br clear="none">
</div>
<div><br clear="none">
</div>
<div class="yiv4484310409yahoo_quoted" id="yiv4484310409yahoo_quoted_2903066138">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div> On Tuesday, April 3, 2018, 2:33:34 PM GMT+5:30, Pasan
Meemaduma via Users <a rel="nofollow" shape="rect" class="yiv4484310409moz-txt-link-rfc2396E" ymailto="mailto:users@lists.opensips.org" target="_blank" href="mailto:users@lists.opensips.org"><users@lists.opensips.org></a>
wrote: </div>
<div><br clear="none">
</div>
<div><br clear="none">
</div>
<div>
<div id="yiv4484310409">
<div>
<div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;">
<div>Hi Guys,</div>
<div><br clear="none">
</div>
<div>I'm testing ipv6 on opensips 2.3. and I'm using
the following script function to findout if the
requesting ip is already registered with that ip.</div>
<div>But the function is failing with following
error message.</div>
<div><br clear="none">
</div>
<div>script function call</div>
<div><span>is_ip_registered("location","$var(aor)","$si"));</span></div>
<div><span><br clear="none">
</span><br clear="none">
</div>
<div>error message from logs.<br clear="none">
</div>
<div><span><br clear="none">
</span></div>
<div><span>ERROR:permissions:check_addr_6: invalid
ip set <24xx:xxx:0:1:x000:0:0:2></span></div>
<div><br clear="none">
</div>
<div>There's an AOR already with that IP</div>
<div><br clear="none">
</div>
<div><span>0 [ 3/04 18:53:29] root@:/root>>
opensipsctl ul show<br clear="none">
Domain:: location table=512 records=1<br clear="none">
AOR:: 0xxxx<br clear="none">
Contact:: sip: <span><span>0xxxx</span></span>@[24xx:xxx:0:1:x000::2];line=180c0d2da1b3e81
Q=<br clear="none">
ContactID::
3275524303981917232<br clear="none">
Expires:: 3495<br clear="none">
Callid:: 490179714<br clear="none">
Cseq:: 2<br clear="none">
User-agent::
Linphone/3.6.1 (eXosip2/4.1.0)<br clear="none">
Received::
sip:[2400:xxx:0:1:x000:0:0:2]:5060<br clear="none">
State:: CS_SYNC<br clear="none">
Flags:: 0<br clear="none">
Cflags:: PING NAT<br clear="none">
Socket::
udp:[24xx:xx0:1D:F0:0:0:1:88]:5060<br clear="none">
Methods:: 4294967295<br clear="none">
<br clear="none">
</span></div>
<div>It appears to be failing at <span>/modules/permissions/address.c
line 517 . looks like <span><span class="yiv4484310409ydp2c2d2970pl-c1">str2ip</span></span>
in line 515 doesn't return a valid ip.</span><br clear="none">
</div>
</div>
</div>
</div>
_______________________________________________<br clear="none">
Users mailing list<br clear="none">
<a rel="nofollow" shape="rect" ymailto="mailto:Users@lists.opensips.org" target="_blank" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br clear="none">
</div>
</div>
</div>
</div>
<br clear="none">
<fieldset class="yiv4484310409mimeAttachmentHeader"></fieldset>
<br clear="none">
<pre>_______________________________________________
Users mailing list
<a rel="nofollow" shape="rect" class="yiv4484310409moz-txt-link-abbreviated" ymailto="mailto:Users@lists.opensips.org" target="_blank" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a rel="nofollow" shape="rect" class="yiv4484310409moz-txt-link-freetext" target="_blank" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote></div>
<br clear="none">
</div></div><div class="yqt7939372314" id="yqt92387">_______________________________________________<br clear="none">Users mailing list<br clear="none"><a shape="rect" ymailto="mailto:Users@lists.opensips.org" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br clear="none"><a shape="rect" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br clear="none"></div></div>
</div>
</div></div></body></html>