<div dir="ltr">Hello,<div>I have written a patch to add checking for the Request-URI.</div><div>Please see attached diff. <br>I hope you consider pushing this code upstream.</div><div>Thanks,</div><div>Emmanuel</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 6, 2015 at 12:14 PM, Vik Killa <span dir="ltr"><<a href="mailto:vipkilla@gmail.com" target="_blank">vipkilla@gmail.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>We would like to match specific calls based on two factors:</div><div>1. the source IP address</div><div>2. the Request URI</div><div><br></div><div>I see in the permissions module, it is possible to match based on the Source IP + the From URI.</div><div>We need two match both in order to return the appropriate 'tag' attribute from table.</div><div><br></div><div>Would anyone know of a way to accomplish this?<br><br></div><div><br></div><div>Also, I noticed that matching source IP + from uri, you cannot control which result is returned by permissions module based on regular expression.</div><div>In other words if more than one match is made, permissions module seems to return the first result.</div><div><br></div><div>Thank you and I look forward to your response.</div><span class="HOEnZb"><font color="#888888"><div>V</div></font></span></div>
<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br></div>