Access Control List Object
The Access Control List (ACL) Object defines the set of rules and actions that govern how CarrierX evaluates and processes inbound and outbound calls and SMS messages.
An ACL:
- Associates multiple Access Control Rules with a specific traffic direction.
- Evaluates whether incoming or outgoing communications match those rules.
- Executes an action (
acceptorreject) based on the evaluation result.
ACLs can be applied to trunks, trunk groups, and other resources, ensuring consistent policy enforcement across the network.
Unlike rules, ACLs don't define criteria themselves — they reference rules and specify what happens when those rules match or do not match.
Access Control List Object Attributes
These fields and values make up the JSON object that gets returned with successful requests.
| Attribute | Data Type | Description |
|---|---|---|
| access_control_rules read only | array | The list of access control rules secure IDs. Refer to the Access Control Rule object for more information about access control rules. |
| direction read only | string | The direction for the access control list. Values accepted in this field are:
|
| sms_action_false read only | string | The action to be executed for SMS messages if no access control rules are applied. Values accepted in this field are |
| sms_action_true read only | string | The action to be executed for SMS messages if any access control rules are applied. Values accepted in this field are |
| voice_action_false read only | string | The action to be executed for calls if no access control rules are applied. Values accepted in this field are:
|
| voice_action_true read only | string | The action to be executed for calls if any access control rules are applied. Values accepted in this field are:
|
Please note that for the Trunk Group and the Trunk Objects the sms_action_false and sms_action_true fields are always null and read-only because Trunk Groups and Trunks are used for voice only.
Sample Access Control List Object
{
"access_control_rules": [
"dafd993d-0e99-4af9-b8fc-436fb01b0bbe",
"6fd782fa-c80b-4299-9b91-78797eb392e1"
],
"direction": "outbound",
"sms_action_false": null,
"sms_action_true": null,
"voice_action_false": null,
"voice_action_true": "reject503"
}