SipTrunkPatchRequest
All fields are optional on PATCH. Include password only to rotate the stored provider secret.
Provider registrar SIP URI or host. For IP authentication, this is the outbound SIP destination. Include a non-standard port when needed, for example sip:registrar.example.com:5070.
sip:sip.provider.exampleOptional outbound SIP proxy used by the OpenSIPS registration projection.
Possible values: [udp, tcp, tls]
IP authentication requires providerSourceIps and no password. Registration and digest authentication require a password.
Possible values: [registration, digest, ip]
registrationOptional SIP digest auth username. Defaults to username when omitted.
Possible values: [default, telnyx_like, voipms_like, bandwidth_like, custom]
defaultPossible values: [e164, auth_username, custom]
e164Possible values: >= 60 and <= 3600
300Inbound carrier source IPs or CIDRs required for IP authentication. They are not derived from the outbound registrarUri.
customHeaders object[]
Possible values: <= 20
Possible values: Value must match regular expression ^[A-Za-z0-9-]+$
Use public_ip when the carrier rejects FQDN values in the REGISTER Contact header.
Possible values: [sip_domain, public_ip]
sip_domain{
"label": "string",
"registrarUri": "sip:sip.provider.example",
"proxyUri": "string",
"outboundProxyUri": "string",
"transport": "udp",
"authenticationMode": "registration",
"username": "string",
"authUsername": "string",
"providerProfile": "default",
"fromDomain": "string",
"fromUserMode": "e164",
"customFromUser": "string",
"expiresSeconds": 300,
"providerSourceIps": [
"string"
],
"customHeaders": [
{
"name": "string",
"value": "string"
}
],
"contactHostMode": "sip_domain",
"enabled": true
}