Merged revisions 236981 via svnmerge from
[asterisk/asterisk.git] / channels / chan_local.c
index 00c058d..b86c48c 100644 (file)
@@ -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);
        }