On Thu, 1 May 2008, Douglas Garstang wrote:
> What the heck is wrong with this?
>
> [general]
> autofallthrough=yes
>
> ....
> exten => s,n(prompt),NoOp()
> exten => s,n,Background(wish-to-continue)
> exten => s,n,Background(1-yes-2-no)
> exten => s,n,WaitExten(5)
>
> ; User entered nothing
> exten => t,1,Playback(yes-dear)
> exten => t,n,Goto(s,prompt)
Waitexten() does not "trigger" a timeout when it expires, it continues
inline.
Add
exten = s,n, verbose(Dooh!)
exten = s,n, hangup()
exten = 1,1, verbose(yes)
exten = 1,n, hangup()
exten = 2,1, verbose(no)
exten = 2,n, hangup()
after waitexten().
Thanks in advance,
------------------------------------------------------------------------
Steve Edwards [EMAIL PROTECTED] Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users