[SR-Users] Limiting calls based on CLI and dst number

Cibin Paul paul_cibin at me.com
Mon Dec 19 05:49:28 CET 2016


Hi, 

Thank you for all your suggestions. I tried the code in route[RELAY] and is working as expected. Need to do couple of tests and will move to production.

Regards
Cibin






> On 18-Dec-2016, at 12:14 PM, Aqs Younas <aqsyounas at gmail.com> wrote:
> 
> in this case you have to manually take care of in dialog requests and when the call terminate so you can unset the variable. Dailog with profiling is the better way to go.
> On Sun, 18 Dec 2016 at 5:27 AM David Villasmil <david.villasmil.work at gmail.com <mailto:david.villasmil.work at gmail.com>> wrote:
> Just thinking out loud, if you use memcached maybe simply storing a variable with the username and checking whether it is set before allowing a call from that user. 
> That would work.
> 
> 
> David
> 
> 
> _______________________________________________
> 
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> 
> sr-users at lists.sip-router.org <mailto:sr-users at lists.sip-router.org>
> 
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users <http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users>
> 
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20161219/39851a57/attachment.html>


More information about the sr-users mailing list