[Freeswitch-users] How to stop SPAM calls?

Malay Thakershi mthakershi at gmail.com
Tue Aug 24 22:22:04 PDT 2010


Victor, your solution seems to be working. Thank you and thank you all for
help.

I did the following:

acl.conf.xml

    <list name="Malay_ACL" default="deny">
      <node type="allow" cidr="A.B.C.D/24 <http://192.168.42.0/24>"/>
    </list>

In my sip profile file:

      <param name="auth-calls" value="true"/>
      <param name="apply-inbound-acl" value="Malay_ACL"/>

Thank you.

On Tue, Aug 24, 2010 at 9:39 AM, Malay Thakershi <mthakershi at gmail.com>wrote:

> Not a problem. Thanks for help.
>
> Will test as you've suggested.
>
> On Aug 23, 2010 8:33 PM, "Victor Chukalovskiy" <Victor at isptelecom.net>
> wrote:
>
>  Malay,
>
> I believe full configuration is too big to be posted here,
> however my sip profile has following relevant lines:
>
>       <param name="auth-calls" value="true"/>
>       <param name="apply-inbound-acl" value="providers"/>
>
>  My acl.conf.xml has following lines:
>
>     <list name="providers" default="deny">
>       <node type="allow" cidr="A.B.C.D/24 <http://192.168.42.0/24>"/>
>     </list>
>
> As you see, this creates a simple ACL that will "deny" everything but
> address range defined by A.B.C.D/24
> My sip profile makes use of this ACL.
>
> In your configuration you seem to miss a couple things:
> 1) You use reserved ACL name acl.auto. Please use something else and
> non-default.
> 2) If your ACL is "deny" by default, all nodes should be "allow". And vice
> verse, if your ACL is "allow" by default then nodes only make sence if they
> are set to "deny". This depends on what your want to do :-)
>
> In your case try:
>
>  <list name="Malay_ACL" default="allow">
>
> <node type="allow" cidr="41.XXX.XXX.XXX/29"/>
> </list>
> And then point apply-inbound-acl to this new "Malay_ACL".
>
> It could be useful to consult following pages:
> http://wiki.freeswitch.org/wiki/Acl
> http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing
>
> -Victor
>
>
>
> On -10/01/37 02:59 PM, Malay Thakershi wrote:
> >
> > Thank you. Could you please share your configura...
>
>
> _______________________________________________
> 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/20100825/c8ad262b/attachment.html 


More information about the FreeSWITCH-users mailing list