<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<tt>Hi Satish,<br>
<br>
If you want to check if the caller is registered or not, use the
registered() function:<br>
<a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/2.1.x/registrar.html#id294613">http://www.opensips.org/html/docs/modules/2.1.x/registrar.html#id294613</a><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 02.05.2015 00:12, Satish Patel
wrote:<br>
</div>
<blockquote
cite="mid:CAPgF-foRNRdCXeE3yz8QG-MRTKGa4mTrYCbxbw6vZ508+XSceQ@mail.gmail.com"
type="cite">
<div dir="ltr">I have IP base on Registration base method now in
script somewhere i want to see whether user coming from
registration or IP Auth how do i check user is authenticated by
Registration method?
<div><br>
</div>
<div>User: 1001 can use IP and Registration both method but i
want to find how in script, if user 1001 sending call using
register method then do blah.. something like that </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>