<p dir="ltr">If you have no other choice you can always use avp_dp_query to check the contact and received fields in the location table, if you're afraid from too many mysql requests you can cache it with memcache etc</p>
<div class="gmail_quote">On Feb 9, 2016 1:02 PM, "Bogdan-Andrei Iancu" <<a href="mailto:bogdan@opensips.org">bogdan@opensips.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<tt>Hi Brian,<br>
<br>
Only the development version (2.2) has such a function,
is_ip_registered() :<br>
<a href="http://www.opensips.org/html/docs/modules/2.2.x/registrar.html#id294953" target="_blank">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 cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
<div>On 09.02.2016 11:41, Brian :: wrote:<br>
</div>
<blockquote 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></fieldset>
<br>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div>