[asterisk-commits] russell: branch 1.2 r68526 - /branches/1.2/apps/app_dictate.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Jun 8 15:22:37 MST 2007


Author: russell
Date: Fri Jun  8 17:22:36 2007
New Revision: 68526

URL: http://svn.digium.com/view/asterisk?view=rev&rev=68526
Log:
Don't automatically hang up after running Dictate so that callers can exit
cleanly using '#'
(closes issue #9577, patch from Thomas Andrews)

Modified:
    branches/1.2/apps/app_dictate.c

Modified: branches/1.2/apps/app_dictate.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/apps/app_dictate.c?view=diff&rev=68526&r1=68525&r2=68526
==============================================================================
--- branches/1.2/apps/app_dictate.c (original)
+++ branches/1.2/apps/app_dictate.c Fri Jun  8 17:22:36 2007
@@ -321,7 +321,7 @@
 		ast_set_read_format(chan, oldr);
 	}
 	LOCAL_USER_REMOVE(u);
-	return res;
+	return 0;
 }
 
 int unload_module(void)



More information about the asterisk-commits mailing list