[OpenSIPS-Users] find authenticated user info in script

Bogdan-Andrei Iancu bogdan at opensips.org
Thu May 7 18:48:31 CEST 2015


Hi Satish,

If you want to check if the caller is registered or not, use the 
registered() function:
http://www.opensips.org/html/docs/modules/2.1.x/registrar.html#id294613

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 02.05.2015 00:12, Satish Patel wrote:
> 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?
>
> 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
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150507/a555d98a/attachment.htm>


More information about the Users mailing list