<div dir="ltr">Hello,<div>This functionality has recently been pushed to the master branch.</div><div><a href="http://kamailio.org/docs/modules/devel/modules/permissions#permissions.p.ruri_col">http://kamailio.org/docs/modules/devel/modules/permissions#permissions.p.ruri_col</a><br></div><div><br></div><div>I authorized this new functionality, please let me know if you have any questions regarding it.</div><div>Thanks,</div><div>Emmanuel</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 26, 2015 at 9:02 AM, Alessio Casco <span dir="ltr"><<a href="mailto:alessio.casco@nexmo.com" target="_blank">alessio.casco@nexmo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello<div><br></div><div>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.</div><div>With the "tag_col" we define the user that is linked to the specific matching IP. <br></div><div><br></div><div>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.</div><div><br></div><div>Permission module, only allows to apply the regex against the from header, and we'd like to do this against the request URI instead.</div><div><br></div><div>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).<br></div><div>Before sending a pull request, we'd like to know from you if this change is something you may want to take in consideration.<br></div><div><br></div><div>Thanks</div><div>Nexmo Team</div></div>
<br>_______________________________________________<br>
sr-dev mailing list<br>
<a href="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev" rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a><br>
<br></blockquote></div><br></div>