Authorizations
An API key to authorize your request
Body
A new SIP trunk configuration parameters
User-defined name of the SIP trunk
"My trunk"
Password set for the SIP trunk. Use a strong password to help keep your SIP trunk secure.
"4r=h;EaCB85QNtr2"
Caller ID for the SIP trunk. Must be an active or verified number on your account.
"13132847320"
Indicates whether IP restriction is required for the SIP trunk
false
Indicates whether inbound calls include dialed number information in the To header of SIP INVITE requests
true
Indicates whether a maximum call duration limit is enforced for the SIP trunk.
true
Indicates if the max cost limit for an outbound call limit is activated for the SIP trunk.
true
Indicates whether a limit on the number of concurrent outbound calls is enforced for the SIP trunk.
false
Indicates whether a custom dial plan is activated for the SIP trunk.
true
Indicates whether automatic call transcription is enabled on the SIP trunk.
Available for Flex Pro
customers only.
true
Transcriptions will be generated for calls that meet or exceed the specified minimal call duration threshold, in seconds.
Available for Flex Pro
customers only.
10
Indicates whether the Caller ID passthrough feature is enabled for the SIP trunk
SIP trunk registration is allowed only from public static IP addresses listed here. The parameter is required when ip_restrict is true
.
A maximum call duration for the SIP trunk, in seconds. Must not exceed the maximum duration set for your account. Ignored when call_restrict is false
.
3600
Maximum cost for an outbound call, in USD
0.18
Maximum number of concurrent outbound calls for the SIP trunk. Must not exceed the outbound channel capacity set for your account. Ignored when channels_restrict is false
.
2
Leading digits to prepend to dialed phone numbers
"1"
Leading digits to remove from dialed phone numbers.
Indicates whether outbound call recording is enabled on the SIP trunk
true
Indicates whether automatic voicemail detection is enabled on the SIP trunk.
Available for Flex Pro
customers only.
true
true
Response
Unique identifier of the SIP trunk on the platform
293
System-generated login name of the SIP trunk
"67758"
Caller ID configured on the SIP trunk. In cases when multiple Caller IDs are allowed on the SIP trunk, contains an empty string.
"12345678900"
User-defined name of the SIP trunk
"My trunk"
Date and time the SIP trunk was created
"2023-05-16T17:13:25.000Z"
Indicates whether IP restriction must be enabled on the SIP trunk
false
Indicates if the max number of concurrent outbound calls limit is activated for the SIP trunk.
false
A maximum number of concurrent outbound calls placed via the SIP trunk. Cannot be higher than the outbound channel capacity configured on the account.
2
Indicates if the max cost limit for an outbound call limit is activated for the SIP trunk.
true
A maximum cost of an outbound call, in USD.
"0.18"
Indicates if maximum call duration limit is activated for the SIP trunk.
false
A maximum call duration for the SIP trunk, in seconds. Cannot be higher than the max call duration set for the account.
3600
Indicates if inbound calls carry dialed number information in the 'To' header of SIP Invites
true
Indicates if a custom dial plan is activated for the SIP trunk.
true
Leading digits to be added before the dialed phone numbers.
"1"
Leading digits to be deleted from the dialed phone numbers.
Indicates if outbound call recording is enabled on the SIP trunk. Available for Flex Pro
customers only.
true
Indicates if automatic voicemail detection is enabled on the SIP trunk. Available for Flex Pro
customers only.
true
Indicates if automatic call transcription is enabled on the SIP trunk. Available for Flex Pro
customers only.
false
Transcriptions will be generated for calls that meet or exceed the specified minimal call duration threshold, in seconds
10
Host of siptrunk
"dynamic"
Multiple numbers
true
Encrypted media
true
"123easwqe321132"