diagnose_nat_flow
Correlate dialog, contact, RTPEngine, and NAT state to diagnose one-way audio in SIP calls. Consolidates data from four sources into a unified view with a best-effort diagnosis.
Instructions
Correlate dialog, contact, RTPEngine, and NAT state for one call.
The canonical "why is this call one-way audio?" triage tool. Pulls the four pieces of state that actually matter in NAT failures:
Dialog state from
dlg_list— is the call still active? which branches?User-location contact from
ul_show_contact(derived from the SIP From URI of the active dialog) — is the contact behind NAT and is the received field populated?RTPEngine state via
rtpengine_showandget_statisticsforrtpengine:— is media being relayed at all?Nathelper counters — is ping working? did the contact expire mid-call?
Returns a unified view plus a best-effort diagnosis string. A real engineer is still the best judge — this just consolidates the data so they don't have to bounce between four MI calls.
Parameters
callid: The SIP Call-ID of the problematic dialog.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| callid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||