<font><span style="font-family:times new roman,serif">Hey List,<br> I'm looking at an article by Daniel, <br><br><a href="http://by-miconda.blogspot.ie/2010/10/best-of-new-in-kamailio-310-5-geoip-api.htm">http://by-miconda.blogspot.ie/2010/10/best-of-new-in-kamailio-310-5-geoip-api.htm</a><font>l. </font></span></font><br>
<font><span style="font-family:times new roman,serif"><font><font><span style="font-family:times new roman,serif">In it he's uses the below to block source IP addresses by country,<font> H<font>ow could <font>this be used to <font>block multiple cou<font>ntry sources?? I've <font>tried a couple of things aleardy bu<font>t have failed</font></font></font></font></font></font></font></span></font><br>
</font></span></font><br><pre><font><span style="font-family:times new roman,serif">geoip_match("$si", "src");<br>if($gip(src=>cc)=="CA") {<br> xlog("SIP message from Canada (ip: $si) - drop it\n");<br>
send_reply("403", "Forbidden");<br> exit;<br>}</span></font></pre><font><span style="font-family:times new roman,serif"><br>Tha<font>nks in<font> advance<br><font>Ian</font></font></font></span></font><br>
<pre><font><span style="font-family:times new roman,serif"><br></span></font></pre><br>