[Freeswitch-users] Filtering UA's IP
Giovanni Maruzzelli
gmaruzz at gmail.com
Sat Sep 26 10:23:25 MSD 2015
You can.put a sip proxy in front of FreeSWITCH. You can also have the proxy
running only on the address-port of the profile you want to protect.
Otoh, for a freeswitch only solution, lua is very much performing, and a
query on indexed table for geoip is not much taxing, and has to be made
anyway (eg, in proxy case too).
sent from my mobile,
Giovanni Maruzzelli
cell: +39 347 266 56 18
On Sep 26, 2015 8:12 AM, "Juan Pablo L." <jpablolorenzetti at hotmail.com>
wrote:
> Hi, is there any way on freeswitch to forbid registration (or any
> connection) from certain regions in the world ? ..
> what i need to accomplish is to prevent people from connecting from my
> same country as we have a voip service
> 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.
> I can not use a router or FW or any other thing in front of the freeswitch
> because the same freeswitch also serves
> other services that do not have this restriction. This restriction only
> affects users in one profile only.
> I m aware that i could capture the registrations using a lua script and i
> guess from there i could consult
> a GeoIP database etc etc but that affects all profiles and not only this
> particular profile of this particular service
> and that could be a performance hit for the service as a whole so i would
> like to avoid that.
>
> thank you!
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150926/15a2fcf4/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list