mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Merge "res_parking: Misc fixes."
This commit is contained in:
@@ -239,6 +239,7 @@ static struct ast_channel *park_local_transfer(struct ast_channel *parker, const
|
||||
ast_channel_parkinglot_set(parkee, ast_channel_parkinglot(parker));
|
||||
ast_connected_line_copy_from_caller(ast_channel_connected(parkee), ast_channel_caller(parker));
|
||||
ast_channel_inherit_variables(parker, parkee);
|
||||
ast_bridge_set_transfer_variables(parkee, ast_channel_name(parker), 0);
|
||||
ast_channel_datastore_inherit(parker, parkee);
|
||||
ast_channel_unlock(parker);
|
||||
|
||||
@@ -253,8 +254,6 @@ static struct ast_channel *park_local_transfer(struct ast_channel *parker, const
|
||||
return NULL;
|
||||
}
|
||||
|
||||
ast_bridge_set_transfer_variables(parkee_side_2, ast_channel_name(parker), 0);
|
||||
|
||||
ast_channel_unref(parkee_side_2);
|
||||
|
||||
/* Since the above worked fine now we actually call it and return the channel */
|
||||
|
Reference in New Issue
Block a user