curl --request POST \
--url https://api.open.cx/phone/sip/inbound-trunk/phone-numbers \
--header 'Content-Type: application/json' \
--data '
{
"phone_numbers": [
"<string>"
]
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sip_endpoint": "<string>",
"auth_username": "<string>",
"auth_password": "<string>",
"phone_numbers": [
"<string>"
],
"krisp_enabled": true,
"agent_id_header": "<string>"
}Add one or more phone numbers (DIDs) to an existing inbound trunk.
curl --request POST \
--url https://api.open.cx/phone/sip/inbound-trunk/phone-numbers \
--header 'Content-Type: application/json' \
--data '
{
"phone_numbers": [
"<string>"
]
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sip_endpoint": "<string>",
"auth_username": "<string>",
"auth_password": "<string>",
"phone_numbers": [
"<string>"
],
"krisp_enabled": true,
"agent_id_header": "<string>"
}Phone numbers to add
1Default Response
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$SIP server address to point your PBX at
SIP authentication username
SIP authentication password
Phone numbers (DIDs) this trunk answers on
Whether Krisp noise cancellation is active
SIP header name to set for routing calls to a specific agent
Was this page helpful?