Bug 6516 - u->chan not defined
authorTilghman Lesher <tilghman@meg.abyt.es>
Thu, 16 Feb 2006 22:59:38 +0000 (22:59 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Thu, 16 Feb 2006 22:59:38 +0000 (22:59 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10339 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_externalivr.c

index 2f62e51..c40c3d2 100644 (file)
@@ -267,6 +267,7 @@ static int app_exec(struct ast_channel *chan, void *data)
        AST_LIST_HEAD_INIT(&u->playlist);
        AST_LIST_HEAD_INIT(&u->finishlist);
        u->abort_current_sound = 0;
+       u->chan = chan;
        
        if (ast_strlen_zero(args)) {
                ast_log(LOG_WARNING, "ExternalIVR requires a command to execute\n");