Re: [Asterisk-java-users] BaseAgiScript.getData()
Brought to you by:
srt
From: Stefan R. <sr...@re...> - 2006-04-13 16:27:04
|
Edu wrote: > One question, I need a 4-digits code from the caller and I'm trying > the method getData(java.lang.String file, int timeout,int axDigits), b= ut it=20 > only waits one digit and then returns the String. Is it the expected=20 > behaviour? Maybe I can use with a for, but it seems a little weird. just use String data =3D getData("myprompt", 30000, 4); This returns after the user entered 4 digits or hash (#) or after 30 seconds (the timeout). =3DStefan --=20 reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: sr...@re... Jabber: sr...@ja... |