Hi! > Im trying to create a custom application via the AGI. I want to > authenticate the users that dial in with a userid and pin. However, the > number of digits in the PIN and userid are variable, and therefore I need to > allow the user to "press enter" by hitting the pound key. How would I > accomplish this in the AGI?
Did you look at the appliation Digit()? If you must use AGI then EXEC Digit ... might do it for you. > stream_file doesnt seem to work, since it only allows one digit to be > pressed. > get_data seems to only allow a fixed number of digits to be entered. Why not use either of those repetitively and check in your AGI script if # was the digit, then accumlate what you have? Cheers, Philipp _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
