summaryrefslogtreecommitdiff
path: root/apps/app_externalivr.c
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2006-02-16 22:59:38 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2006-02-16 22:59:38 +0000
commit697d3208dd3b771db2ba0c78d3c2a73f51c96180 (patch)
tree49b1ae8f5173fa9e0b44a77e640b051bc0dc5de5 /apps/app_externalivr.c
parente8877446f6133dbaaf05069ae70f1274f373211b (diff)
Bug 6516 - u->chan not defined
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10339 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_externalivr.c')
-rw-r--r--apps/app_externalivr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/app_externalivr.c b/apps/app_externalivr.c
index 2f62e51d5..c40c3d2e6 100644
--- a/apps/app_externalivr.c
+++ b/apps/app_externalivr.c
@@ -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");