Skipping the call to set_t38_fax_caps() caused the FAX session
details to not be marked as supporting audio FAX either... the
function's name is a bit misleading. This patch restores the
single bit of non-T.38 behavior from that function when audio
mode is forced.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@304599
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
ao2_ref(details, -1);
return -1;
}
+ } else {
+ details->caps |= AST_FAX_TECH_AUDIO;
}
if (!ast_test_flag(&opts, OPT_FORCE_AUDIO) && (details->caps & AST_FAX_TECH_T38)) {
ao2_ref(details, -1);
return -1;
}
+ } else {
+ details->caps |= AST_FAX_TECH_AUDIO;
}
if (!ast_test_flag(&opts, OPT_FORCE_AUDIO) && (details->caps & AST_FAX_TECH_T38)) {