Fields
The API response also includes
accessControlList and credentials, the objects the refs point to.
Constraints
nameis required and must be 1 to 60 characters.usernameis required and can’t contain spaces. In YAML it must be 4 to 60 characters. In pgdata it must be unique across Peers.aormust start withsip:orbackend:. Thebackend:prefix is deprecated; simpledata logs a warning and you should usesip:. Up to 323 characters.contactAddrmust be a valid FQDN or IP address. Up to 20 characters.least-sessionsneeds the Location Service to run on Redis. It also needs each instance to report its active session count in theX-Session-Countheader of its REGISTER. See SIP headers.- Session affinity applies to calls from the PSTN to a Number whose
aorLinkis this Peer’saor. The affinity value comes from the header named in the Number’ssessionAffinityHeader.
In YAML, simpledata does not load
spec.accessControlListRef for Peers. Through the API, pgdata stores it.YAML example
The following Peer balances calls across Asterisk instances that register asasterisk.
rctl equivalent
Run the interactive create command and answer the prompts.rctl peers for the prompts and the other actions.