Files
asterisk/include/asterisk
David Vossel 979eb709ae app_read does not break from prompt loop with user terminated empty string
In app.c, ast_app_getdata is called to stream the prompts and receive DTMF input.  If ast_app_getdata() receives an empty string caused by the user inputing the end of string character, in this case '#', it should break from the prompt loop and return to app_read, but instead it cycles through all the prompts.  I've added a return value for this special case in ast_readstring() which uses an enum I've delcared in apps.h.  This enum is now used as a return value for ast_app_getdata().

(closes issue #14279)
Reported by: Marquis
Patches:
	fix_app_read.patch uploaded by Marquis (license 32)
	read-ampersanmd.patch2 uploaded by dvossel (license 671)
Tested by: Marquis, dvossel
Review: http://reviewboard.digium.com/r/177/




git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@180032 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-03-03 23:21:18 +00:00
..
2007-12-11 14:17:29 +00:00
2007-12-11 14:17:29 +00:00
2007-12-11 14:17:29 +00:00
2007-12-11 14:17:29 +00:00
2009-02-19 16:45:02 +00:00
2008-12-01 18:52:14 +00:00
2008-11-29 17:57:39 +00:00
2008-07-21 21:00:47 +00:00
2009-02-18 06:14:47 +00:00
2008-08-04 16:34:04 +00:00
2007-11-23 09:03:33 +00:00
2007-12-11 14:17:29 +00:00
2008-11-29 17:57:39 +00:00
2009-02-19 00:26:01 +00:00
2009-01-29 19:34:09 +00:00
2007-11-06 02:53:13 +00:00
2009-01-17 01:56:36 +00:00
2007-12-11 22:20:22 +00:00
2007-12-11 22:20:22 +00:00
2008-11-13 13:08:34 +00:00
2008-11-13 13:08:34 +00:00