mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-08 08:51:50 +00:00
FS-5390 --resolve
This commit is contained in:
parent
646b34a2a2
commit
a08965601c
@ -2181,17 +2181,6 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess
|
||||
|
||||
if (switch_channel_test_flag(caller_channel, CF_PROXY_MODE) || switch_channel_test_flag(caller_channel, CF_PROXY_MEDIA)) {
|
||||
ringback_data = NULL;
|
||||
} else if (zstr(ringback_data)) {
|
||||
const char *vvar;
|
||||
|
||||
if ((vvar = switch_channel_get_variable(caller_channel, SWITCH_SEND_SILENCE_WHEN_IDLE_VARIABLE))) {
|
||||
int sval = atoi(vvar);
|
||||
|
||||
if (sval) {
|
||||
ringback_data = switch_core_session_sprintf(oglobals.session, "silence:%d", sval);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
#if 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user