FS-3739 please try this patch, its not so much of a bug as an unintended consequence of combining features but this may be the best of both worlds

This commit is contained in:
Anthony Minessale 2012-03-12 13:49:33 -05:00
parent 5e4a514531
commit b0c6bd7101
1 changed files with 5 additions and 0 deletions

View File

@ -787,6 +787,11 @@ void sofia_glue_tech_prepare_codecs(private_object_t *tech_pvt)
switch_assert(tech_pvt->session != NULL);
if ((abs = switch_channel_get_variable(tech_pvt->channel, "absolute_codec_string"))) {
/* inherit_codec == true will implicitly clear the absolute_codec_string
variable if used since it was the reason it was set in the first place and is no longer needed */
if (switch_true(switch_channel_get_variable(tech_pvt->channel, "inherit_codec"))) {
switch_channel_set_variable(tech_pvt->channel, "absolute_codec_string", NULL);
}
codec_string = abs;
goto ready;
}