Call Us Today! 877.742.2583




Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

About

Check an address against an Access Control List and terminate the call if the originating address does not match the ACL or CIDR mask. 

Usage

check_acl <ip> <acl | cidr> [<hangup_cause>]

inline=yes, this application may be run inline from the XML dialplan.

hangup_cause defaults to rejected (see Hangup Causes)

Examples

<action application="check_acl" data="${network_addr} foo normal_clearing"/>

A call originating from an i.p. address that is not listed in the Access Control List named "foo" will be terminated with cause code "normal_clearing".

 

<action application="check_acl" data="${network_addr} 1.2.3.0/8 normal_clearing" inline="true"/>

A call originating from i.p. address 1.2.3.4 will match the CIDR specified and continue the pass through the dialplan.

A call originating from i.p. address 4.3.2.1 will not match the CIDR specified and be terminated immediately because the inline flag is set to "true". There will be no further dialplan processing after this application is executed.

 

  • No labels