[asterisk-dev] [Code Review] app_read does not break from prompt loop with empty string

russell at digium.com russell at digium.com
Sat Feb 28 11:43:36 CST 2009


On Feb 27, 2009, at 11:41 AM, Leif Madsen  
<leif.madsen at asteriskdocs.org> wrote:
>>
>
> You think pressing '#' should cycle through the prompts? My reaction  
> would be
> that # ends the input for the Read() and should exit immediately. My  
> usage of &
> has always been to combine multiple prompts to act like a single  
> prompt. I would
> not want the '#' to cycle through to the next prompt by default.

The behavior that you describe is what I would expect Read() to do, as  
well.

--
Russell



More information about the asterisk-dev mailing list