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