mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Reverting r403311. It's causing ARI tests to hang.
........ Merged revisions 403398 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@403404 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -530,7 +530,6 @@ static int parking_duration_callback(struct ast_bridge_channel *bridge_channel,
|
||||
|
||||
/* Set parking timeout channel variables */
|
||||
snprintf(parking_space, sizeof(parking_space), "%d", user->parking_space);
|
||||
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 */
|
||||
@@ -539,7 +538,6 @@ static int parking_duration_callback(struct ast_bridge_channel *bridge_channel,
|
||||
pbx_builtin_setvar_helper(chan, "PARKER_FLAT", dial_string_flat);
|
||||
parking_timeout_set_caller_features(chan, user->lot->cfg);
|
||||
ast_channel_stage_snapshot_done(chan);
|
||||
ast_channel_unlock(chan);
|
||||
|
||||
/* Dialplan generation for park-dial extensions */
|
||||
|
||||
|
Reference in New Issue
Block a user