[OpenSIPS-Users] Registration permissions per username

Alexey Kazantsev kurgan-rus at inbox.ru
Tue Jul 2 05:10:52 EDT 2019


Being more accurate, it's worth mentioning the following:


* SIP-accounts:
--------------------------------------------
lexus at alexeyka.zantsev.com
lexus2 at alexeyka.zantsev.com
lexus3 at alexeyka.zantsev.com

* register.deny file contents:
--------------------------------------------
ALL : ALL
 
* register.allow file contents:
--------------------------------------------
# works and allows both lexus and lexus2 to REGISTER
"^sip:lexus[23]?@alexeyka.zantsev.com" : ALL
# DOESN'T work, though the regexp seems to be correct
"^sip:lexus[\d]?@alexeyka.zantsev.com" : ALL
 

-----------------------------------------------
BR, Alexey
http://alexeyka.zantsev.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190702/e5f8d3f4/attachment.html>


More information about the Users mailing list