<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi Brian,<br>
<br>
Only the development version (2.2) has such a function,
is_ip_registered() :<br>
<a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/2.2.x/registrar.html#id294953">http://www.opensips.org/html/docs/modules/2.2.x/registrar.html#id294953</a><br>
<br>
Still you should not skip from pike checking the IPs where users
did registered from. They can also do flood (by mistake or on
purpose).<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 09.02.2016 11:41, Brian :: wrote:<br>
</div>
<blockquote
cite="mid:CAAr8QowfsE3XbuGYR3Kv0JCp0SYVUWC4T790yKKX4_QXq97dXg@mail.gmail.com"
type="cite">
<div dir="ltr">Hi List
<div><br>
</div>
<div>When checking incoming requests with pike how would I do a
lookup to see if the IP belongs to a UA in the location table?
ie - is there a function to check if request is from
registered subscriber while using pike?</div>
<div><br>
</div>
<div>Thanks</div>
<div>Brian</div>
<div><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>