[Asterisk-java-devel] get options - multiple numbers
Brought to you by:
srt
From: Chris H. <ch...@as...> - 2006-08-09 03:51:13
|
Here's a general AGI question for the list. I need to be able to use the get options command but I need it to be a variable length option. For example I want to allow the caller to select 1 for sales, 2 for support or enter a 4 digit extension. Ok now it gets even trickier as the 4 digit extension can start wit a 1 or 2 so that there needs to be a timeout on the numbers as well. So the caller can press 1 for sales (and wait for X seconds) or press 1111 and get short circuited to extension 1111. Has anyone done anything like this using AJ? Cheers, Chris |