mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-30 10:33:13 +00:00
res_parking: Stop setting the deprecated PARKINGSLOT channel variable.
Change-Id: Ia155ce2a53d61556aa4685524d1b48cfacfa3a8b
This commit is contained in:
@@ -30,4 +30,7 @@ New in 17.0.0:
|
|||||||
* The CALLERPRES() dialplan function, deprecated in Asterisk 1.8, has been
|
* The CALLERPRES() dialplan function, deprecated in Asterisk 1.8, has been
|
||||||
removed.
|
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.
|
* The JabberStatus application, deprecated in Asterisk 12, has been removed.
|
||||||
|
@@ -603,7 +603,6 @@ static int parking_duration_callback(struct ast_bridge_channel *bridge_channel,
|
|||||||
ast_channel_lock(chan);
|
ast_channel_lock(chan);
|
||||||
ast_channel_stage_snapshot(chan);
|
ast_channel_stage_snapshot(chan);
|
||||||
pbx_builtin_setvar_helper(chan, "PARKING_SPACE", parking_space);
|
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, "PARKEDLOT", user->lot->name);
|
||||||
pbx_builtin_setvar_helper(chan, "PARKER", dial_string);
|
pbx_builtin_setvar_helper(chan, "PARKER", dial_string);
|
||||||
pbx_builtin_setvar_helper(chan, "PARKER_FLAT", dial_string_flat);
|
pbx_builtin_setvar_helper(chan, "PARKER_FLAT", dial_string_flat);
|
||||||
|
@@ -149,9 +149,6 @@
|
|||||||
<variable name="PARKING_SPACE">
|
<variable name="PARKING_SPACE">
|
||||||
<para>extension that the call was parked in prior to timing out.</para>
|
<para>extension that the call was parked in prior to timing out.</para>
|
||||||
</variable>
|
</variable>
|
||||||
<variable name="PARKINGSLOT">
|
|
||||||
<para>Deprecated. Use <variable>PARKING_SPACE</variable> instead.</para>
|
|
||||||
</variable>
|
|
||||||
<variable name="PARKEDLOT">
|
<variable name="PARKEDLOT">
|
||||||
<para>name of the lot that the call was parked in prior to timing out.</para>
|
<para>name of the lot that the call was parked in prior to timing out.</para>
|
||||||
</variable>
|
</variable>
|
||||||
|
Reference in New Issue
Block a user