sip.local, that groups Agents and holds the egress policies that let them call the PSTN.
Fields
The API response also includes
accessControlList and, in each egress policy, number: the objects the refs point to.
Constraints
nameis required and must be 1 to 60 characters.domainUrimust be a valid FQDN, up to 255 characters, and unique across Domains in pgdata.- When an Agent dials a number that isn’t another Agent, Connect tests the egress policies in order and uses the first whose
rulematches. If none match, the call fails. - An egress policy’s Number must have a
trunkRef. - Deleting a Domain deletes its egress policies. Agents that pointed to it keep existing with no Domain.
The Connect processor does not check a Domain’s ACL when it routes calls. The only ACL it enforces is the one on a Trunk, for calls from the PSTN.
YAML example
The following Domain sends every outbound call through Numbernumber-01.
rctl equivalent
Run the interactive create command and answer the prompts. The egress rule prompts appear only when at least one Number exists.rctl domains for the prompts and the other actions.