summaryrefslogtreecommitdiff
path: root/res/parking/parking_bridge_features.c
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2016-03-29 09:03:55 -0500
committerGerrit Code Review <gerrit2@gerrit.digium.api>2016-03-29 09:03:55 -0500
commit6ce25bd62a0f31aa616272585e4f1ea1f2b86fd9 (patch)
treeec7f54a4f648bd507e98295f4ebfb4fa036abaf5 /res/parking/parking_bridge_features.c
parent77a9272431296772f5930301175bc0832076ac3e (diff)
parent13e75ee04fae19528be83093a7dc6bb4ff600aa2 (diff)
Merge "res_parking: Misc fixes."
Diffstat (limited to 'res/parking/parking_bridge_features.c')
-rw-r--r--res/parking/parking_bridge_features.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/res/parking/parking_bridge_features.c b/res/parking/parking_bridge_features.c
index e053ed74e..4eb3f71ed 100644
--- a/res/parking/parking_bridge_features.c
+++ b/res/parking/parking_bridge_features.c
@@ -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 */