[Home]

Summary:ASTERISK-00888: [patch] ast_readstring returns different value depending on the action
Reporter:izo (izo)Labels:
Date Opened:2004-01-21 13:44:24.000-0600Date Closed:2011-06-07 14:04:46
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) channel.c.diff
Description:Maybe someone find this patch usefull. I use it for checking
if ast_readstring() finished by timeout or by max digits read or via specified "ender digit". Especially if you have
many ender digits you may want to check which one was pressed.


****** ADDITIONAL INFORMATION ******

Returns
1 on timeout
2 on max digits
(100+char) on the ender pressed
Comments:By: twisted (twisted) 2004-04-17 23:14:29

HouseKeeping - No notes attached to this bug - no change since 1-28-04.  If this is something someone is still interested in, feel free to re-open.