aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--res/res_features.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/res/res_features.c b/res/res_features.c
index e5a6179e4..3a0edde81 100644
--- a/res/res_features.c
+++ b/res/res_features.c
@@ -581,6 +581,11 @@ static int masq_park_call(struct ast_channel *rchan, struct ast_channel *peer, i
/* Setup the extensions and such */
set_c_e_p(chan, rchan->context, rchan->exten, rchan->priority);
+ /* Setup the macro extension and such */
+ ast_copy_string(chan->macrocontext,rchan->macrocontext,sizeof(chan->macrocontext));
+ ast_copy_string(chan->macroexten,rchan->macroexten,sizeof(chan->macroexten));
+ chan->macropriority = rchan->macropriority;
+
/* Make the masq execute */
if ((f = ast_read(chan))) {
ast_frfree(f);