curl --request GET \
--url 'https://api.wavix.com/v1/trunks?appid='{
"sip_trunks": [
{
"id": 3107,
"label": "My trunk",
"name": "32882",
"auth_method": "IP auth",
"callerid": "14302287001",
"host_request": {
"host": "127.0.0.1",
"status": "pending"
},
"encrypted_media": false,
"passthrough": "false,",
"multiple_numbers": true,
"status": "pending",
"charge": 24.637,
"talk_time": 65,
"machine_detection_enabled": true,
"call_recording_enabled": true,
"transcription_enabled": true,
"transcription_threshold": 6
}
],
"pagination": {
"current_page": 1,
"total": 1,
"per_page": 25,
"total_pages": 1
}
}Use this method to list SIP trunks on your account. By default, results are paginated with 25 records per page.
curl --request GET \
--url 'https://api.wavix.com/v1/trunks?appid='{
"sip_trunks": [
{
"id": 3107,
"label": "My trunk",
"name": "32882",
"auth_method": "IP auth",
"callerid": "14302287001",
"host_request": {
"host": "127.0.0.1",
"status": "pending"
},
"encrypted_media": false,
"passthrough": "false,",
"multiple_numbers": true,
"status": "pending",
"charge": 24.637,
"talk_time": 65,
"machine_detection_enabled": true,
"call_recording_enabled": true,
"transcription_enabled": true,
"transcription_threshold": 6
}
],
"pagination": {
"current_page": 1,
"total": 1,
"per_page": 25,
"total_pages": 1
}
}An API key to authorize your request
A list of SIP trunks associated with your account
Show child attributes
Unique identifier of the SIP trunk on the platform
293
System-generated login name of the SIP trunk
"67758"
Caller ID associated with the SIP trunk. Contains an empty string if multiple Caller IDs are allowed.
"12345678900"
User-defined name of the SIP trunk
"My trunk"
SIP trunk authentication method. Can be either Digest or IP auth.
For SIP trunks with IP-based authentication, contains the status of the IP authentication request.
Indicates whether multiple Caller IDs are enabled for the SIP trunk
false
Status of the SIP trunk. Possible values are:
active - The SIP trunk is active and can be used to place outbound calls.
pending - The IP authentication request is under review by the Wavix team.
rejected - The IP authentication request was rejected by the Wavix team.
SIP trunks with a pending or rejected status can't be used to place calls.
Total duration of all outbound calls placed through the SIP trunk the current month, in seconds. Automatically resets at the beginning of each month.
65
Total cost of all outbound calls placed through the SIP trunk in the current month, in USD. Automatically resets at the beginning of each month.
"24.637"
Indicates whether Caller ID passthrough is enabled for the SIP trunk
false
Indicates whether outbound call recording is enabled for the SIP trunk
Indicates whether automatic voicemail detection is enabled for the SIP trunk.
Available for Flex Pro customers only.
Indicates whether automatic call transcription is enabled for the SIP trunk.
Available for Flex Pro customers only.
Minimum call duration (in seconds) required to automatically generate a transcription. Transcriptions are created for calls that meet or exceed this value.
Available to Flex Pro customers only.
Indicates whether media enecryption (SRTP) is enabled for the SIP trunk
true
Show child attributes
Current page number
2
Number of records per page
25
Total number of records
101
Total number of pages
5
Was this page helpful?