On Mon, 21 Nov 2011, Danny Nicholas wrote:
Option 2
Use WaitExten with Background
[getnum]
Exten => start,1,background(prompt)
Exten => start,n,waitexten(2)
Exten => 1111,1,noop(user pressed 1111)
Exten => I,1,playback(invalid)
For option 2 you have to define each valid 4 digit entry in the context.
Or, (since the OP seems a bit newbish), read up on extension pattern
matching.
--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards sedwa...@sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
--
_____________________________________________________________________
-- 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