[asterisk-users] how to flush user input before READ()

Steve Edwards
Mon, 18 Jan 2016 17:38:52 -0000

On Mon, 18 Jan 2016, Ethy H. Brito wrote:

>> how to flush user input before READ()?

How about a read() to a dummy variable with a 1 second timeout to consume
the octothorpe and password?

--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST