Hi list,<br>        I&#39;ve been trying to get Kamailio using the geoip module to deny traffic from countries not matching certain sources, but I&#39;m unsure of how to achieve this I&#39;ve tried the below which failed. I&#39;m trying to drop requests outside say 2 countries &quot;AA&quot; or &quot;BB&quot;   <br>
<br>       geoip_match(&quot;$si&quot;, &quot;src&quot;);<br>               if($gip(src=&gt;cc)!=&quot;AA&quot; || $gip(src=&gt;cc)!=&quot;BB&quot;) {<br>                       xlog(&quot;L_INFO&quot;,&quot;SIP message from prohibited source $gip(src=&gt;cc) (ip: $si)\n&quot;);<br>
                       send_reply(&quot;403&quot;, &quot;Forbidden&quot;);<br>                       exit; <br>               } else {<br>                       xlog(&quot;L_INFO&quot;,&quot;SIP message from unprohibited source $gip(src=&gt;cc) (ip: $si)\n&quot;);<br>
       }<br>  <br>Can you tell me where I am wrong or how I can achieve this<br><br>Thanks in advance<br>Ian<br>