[sr-dev] Permission module and field where to apply the regex for trusted function

E. Schmidbauer eschmidbauer at gmail.com
Sun Jun 28 19:59:45 CEST 2015


Hello,
This functionality has recently been pushed to the master branch.
http://kamailio.org/docs/modules/devel/modules/permissions#permissions.p.ruri_col

I authorized this new functionality, please let me know if you have any
questions regarding it.
Thanks,
Emmanuel

On Fri, Jun 26, 2015 at 9:02 AM, Alessio Casco <alessio.casco at nexmo.com>
wrote:

> Hello
>
> We use the permission module on kamailio 4.2.5. with the
>  "allow_trusted()" function, to check if a customer has to be whitelisted
> or not.
> With the "tag_col" we define the user that is linked to the specific
> matching IP.
>
> Now we have the problem that a specific IP could be liked to multiple
> accounts, so the tech prefix is what we thought to use in order to fix this
> without involving others files or modules.
>
> Permission module, only allows to apply the regex against the from header,
> and we'd like to do this against the request URI instead.
>
> We have patched the permission module locally in order to have the
> possibility to chose witch field kamailio has to consider (From, or request
> URI).
> Before sending a pull request, we'd like to know from you if this change
> is something you may want to take in consideration.
>
> Thanks
> Nexmo Team
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20150628/502dc49d/attachment.html>


More information about the sr-dev mailing list