Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Stupid Timeout Question


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
dougmig33 at yahoo.com
Guest





PostPosted: Thu May 01, 2008 7:34 pm    Post subject: [asterisk-users] Stupid Timeout Question Reply with quote

I haven't done this for a while... yes, that is my excuse.

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)

It never gets to the timeout extension when the user enters nothing. I tried it with autofallthrough set to no as well. No change. Asterisk 1.2. What am I missing?
Doug.


____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080501/80eb8ddb/attachment.htm
Back to top
asterisk.org at sedwar...
Guest





PostPosted: Thu May 01, 2008 8:04 pm    Post subject: [asterisk-users] Stupid Timeout Question Reply with quote

On Thu, 1 May 2008, Douglas Garstang wrote:

Quote:
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 sedwards at sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services