Get SIP traces
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://blackbox.dasha.ai/api/v1/calls/{callId}/sip-traces', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://blackbox.dasha.ai/api/v1/calls/{callId}/sip-traces \
--header 'Authorization: Bearer <token>'import requests
url = "https://blackbox.dasha.ai/api/v1/calls/{callId}/sip-traces"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)[
{
"callId": "<string>",
"direction": "<string>",
"messages": [
{
"timestamp": "<string>",
"method": "<string>",
"statusCode": 123,
"sourceIp": "<string>",
"sourcePort": 123,
"destIp": "<string>",
"destPort": 123,
"protocol": "<string>",
"rawMessage": "<string>"
}
]
}
]{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}Get SIP traces
Retrieves SIP protocol traces for a specific call, identified by its blackbox call ID. The system resolves the internal server job ID from the call record and fetches SIP signaling data including INVITE, ACK, BYE messages and their raw content, useful for debugging telephony connectivity issues.
GET
/
api
/
v1
/
calls
/
{callId}
/
sip-traces
Get SIP traces
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://blackbox.dasha.ai/api/v1/calls/{callId}/sip-traces', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://blackbox.dasha.ai/api/v1/calls/{callId}/sip-traces \
--header 'Authorization: Bearer <token>'import requests
url = "https://blackbox.dasha.ai/api/v1/calls/{callId}/sip-traces"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)[
{
"callId": "<string>",
"direction": "<string>",
"messages": [
{
"timestamp": "<string>",
"method": "<string>",
"statusCode": 123,
"sourceIp": "<string>",
"sourcePort": 123,
"destIp": "<string>",
"destPort": 123,
"protocol": "<string>",
"rawMessage": "<string>"
}
]
}
]{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}Path Parameters
Blackbox call identifier
Response
Returns SIP trace groups successfully
Was this page helpful?