<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>I saw that function, but I do not see the relation between the origination IP and any other parameter that you would configure on the module itself.<br><br>The idea is to have a table with a list of IPs and R-URIs to receive. If a request comes from an authorized IP and the R-URI matches any of those assigned to that IP then we accept the call. If a call comes from an IP not found in the table then we reject the call.<br>Something like that is what I would like to implement, I think the PERMISSIONS module allows that fucntionality but I would like to kow whethere there is another method for my version 1.4.3<br>txs a lot<br>jp<br><br><br><br></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> Juha Heinanen &lt;jh@tutpro.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> Daniel-Constantin Mierla &lt;miconda@gmail.com&gt;; users@lists.kamailio.org<br><b><span style="font-weight: bold;">Sent:</span></b> Friday, March 6, 2009 3:34:19 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [Kamailio-Users] controlling inbound calls<br></font><br>
Juan Perez writes:<br><br> &gt; I am kind of confused now with trying to use Dispatcher or LCR to<br> &gt; filter the inbound request, although they provide with functions to<br> &gt; check the origination IPI thought that their use was mainly to know<br> &gt; where to route the calls to.<br><br> &gt; For LCR module, how would it work for filtering by IP? I thought that<br> &gt; the GWs on the GW table are used to send calls to.<br><br>lcr module has from_gw function that can be used to check if request came<br>from a gw.&nbsp; if you want to general purpose filtering, then permissions<br>module might better better idea.<br><br>-- juha<br></div></div></div><br>

      </body></html>