[SR-Users] restrict calls to only registered users

Daniel-Constantin Mierla miconda at gmail.com
Mon Jun 17 08:50:28 CEST 2019


Hello,

see registered() function from registrar module, something like:

if (registered("location", "$fu")) {

   # caller is registered ...

}

Cheers,
Daniel

On 17.06.19 08:27, Gaurav Bmotra wrote:
>
> hi 
> i m using kamailio 5.1  , with UBUNTU 18.1
> i want to restrict call to only registered user ,,, plz help me  
> thank you 
> -- 
>
>
>
>
>
>
>
>
> *Regards:*
> Gaurav Kumar
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190617/296b5240/attachment.html>


More information about the sr-users mailing list