summaryrefslogtreecommitdiff
path: root/res/res_features.c
diff options
context:
space:
mode:
Diffstat (limited to 'res/res_features.c')
-rwxr-xr-xres/res_features.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/res/res_features.c b/res/res_features.c
index f79d2b4e2..98fb5fb19 100755
--- a/res/res_features.c
+++ b/res/res_features.c
@@ -358,6 +358,8 @@ int ast_bridge_call(struct ast_channel *chan,struct ast_channel *peer,struct ast
/* We ran out of time */
config->timelimit = 0;
who = chan;
+ if (f)
+ ast_frfree(f);
f = NULL;
res = 0;
}
@@ -384,6 +386,12 @@ int ast_bridge_call(struct ast_channel *chan,struct ast_channel *peer,struct ast
else
ast_indicate(chan, -1);
}
+ if ((f->frametype == AST_FRAME_CONTROL) && (f->subclass == AST_CONTROL_FLASH)) {
+ if (who == chan)
+ ast_indicate(peer, AST_CONTROL_FLASH);
+ else
+ ast_indicate(chan, AST_CONTROL_FLASH);
+ }
if ((f->frametype == AST_FRAME_CONTROL) && (f->subclass == AST_CONTROL_OPTION)) {
aoh = f->data;
/* Forward option Requests */