]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
It's also possible for the Local channel to directly execute an Application.
authorTilghman Lesher <tilghman@meg.abyt.es>
Mon, 4 Jan 2010 16:18:59 +0000 (16:18 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Mon, 4 Jan 2010 16:18:59 +0000 (16:18 +0000)
Reviewboard: https://reviewboard.asterisk.org/r/452/

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

channels/chan_local.c

index cb317b9b2f5477adcbc3e3b27e0879a6af11e421..e0fba1bb2e58ffd854e2ab3ee87f32a78b9061ed 100644 (file)
@@ -212,7 +212,7 @@ static int local_queue_frame(struct local_pvt *p, int isoutbound, struct ast_fra
        }
 
        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);