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

Ethy H. Brito ethy.brito at inexo.com.br
Mon Jan 18 07:32:45 CST 2016


Hi All.

No one ? Anyone?

Cheers

Ethy


On Fri, 15 Jan 2016 15:37:51 -0200
"Ethy H. Brito" <ethy.brito at inexo.com.br> wrote:

> 
> Hi
> 
> 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?
> 
> Cheers
> 
> Ethy
> 
> -- 
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                http://www.asterisk.org/hello
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users


-- 

Ethy H. Brito         /"\
InterNexo Ltda.       \ /  CAMPANHA DA FITA ASCII - CONTRA MAIL HTML
+55 (12) 3797-6860     X   ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
S.J.Campos - Brasil   / \ 
 
PGP key: http://www.inexo.com.br/~ethy/0xC3F222A0.asc



More information about the asterisk-users mailing list