Help with Codec Negotiation (406 Error) #1255
Unanswered
DeborahSilliS
asked this question in
Q&A
Replies: 1 comment 7 replies
-
Here's an example of how you can restrict codecs offered and accepted. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone, how are you?
I'm new to SIPSorcery and would appreciate some guidance on how to select the best codec for a call. At the moment, I can only negotiate and select PCMU and PCMA codecs.
I ran a test by dialing into my application using MicroSIP, where I configured it to use G722. On my application, I forced the use of G722 as well, but the call never even reached my application. However, when I added support for G711 (PCM), the call did reach my application, but I received a "406 Not Acceptable" error due to incompatible audio codecs.
Could anyone guide me on how to properly handle codec negotiation and resolve this issue?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions