<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi, is there any way on freeswitch to forbid registration (or any connection) from certain regions in the world ? .. <br>what i need to accomplish is to prevent people from connecting from my same country as we have a voip service<br>that is supposed to be accessed only when you are out of the country so i need to validate the UA's ip when registering.<br>I can not use a router or FW or any other thing in front of the freeswitch because the same freeswitch also serves <br>other services that do not have this restriction. This restriction only affects users in one profile only. <br>I m aware that i could capture the registrations using a lua script and i guess from there i could consult<br>a GeoIP database etc etc but that affects all profiles and not only this particular profile of this particular service<br>and that could be a performance hit for the service as a whole so i would like to avoid that.<br><br>thank you!<br>                                            </div></body>
</html>