E21051 — VoiceTrunkOutboundNotEnabled
This SIP trunk does not have outbound calling enabled.
- HTTP status:
412 - Type:
precondition_error - Name:
VoiceTrunkOutboundNotEnabled
What to do
Turn on the switch for the caller you need. Your PBX's allow lists and Digest settings need sip_trunking_enabled, and calls with a session credential need workspace_users_enabled. One trunk update can turn the switch on and set its settings. On a create, send sip_trunking_enabled true alongside the settings, since there is no trunk to update yet.
Operations that resolve this:
Related
- E21xxx — Voice & SIP trunking: every code in this range
- Errors: the full wire contract, status mapping, and error catalog
- Error handling: branching on
typeandcode, validation details, andvendor_code
Related resources
Continue with the documentation, guides and examples for this topic.