<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>txs Daniel,&nbsp; but unfortunately upgrading to the new version is not an option at this time.<br><br><font size="3"><span style="font-family: monospace;">I am kind of confused now with trying to use Dispatcher or LCR to filter the inbound request, although they provide with functions to check the origination IP</span><code class="function"> I thought that their use was mainly to know where to route the calls to.<br>For LCR module, how would it work for filtering by IP? I thought that the GWs on the GW table are used to send calls to.<br>Can you please provide more info on this?<br><br>jp<br></code></font></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><font size="2"
 face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Daniel-Constantin Mierla &lt;miconda@gmail.com&gt;<br><b><span style="font-weight: bold;">To:</span></b> Juan Perez &lt;jperezsip2008@yahoo.com&gt;<br><b><span style="font-weight: bold;">Cc:</span></b> users@lists.kamailio.org<br><b><span style="font-weight: bold;">Sent:</span></b> Friday, March 6, 2009 4:58:00 AM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [Kamailio-Users] controlling inbound calls<br></font><br>
<br><br>On 03/05/2009 11:35 PM, Juan Perez wrote:<br>&gt; hello guys&nbsp;  <br>&gt; I need to control by IP,port,R-URI who can send calls to our proxy. Looking thru the doc I saw only 1 module that I can use, PERMISSIONS with either<br>permissions allow you to filter by ip and port. For R-URI limitations you can use avps (see avpops).<br><br>There are other module that can check the source address, like lcr, dispatcher. Also userblacklist module might be helpful here.<br><br>&gt; <br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; Trusted Requests or&nbsp; Address Permissions modes enabled..<br>&gt; <br>&gt; Is this the only method or am I missing something?<br>&gt; this is for kamailio 1.4.3_no_tls<br><br>With 1.5.o which was just released:<br><a href="http://www.kamailio.org/mos/view/Kamailio-OpenSER-v1.5.0-Release-Notes" target="_blank">http://www.kamailio.org/mos/view/Kamailio-OpenSER-v1.5.0-Release-Notes</a><br><br>you can build won logic using htable and/or
 sqlops modules.<br><a href="http://kamailio.org/docs/modules/1.5.x/" target="_blank">http://kamailio.org/docs/modules/1.5.x/</a><br><br>Cheers,<br>Daniel<br><br>-- Daniel-Constantin Mierla<br><a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a><br><br></div></div></div><br>

      </body></html>