<html><body><div style="font-family: lucida console,sans-serif; font-size: 12pt; color: #000000"><div>Hello Everyone,<br></div><div>I am trying set hash table for geoip and put countries code which is not a customers. Currently I have working as static for single country code.<br></div><div><br></div><div>#!ifdef WITH_GEOIP<br>route[GEOIP]<br>   geoip_match("$si", "src");<br>   if($gip(src=>cc)=="TH") {<br>     xlog("SIP message not from allowed customer (ip: $si) - drop it\n");<br>     send_reply("403", "Forbidden");<br>     exit;<br>}<br>#!endif<br></div><div><br></div><div>I though replace single value on restricted countries with</div><div><br></div><div>modparam("htable", "geoip", "country_code=>TH;")</div><div><div>modparam("htable", "geoip", "country_code=>IN;")</div><div><br></div></div><div> if($gip(src=>cc)=="$sht(geoip=>country_code)"); <br></div><div><br></div><div>but not sure if it good approach or which way to go. Any help thank you.<br></div><div><br></div><div>Slava.<br></div></div></body></html>