diff options
author | dvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-02-09 17:26:02 +0000 |
---|---|---|
committer | dvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-02-09 17:26:02 +0000 |
commit | 4d3a6e4a88f5d3ff16ae67b5fd4aa93642852ce9 (patch) | |
tree | b29b02766e7d19f1cb1ebd9234f2a8e358e5fd76 /apps/app_externalivr.c | |
parent | a610dee8ab88ecb0f7bd8a87f0300436ca675807 (diff) |
Fixes issue with hangups not being sent and external process never terminating.
The ignore_hangup, run_dead, and noanswer flags were never initilized to zero causing hangups to never be issued. If the external script expects to be notified of a hangup and never receives one, it runs indefinitely.
(closes issue #14251)
Reported by: chris-mac
Tested by: dvossel
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@174325 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_externalivr.c')
-rw-r--r-- | apps/app_externalivr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_externalivr.c b/apps/app_externalivr.c index 936a111ac..a615fd76f 100644 --- a/apps/app_externalivr.c +++ b/apps/app_externalivr.c @@ -322,7 +322,7 @@ static struct playlist_entry *make_entry(const char *filename) static int app_exec(struct ast_channel *chan, void *data) { - struct ast_flags flags; + struct ast_flags flags = { 0, }; char *opts[0]; struct playlist_entry *entry; int child_stdin[2] = { 0, 0 }; |