Inbound Permissions section is used to define rules controlling how the inbound calls are handled based on Caller ID patterns. Here you can define actions that will apply to inbound calls from callers whose Caller ID matches Caller ID Patterns.
In addition to system wide Inbound Permissions, Inbound Permissions can be configured on a tenant level. The system-wide permissions have higher priority and are checked first, and if the call passes, then the tenant level permissions check is performed.
Inbound Permissions checking is disabled by default to avoid any overhead during call processing. In order to enable Inbound Permissions checking, you need a Global Dialplan Variable TL_CHECK_INBOUND_PERMISSIONS to be set to 1. You can do it in Dialplan Variables section. Removing this variable or setting TL_CHECK_INBOUND_PERMISSIONS to 0 will disable checking of Inbound Permissions.
Create/Edit Inbound Permissions
Description. Specify description.
Caller ID Pattern(s). A number or a pattern for inbound call caller id number matching. Accepts multiple values separated by a comma. If the first character of the number is _ it means that whatever follows is to be treated as a pattern as follows:
X matching any digit 0-9
Z matching any digit 1-9
N matching any digit 2-9
Bracketed expressions like [13-5] matching any digit in the brackets
. matching one or more characters.
See Asterisk documentation for the details and for the available formats for pattern definition.
Action. Specify action.
Available options are:
- Deny - Reject the call if caller id number matches the rule.
- Allow - Pass the call if caller id number matches the rule.