From: Sean Bright Date: Thu, 18 Oct 2018 19:51:29 +0000 (-0400) Subject: res_parking: Stop setting the deprecated PARKINGSLOT channel variable. X-Git-Tag: 17.0.0-rc1~293^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79c2b4fddd92ebed6361ea00b55970345fab1268;p=thirdparty%2Fasterisk.git res_parking: Stop setting the deprecated PARKINGSLOT channel variable. Change-Id: Ia155ce2a53d61556aa4685524d1b48cfacfa3a8b --- diff --git a/UPGRADE.txt b/UPGRADE.txt index a7bf14ccfb..a9e958f93c 100644 --- a/UPGRADE.txt +++ b/UPGRADE.txt @@ -30,4 +30,7 @@ New in 17.0.0: * The CALLERPRES() dialplan function, deprecated in Asterisk 1.8, has been removed. +* The PARKINGSLOT channel variable, deprecated in Asterisk 12 in favor of the + PARKING_SPACE channel variable, will no longer be set. + * The JabberStatus application, deprecated in Asterisk 12, has been removed. diff --git a/res/parking/parking_bridge_features.c b/res/parking/parking_bridge_features.c index cbc23fac1b..f73f37157e 100644 --- a/res/parking/parking_bridge_features.c +++ b/res/parking/parking_bridge_features.c @@ -603,7 +603,6 @@ static int parking_duration_callback(struct ast_bridge_channel *bridge_channel, ast_channel_lock(chan); ast_channel_stage_snapshot(chan); pbx_builtin_setvar_helper(chan, "PARKING_SPACE", parking_space); - pbx_builtin_setvar_helper(chan, "PARKINGSLOT", parking_space); /* Deprecated version of PARKING_SPACE */ pbx_builtin_setvar_helper(chan, "PARKEDLOT", user->lot->name); pbx_builtin_setvar_helper(chan, "PARKER", dial_string); pbx_builtin_setvar_helper(chan, "PARKER_FLAT", dial_string_flat); diff --git a/res/res_parking.c b/res/res_parking.c index 5d1b30c230..fa76c48068 100644 --- a/res/res_parking.c +++ b/res/res_parking.c @@ -149,9 +149,6 @@ extension that the call was parked in prior to timing out. - - Deprecated. Use PARKING_SPACE instead. - name of the lot that the call was parked in prior to timing out.