[asterisk-commits] dvossel: trunk r174325 - /trunk/apps/app_externalivr.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Feb 9 11:26:02 CST 2009


Author: dvossel
Date: Mon Feb  9 11:26:02 2009
New Revision: 174325

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=174325
Log:
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


Modified:
    trunk/apps/app_externalivr.c

Modified: trunk/apps/app_externalivr.c
URL: http://svn.digium.com/svn-view/asterisk/trunk/apps/app_externalivr.c?view=diff&rev=174325&r1=174324&r2=174325
==============================================================================
--- trunk/apps/app_externalivr.c (original)
+++ trunk/apps/app_externalivr.c Mon Feb  9 11:26:02 2009
@@ -322,7 +322,7 @@
 
 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 };




More information about the asterisk-commits mailing list