[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openser-devel
Subject:    Re: [sr-dev] Permission module and field where to apply the regex for trusted function
From:       "E. Schmidbauer" <eschmidbauer () gmail ! com>
Date:       2015-06-28 17:59:45
Message-ID: CAJwe+CAGks8QBOOTuJ__H7nME_3aWp4Y6ibjg1k3eas3W=3qCQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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@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@lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>
>

[Attachment #5 (text/html)]

<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_co \
l">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">&lt;<a href="mailto:alessio.casco@nexmo.com" \
target="_blank">alessio.casco@nexmo.com</a>&gt;</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   &quot;allow_trusted()&quot; function, to check \
if a customer has to be whitelisted or not.</div><div>With the &quot;tag_col&quot; 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&#39;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&#39;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>



_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic