I'd like to collect digits (either a fixed number of digits or a variable number ended by a pound sign. Read() is perfect. Authenticate is pretty good too. What I need is to prompt, not with a recording, but by playing a tone that will terminate at the receipt of the first digit, sort of like dial tone. In fact, it could BE dial tone. Anybody know how to do this?
Ed Greenberg wrote:> What I need is to prompt, not with a recording, but by playing a tone > that will terminate at the receipt of the first digit, sort of like > dial tone. In fact, it could BE dial tone.Why not just use a recording of your prompt tone and let Read do it for you? It will stop when the first digit has been dialed. Just set the timeout to something very short and make the recording as long as you want to wait.
Seemingly Similar Threads
- pound key tone generated after call answered?
- ATA-186 Double Digit problems
- Directory application: First DTMF digit is missed if pressed during "using your touch tone keypad..." announcement
- Play Dialtone - get digits
- Odd AGI Issue - STREAM FILE, GET DATA not playing file