Get Instant Solutions for Kubernetes, Databases, Docker and more
Bandwidth is a leading provider of Voice/Calls Communication APIs, enabling developers to integrate voice calling capabilities into their applications. The API allows for seamless voice communication, offering features such as call control, media streaming, and more. For more information, visit the official Bandwidth Voice API page.
When using the Bandwidth Voice API, you might encounter the SIP 606 Not Acceptable error. This error typically manifests when a call request fails due to media constraints, preventing the call from being established successfully.
The SIP 606 Not Acceptable error indicates that the media settings specified in the call request are not compatible with the recipient's capabilities. This can occur if the codecs or media formats requested are not supported by the receiving party.
To resolve the SIP 606 Not Acceptable error, follow these steps:
Ensure that the media settings in your call request are compatible with the recipient's capabilities. Check the codecs and formats being used. You can find a list of supported codecs in the Bandwidth API documentation.
Modify the media constraints in your application to use widely supported codecs such as G.711 or Opus. This can be done by updating the SDP (Session Description Protocol) in your call setup.
After adjusting the media settings, test the call again to ensure that the changes have resolved the issue. Use tools like Wireshark to analyze the SIP traffic and verify successful media negotiation.
By understanding and adjusting the media settings in your Bandwidth Voice API calls, you can effectively resolve the SIP 606 Not Acceptable error. For further assistance, consider reaching out to Bandwidth Support.
(Perfect for DevOps & SREs)
Try Doctor Droid — your AI SRE that auto-triages alerts, debugs issues, and finds the root cause for you.