<div dir="ltr">I'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><X-PRE-PROCESS cmd="set" data="global_codec_prefs=G729,GSM,CODEC2"/></div><div><X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=PCMA,G729"/></div><div><br></div>
<div style>This is in external.xml:</div><div style><div><param name="inbound-codec-prefs" value="$${global_codec_prefs}"/></div><div><param name="outbound-codec-prefs" value="G729"/></div>
<div><div><param name="inbound-late-negotiation" value="false"/></div><div><param name="disable-transcoding" value="false"/></div><div><param name="inbound-proxy-media" value="true"/></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's not G729 instead of just resending the SDP directly to the gateways.</div>
<div style>I'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'm failing to apprehend here.</div>
</div></div></div>