Перейти до вмісту

Get SDP data of a call

Цей контент ще не доступний вашою мовою.

getCDRSDP returns the SDP messages exchanged during a call: the offered and answered media, codecs and addresses. Use it to troubleshoot one-way audio or codec mismatches. Take the i_call of the call from getAccountCDRs.

The method supports trusted mode with i_customer, the ID of the customer that owns the account that made the call.

Name Type Required Description
i_call int yes ID of the call, i_call in the CDR
Name Type Description
result string OK
records array The SDP records of the call
request
call("getCDRSDP", {"i_call": 1520034})
response
{
"result": "OK",
"records": [
# … one entry per SDP message of the call
],
}