[Freeswitch-users] Restricting In bound calls

Frank Ochere ochere at gmail.com
Sun Feb 2 05:59:30 UTC 2020


Hi William

edit external.xml under the sip_profiles directory,under the settings tree
<settings> add

<param name="apply-inbound-acl" value="carriers"/>

save the file. (If using different file other than external.xml then edit
that instead, eg external2.xml, carrier1.xml etc)

edit acl.conf.xml and add

    <list name="carriers" default="deny">
      <node type="allow" cidr="x.x.x.x/32"/>
      <node type="allow" cidr="y.y.y.y/32"/>
    </list>

save the file.

on freeswitch console (fs_cli -l4)

reloadxml
reloadacl

you're golden

Regards

Frank



On Sun, Feb 2, 2020 at 2:36 AM William Colls <william at williamcollsassoc.ca>
wrote:

>
> I am sure that I read somewhere that there is a parameter that i can set
> so that only incoming calls from specific IP address are accepted, but I
> can't find the reference, remember the parameter name, or where it is
> located. Could some kind sole point me in the right direction?
>
> Thanks for you time.
>
> William.
>
>
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time
> https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://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
> https://freeswitch.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20200202/5416d995/attachment-0001.html>


More information about the FreeSWITCH-users mailing list