Authorization: Bearer ********************
{
"connection-orig-match-pattern": "sip*@apidog",
"connection-term-match-pattern": "sip*@apidog",
"domain": "portal",
"connection-pcmu-only-enabled": "yes",
"dial-policy": "Permit All",
"connection-sip-get-new-dialog-destination-from": "yes",
"connection-prevent-rtp-port-change-enabled": "yes",
"connection-remote-ringback-handling": "no-ringback",
"limits-max-active-calls-orig": "0",
"connection-allow-mid-call-uri-updates-enabled": "yes",
"connection-record-all-calls-enabled": "yes",
"connection-sip-transport-protocol": "TCP",
"connection-custom-p-asserted-id-format": "hello",
"connection-sip-session-timer-enabled": "yes",
"connection-check-orig-matching-sip-header": "contact",
"connection-audio-relay-enabled": "no",
"description": "sample description from apidog",
"dial-plan": "portal",
"connection-sip-registration-realm": "portal",
"connection-term-enabled": "yes",
"connection-linked-billing-user": "domain",
"connection-enforce-minimum-duration-enabled": "yes",
"connection-hide-post-dial-delay-with-ringback-enabled": "yes",
"connection-sip-registration-username": "authusername",
"connection-translation-source-user": "[*]",
"connection-require-encrypted-audio-enabled": "optional",
"connection-include-server-header-enabled": "yes",
"connection-bind-to-alternate-interface-enabled": "yes",
"limits-max-active-calls-total": "0",
"connection-sip-get-response-destination-from": "contact-header",
"connection-translation-request-user": "[*]",
"connection-relay-comfort-noise-enabled": "yes",
"connection-address": "123.1.2.3",
"connection-block-media-in-sip-180-ringing": "yes",
"connection-block-video-in-sdp-enabled": "yes",
"connection-translation-destination-host": "apidogname1",
"limits-max-active-calls-term": "0",
"connection-sip-registration-password": "authkey",
"connection-translation-request-host": "apidogname1",
"connection-source-ip-checking-enabled": "yes",
"connection-orig-enabled": "yes",
"connection-translation-destination-user": "[*]",
"connection-require-sip-authentication-enabled": "yes",
"connection-translation-source-host": "apidogname1",
"utc-offset": "-7",
"time-zone": "US/Pacific",
"minimum-call-duration-second": "1",
"connection-sip-registration-expires-datetime": "2025-05-19 02:41:11",
"connection-sip-authenticate-as-client-enabled": "no",
"connection-is-carrier-trunk": "yes"
}
curl --location --request POST 'https://awqacore01.crexendocloud.com/ns-api/v2/connections' \
--header 'Content-Type: application/json' \
--data-raw '{
"connection-orig-match-pattern": "sip*@apidog",
"connection-term-match-pattern": "sip*@apidog",
"domain": "portal",
"connection-pcmu-only-enabled": "yes",
"dial-policy": "Permit All",
"connection-sip-get-new-dialog-destination-from": "yes",
"connection-prevent-rtp-port-change-enabled": "yes",
"connection-remote-ringback-handling": "no-ringback",
"limits-max-active-calls-orig": "0",
"connection-allow-mid-call-uri-updates-enabled": "yes",
"connection-record-all-calls-enabled": "yes",
"connection-sip-transport-protocol": "TCP",
"connection-custom-p-asserted-id-format": "hello",
"connection-sip-session-timer-enabled": "yes",
"connection-check-orig-matching-sip-header": "contact",
"connection-audio-relay-enabled": "no",
"description": "sample description from apidog",
"dial-plan": "portal",
"connection-sip-registration-realm": "portal",
"connection-term-enabled": "yes",
"connection-linked-billing-user": "domain",
"connection-enforce-minimum-duration-enabled": "yes",
"connection-hide-post-dial-delay-with-ringback-enabled": "yes",
"connection-sip-registration-username": "authusername",
"connection-translation-source-user": "[*]",
"connection-require-encrypted-audio-enabled": "optional",
"connection-include-server-header-enabled": "yes",
"connection-bind-to-alternate-interface-enabled": "yes",
"limits-max-active-calls-total": "0",
"connection-sip-get-response-destination-from": "contact-header",
"connection-translation-request-user": "[*]",
"connection-relay-comfort-noise-enabled": "yes",
"connection-address": "123.1.2.3",
"connection-block-media-in-sip-180-ringing": "yes",
"connection-block-video-in-sdp-enabled": "yes",
"connection-translation-destination-host": "apidogname1",
"limits-max-active-calls-term": "0",
"connection-sip-registration-password": "authkey",
"connection-translation-request-host": "apidogname1",
"connection-source-ip-checking-enabled": "yes",
"connection-orig-enabled": "yes",
"connection-translation-destination-user": "[*]",
"connection-require-sip-authentication-enabled": "yes",
"connection-translation-source-host": "apidogname1",
"utc-offset": "-7",
"time-zone": "US/Pacific",
"minimum-call-duration-second": "1",
"connection-sip-registration-expires-datetime": "2025-05-19 02:41:11",
"connection-sip-authenticate-as-client-enabled": "no",
"connection-is-carrier-trunk": "yes"
}'
{}