mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-16 03:42:09 +00:00
FS-4279 FS-3279 --resolve
This commit is contained in:
parent
6d02716ac5
commit
241bdf4166
@ -4703,10 +4703,6 @@ uint8_t sofia_glue_negotiate_sdp(switch_core_session_t *session, const char *r_s
|
|||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (switch_channel_test_app_flag_key("T38", tech_pvt->channel, CF_APP_T38)) {
|
|
||||||
sofia_set_flag(tech_pvt, TFLAG_NOREPLY);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (switch_true(switch_channel_get_variable(channel, "refuse_t38"))) {
|
if (switch_true(switch_channel_get_variable(channel, "refuse_t38"))) {
|
||||||
switch_channel_clear_app_flag_key("T38", tech_pvt->channel, CF_APP_T38);
|
switch_channel_clear_app_flag_key("T38", tech_pvt->channel, CF_APP_T38);
|
||||||
match = 0;
|
match = 0;
|
||||||
@ -4715,6 +4711,11 @@ uint8_t sofia_glue_negotiate_sdp(switch_core_session_t *session, const char *r_s
|
|||||||
const char *var = switch_channel_get_variable(channel, "t38_passthru");
|
const char *var = switch_channel_get_variable(channel, "t38_passthru");
|
||||||
int pass = sofia_test_pflag(tech_pvt->profile, PFLAG_T38_PASSTHRU);
|
int pass = sofia_test_pflag(tech_pvt->profile, PFLAG_T38_PASSTHRU);
|
||||||
|
|
||||||
|
|
||||||
|
if (switch_channel_test_app_flag_key("T38", tech_pvt->channel, CF_APP_T38)) {
|
||||||
|
sofia_set_flag(tech_pvt, TFLAG_NOREPLY);
|
||||||
|
}
|
||||||
|
|
||||||
if (var) {
|
if (var) {
|
||||||
if (!(pass = switch_true(var))) {
|
if (!(pass = switch_true(var))) {
|
||||||
if (!strcasecmp(var, "once")) {
|
if (!strcasecmp(var, "once")) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user