]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-6073 --resolve
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 3 Jan 2014 18:45:35 +0000 (23:45 +0500)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 3 Jan 2014 18:45:35 +0000 (23:45 +0500)
src/switch_core_media.c

index d77e430b83261a9adbccaaecfbec097a2d59cc63..c7fec519aceb8e2be007d4efa3ac81e815b5b582 100644 (file)
@@ -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;