Freeze the node, release, request and first symptom
Record node, exact Asterisk branch and maintenance release, build provenance, loaded chan_iax2 module, configuration owner, AMI identity and permissions, raw request and response, local and UTC timestamps and the first failed boundary. Classify unknown or denied action, empty peer output, stale registry row, absent active-channel statistics, collector timeout or a separate call symptom.
Use a unique ActionID only for IAXpeerlist, IAXpeers and IAXregistry. The documented IAXnetstats syntax has no arguments, so adding ActionID is not a supported correlation method.
Prove action availability and authorization before peer state
Confirm the installed branch documents the action, the module is present and loaded, and the authenticated manager identity can invoke it. Compare direct raw AMI frames with collector output. Unknown action, permission denial, socket closure, parser failure and an accepted but apparently empty response have different owners.
A successful manager login or action response does not prove that the result is complete. Preserve response framing and timestamps instead of treating quiet time as an undocumented list terminator.
Compare peer actions without inventing equivalence or completion
Run IAXpeerlist and IAXpeers only where authorized, each with its own ActionID, and retain all frames. Current generated action pages do not document row-event schemas or a completion event for either action. Do not invent PeerlistComplete, count socket silence as completion or force the two outputs into one schema.
If an installed branch or implementation source defines additional output, label that evidence with the exact release. Report incomplete observation when the collector cannot prove its framing boundary.
Separate registry rows from peer, binding and route state
Use IAXregistry for its documented registration view, then check peer configuration, dynamic binding, qualification, authentication, ACL and routing independently. Confirm server identity, resolved address, observed source, expiry or refresh timing and clock alignment before calling a row stale.
Registration does not prove inbound authorization, outbound route selection, answer or two-way audio. Repair only the first demonstrated configuration, network, authentication or timing boundary.
Capture IAXnetstats only while the target channel is active
Prove the exact IAX channel exists at the capture time, then collect the raw IAXnetstats response and a packet timeline for the same call. Because the action documents no arguments, do not claim an ActionID, channel filter, peer filter or historical window. Preserve unfamiliar field names and units as version-bound unknowns until verified against the installed release.
No rows can mean no active IAX channel at that instant, an action or collector problem, or other deployment-specific behavior. Network-stat output alone does not prove capacity, completed routing, decoded media or audible quality.
Correct the first boundary and repeat one controlled workflow
Assign one owner: release or module, AMI permission, response framing, collector parser, peer configuration, registration refresh, ACL, authentication, call token policy, bind or network path, route, active-channel timing or media. Avoid blanket ACL, authentication, encryption or call token disablement.
Repeat the same peer and registry observations and one authorized call with channel, packet, answer and two-way audio evidence kept separate. No PBX, peer, registry, active channel, packet, call or audio was tested for this diagnostic.
Sources & applicability
Primary references for the technical details above. Operational examples and planning checklists are VoIP.info editorial guidance.
- Asterisk current IAXpeers AMI action ↗
- Asterisk current IAXpeerlist AMI action ↗
- Asterisk current IAXregistry AMI action ↗
- Asterisk current IAXnetstats AMI action ↗
- Asterisk 22 IAXpeers AMI action ↗
- Asterisk 22 IAXpeerlist AMI action ↗
- Asterisk 22 IAXregistry AMI action ↗
- Asterisk 22 IAXnetstats AMI action ↗
- Asterisk IAX2 security guidance ↗
- Asterisk iax.conf sample ↗
- Asterisk chan_iax2 implementation source ↗
- Asterisk AMI v2 specification ↗
Examples require adaptation to your topology. No live PBX or hardware testing is claimed.