res_parking: Stop setting the deprecated PARKINGSLOT channel variable.

Change-Id: Ia155ce2a53d61556aa4685524d1b48cfacfa3a8b
This commit is contained in:
Sean Bright
2018-10-18 15:51:29 -04:00
committed by Joshua Colp
parent 12643d3d7b
commit 79c2b4fddd
3 changed files with 3 additions and 4 deletions

View File

@@ -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);