Merged revisions 237318 via svnmerge from
authorTilghman Lesher <tilghman@meg.abyt.es>
Mon, 4 Jan 2010 16:20:03 +0000 (16:20 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Mon, 4 Jan 2010 16:20:03 +0000 (16:20 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r237318 | tilghman | 2010-01-04 10:18:59 -0600 (Mon, 04 Jan 2010) | 3 lines

  It's also possible for the Local channel to directly execute an Application.
  Reviewboard: https://reviewboard.asterisk.org/r/452/
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@237319 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_local.c

index b86c48c..c1eaf92 100644 (file)
@@ -257,7 +257,7 @@ static int local_queue_frame(struct local_pvt *p, int isoutbound, struct ast_fra
        }
 
        if (other) {
        }
 
        if (other) {
-               if (other->pbx || other->_bridge) {
+               if (other->pbx || other->_bridge || !ast_strlen_zero(other->appl)) {
                        ast_queue_frame(other, f);
                } /* else the frame won't go anywhere */
                ast_channel_unlock(other);
                        ast_queue_frame(other, f);
                } /* else the frame won't go anywhere */
                ast_channel_unlock(other);