mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-17 09:12:25 +00:00
FS-6073 --resolve
This commit is contained in:
parent
2c5a861b03
commit
3ca06e1ea7
@ -4899,14 +4899,14 @@ SWITCH_DECLARE(switch_status_t) switch_core_media_activate_rtp(switch_core_sessi
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((val = switch_channel_get_variable(session->channel, "params->rtp_timeout_sec"))) {
|
if ((val = switch_channel_get_variable(session->channel, "rtp_timeout_sec"))) {
|
||||||
int v = atoi(val);
|
int v = atoi(val);
|
||||||
if (v >= 0) {
|
if (v >= 0) {
|
||||||
smh->mparams->rtp_timeout_sec = v;
|
smh->mparams->rtp_timeout_sec = v;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((val = switch_channel_get_variable(session->channel, "params->rtp_hold_timeout_sec"))) {
|
if ((val = switch_channel_get_variable(session->channel, "rtp_hold_timeout_sec"))) {
|
||||||
int v = atoi(val);
|
int v = atoi(val);
|
||||||
if (v >= 0) {
|
if (v >= 0) {
|
||||||
smh->mparams->rtp_hold_timeout_sec = v;
|
smh->mparams->rtp_hold_timeout_sec = v;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user