<div dir="ltr">I&#39;m having media problems with a FS here. UAs are sending mixed capabilites all the time and i wanna gracefully degradate on them.<div><br></div><div style>This is what i have in vars.xml:</div><div style>
<div>&lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;global_codec_prefs=G729,GSM,CODEC2&quot;/&gt;</div><div>&lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;outbound_codec_prefs=PCMA,G729&quot;/&gt;</div><div><br></div>
<div style>This is in external.xml:</div><div style><div>&lt;param name=&quot;inbound-codec-prefs&quot; value=&quot;$${global_codec_prefs}&quot;/&gt;</div><div>&lt;param name=&quot;outbound-codec-prefs&quot; value=&quot;G729&quot;/&gt;</div>
<div><div>&lt;param name=&quot;inbound-late-negotiation&quot; value=&quot;false&quot;/&gt;</div><div>&lt;param name=&quot;disable-transcoding&quot; value=&quot;false&quot;/&gt;</div><div>&lt;param name=&quot;inbound-proxy-media&quot; value=&quot;true&quot;/&gt;</div>
<div>    </div></div><div style> I need to make sure that when a UA dials in, the A-leg is negotiated between g729 and gsm(and codec2) and the call is then transcoded to the B-leg if it&#39;s not G729 instead of just resending the SDP directly to the gateways.</div>
<div style>I&#39;ve tried disabling and enabling proxy-media, late-negotiation and disable-transcoding along with passing the strict codec_string and absolute_codec_string.</div><div style><br></div><div style>Point me on what i&#39;m failing to apprehend here.</div>
</div></div></div>