aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b>2009-02-09 17:47:27 +0000
committerdvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b>2009-02-09 17:47:27 +0000
commitbfc53867a8327a3cd51139aa9bff2f9a7ac53de5 (patch)
tree5c6ccef63a6fcd752487d81ccfa64a8935aeb430
parentcd81a18339e0222ee742e65ef8072375c909e373 (diff)
Merged revisions 174325 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r174325 | dvossel | 2009-02-09 11:26:02 -0600 (Mon, 09 Feb 2009) | 9 lines 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/branches/1.6.1@174330 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--apps/app_externalivr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_externalivr.c b/apps/app_externalivr.c
index 20eda9b43..a10517516 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 };