<div dir="ltr"><div dir="ltr">On Fri, May 20, 2022 at 6:48 AM BenoĆ®t Panizzon <<a href="mailto:benoit.panizzon@imp.ch">benoit.panizzon@imp.ch</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi List<br>
<br>
I have come over a codec negotiation issue.<br>
<br>
A (asterisk) is sending in INVITE containing<br>
* opus (type 107)<br>
* g722<br>
* alaw (type 8)<br>
<br>
B answers with 183 containing SDP<br>
* alaw<br>
a=sendrecv<br>
<br>
B then answer the call with 200 and NO SDP<br>
<br>
I suppose that result in B telling us, it only support alaw.<br>
<br>
But 'set rtp debug on' show B sending type 8 and A sending type 107.<br>
As the remote only announced to be capable of 8, shouldn't asterisk<br>
send type 8? Or even send a Re-Invite to tell it switches to alaw?<br></blockquote><div><br></div><div>What is the specific issue that is happening? If it's that one call leg negotiated at opus and the other at alaw, that is currently the way things still work. Each call leg is still ultimately negotiated independently so the A leg can be opus, and the B leg can be alaw. I hope that we're able to eventually return to codec negotiation work to improve that with the foundation put into place previously, but I don't know when that will happen.</div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-family:tahoma,sans-serif"><font color="#073763">Joshua C. Colp</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Asterisk Technical Lead</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Sangoma Technologies</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Check us out at <a href="http://www.sangoma.com" target="_blank">www.sangoma.com</a> and <a href="http://www.asterisk.org" target="_blank">www.asterisk.org</a></font><br></div></div></div></div></div></div></div></div></div></div></div>