Bug 6516 - u->chan not defined

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10339 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2006-02-16 22:59:38 +00:00
parent e8877446f6
commit 697d3208dd

View 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");