aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--channels/chan_local.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/channels/chan_local.c b/channels/chan_local.c
index 724c721f8..b674a1560 100644
--- a/channels/chan_local.c
+++ b/channels/chan_local.c
@@ -251,7 +251,9 @@ static int local_queue_frame(struct local_pvt *p, int isoutbound, struct ast_fra
}
if (other) {
- ast_queue_frame(other, f);
+ if (other->pbx || other->_bridge) {
+ ast_queue_frame(other, f);
+ } /* else the frame won't go anywhere */
ast_channel_unlock(other);
}