From: Anthony Minessale Date: Fri, 3 Jan 2014 18:45:35 +0000 (+0500) Subject: FS-6073 --resolve X-Git-Tag: v1.4.2~2^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ca06e1ea7fd073dd4b81704d481148b628a7688;p=thirdparty%2Ffreeswitch.git FS-6073 --resolve --- diff --git a/src/switch_core_media.c b/src/switch_core_media.c index d77e430b83..c7fec519ac 100644 --- a/src/switch_core_media.c +++ b/src/switch_core_media.c @@ -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); if (v >= 0) { 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); if (v >= 0) { smh->mparams->rtp_hold_timeout_sec = v;