Skip to main content

SIP error codes and troubleshooting

SIP 4xx — client errors

CodeMeaningFix
400Bad requestReview SIP headers / SDP
401UnauthorizedCheck digest credentials
403ForbiddenIP not whitelisted — check ACL
404Not foundVerify phone number mapping
408Request timeoutCheck firewall / reachability
415Unsupported mediaEnable G.711; disable other codecs
480Temporarily unavailableCheck PBX/SBC availability
484Address incompleteUse E.164 for numbers
486BusyDestination busy — normal
488Not acceptableSDP/codec mismatch — G.711

SIP 5xx — server errors

CodeMeaningFix
500Server errorRetry
502Bad gatewayUpstream routing — retry
503Service unavailableCheck network / routing
504Gateway timeoutCheck firewall latency

Audio issues (no SIP error)

SymptomCauseFix
No audio both waysRTP blockedOpen UDP 10000–40000
One-way audioNAT / firewallPublic IP in SDP; media allowlist
Audio drops mid-callRTP idle timeoutAdjust firewall timeout

API error codes

CodeHTTPMeaningFix
1000404Resource not foundVerify trunk SID / phone number ID
1001400Mandatory parameter missingCheck required fields
1002400Invalid parameterValidate E.164, IP, JSON
1007400Malformed JSONFix JSON syntax
1008409Duplicate resourceAlready configured — safe to ignore
1011415Wrong content typeContent-Type: application/json

Debug checklist

  1. Confirm trunk status is active
  2. Outbound: ACL or credentials match the egress IP / digest on your platform
  3. Inbound: destination URI + Connect applet sip:<trunk_sid> + DID mapped to flow
  4. Capture SIP traces (sngrep / Wireshark) and Call SIDs for support