[asterisk-commits] file: branch 1.4 r232355 - /branches/1.4/apps/app_amd.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Dec 2 11:04:56 CST 2009


Author: file
Date: Wed Dec  2 11:04:52 2009
New Revision: 232355

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=232355
Log:
Fix a bug where if you hung up very quickly after calling AMD it would overwrite the AMDSTATUS of HANGUP with TOOLONG.

(closes issue #16239)
Reported by: CGMChris

Modified:
    branches/1.4/apps/app_amd.c

Modified: branches/1.4/apps/app_amd.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/apps/app_amd.c?view=diff&rev=232355&r1=232354&r2=232355
==============================================================================
--- branches/1.4/apps/app_amd.c (original)
+++ branches/1.4/apps/app_amd.c Wed Dec  2 11:04:52 2009
@@ -209,6 +209,7 @@
 			if (option_debug)
 				ast_log(LOG_DEBUG, "Got hangup\n");
 			strcpy(amdStatus, "HANGUP");
+			res = 1;
 			break;
 		}
 




More information about the asterisk-commits mailing list