[SR-Users] permissions module, regular expression matching Request URI

E. Schmidbauer eschmidbauer at gmail.com
Thu May 7 16:21:41 CEST 2015


Hello,
I've submitted the pull request. Please review and let me know, thank you.
Emmanuel

On Wed, May 6, 2015 at 5:57 PM, Daniel-Constantin Mierla <miconda at gmail.com>
wrote:

>  Hello,
>
> can you create a pull request to github project:
>
>   - https://github.com/kamailio/kamailio
>
> It will make the review process easier as we can add comments to the
> patch, if needed.
>
> If all ok, the patch will be merged once the development is unfrozen --
> now we are in the testing period for next major release 4.3.
>
> Cheers,
> Daniel
>
>
> On 06/05/15 22:11, E. Schmidbauer wrote:
>
> Hello,
> I have written a patch to add checking for the Request-URI.
> Please see attached diff.
> I hope you consider pushing this code upstream.
> Thanks,
> Emmanuel
>
> On Wed, May 6, 2015 at 12:14 PM, Vik Killa <vipkilla at gmail.com> wrote:
>
>> Hello,
>> We would like to match specific calls based on two factors:
>> 1. the source IP address
>> 2. the Request URI
>>
>>  I see in the permissions module, it is possible to match based on the
>> Source IP + the From URI.
>> We need two match both in order to return the appropriate 'tag' attribute
>> from table.
>>
>>  Would anyone know of a way to accomplish this?
>>
>>
>>  Also, I noticed that matching source IP + from uri, you cannot control
>> which result is returned by permissions module based on regular expression.
>> In other words if more than one match is made, permissions module seems
>> to return the first result.
>>
>>  Thank you and I look forward to your response.
>>  V
>>
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing listsr-users at lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
> --
> Daniel-Constantin Mierlahttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
> Kamailio World Conference, May 27-29, 2015
> Berlin, Germany - http://www.kamailioworld.com
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150507/32bf8f5a/attachment.html>


More information about the sr-users mailing list