[SR-Users] Regular exepression issue in permissions module

Paulo Ferreira paulo.ferreira at fccn.pt
Fri Feb 9 12:25:50 CET 2018


Hi list,
I'm testing permissions module with kamailio 5.1.1 and I was struggling
with regular expressions in trusted requests part of module.

I noticed that 9[0-9]{4} doesn't work as expected so I had to change it
for 9[0-9][0-9][0-9][0-9] to work.

Is it supposed to be like that? 

Is there other way in this module to simplify the expression since it
is not accepting the POSIX way?

Thanks,
Paulo

-- 
-------------------------------------------
Paulo Ferreira
VoIP at RCTS - Área de Infraestruturas Aplicacionaisz
FCCN
http://www.fccn.pt/
Av. do Brasil, n.º 101
1700-066 Lisboa - Portugal
Telefone|Phone: +351 218440100; Fax: +351 218472167

 
Aviso de Confidencialidade/Disclaimer
Esta mensagem é exclusivamente destinada ao seu destinatário, podendo
conter informação CONFIDENCIAL, cuja divulgação está expressamente
vedada nos termos da lei. Caso tenha rececionado indevidamente esta
mensagem,solicitamos-lhe que nos comunique esse mesmo facto por esta
via ou para o telefone +351 218440100 devendo apagar o seu conteúdo de
imediato. This message is intended exclusively for its addressee. It
may contain CONFIDENTIAL information protected by law. If this message
has been received by error, please notify us via e-mail or by telephone
+351 218440100 and delete it immediately.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: This is a digitally signed message part
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180209/fbd3d82e/attachment.sig>


More information about the sr-users mailing list