Bug 6516 - u->chan not defined
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10339 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
17f5af7b6f
commit
2c8f53443d
|
@ -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");
|
||||
|
|
Reference in New Issue