diff options
Diffstat (limited to 'channels/chan_local.c')
-rw-r--r-- | channels/chan_local.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/channels/chan_local.c b/channels/chan_local.c index 00c058da1..b86c48c8b 100644 --- a/channels/chan_local.c +++ b/channels/chan_local.c @@ -257,7 +257,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); } |