<div>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.<br><div class="gmail_quote"><div>On Sun, 18 Dec 2016 at 5:27 AM David Villasmil <<a href="mailto:david.villasmil.work@gmail.com">david.villasmil.work@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="white-space:pre-wrap" class="gmail_msg">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. <br class="gmail_msg">That would work.</div><div style="white-space:pre-wrap" class="gmail_msg"><br class="gmail_msg"><br class="gmail_msg">David</div><br><br>_______________________________________________<br class="gmail_msg"><br>SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br class="gmail_msg"><br><a href="mailto:sr-users@lists.sip-router.org" class="gmail_msg" target="_blank">sr-users@lists.sip-router.org</a><br class="gmail_msg"><br><a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br class="gmail_msg"><br></blockquote></div></div>