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

Ethy H. Brito ethy.brito at inexo.com.br
Fri Jan 15 11:37:51 CST 2016


how to flush user input before READ()?

I wrote a small script to ask for user password before granting access to
outside, but some telefones memorize the full user input, including "#".

So, when the user press redial, for instance 5556789#123, asterisk accepts the
number and the password "123" and gives access to the outside word to whomever
redials that terminal.

Any hints?



More information about the asterisk-users mailing list