[Asterisk-Users] IVR woes
Wiley Siler
wsiler at education2020.com
Thu Mar 9 14:28:10 MST 2006
Hmm... Wouldn't you just place something in t,1,
To catch the timeout event and loop back to the top of the IVR?
W
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Robert P.
McKenzie
Sent: Thursday, March 09, 2006 2:21 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] IVR woes
Sean,
Thanks I've made those changes but still the same problem. The call
falls through if nothing is pushed.
-- Executing Set("IAX2/rob-6", "TIMEOUT(digit)=5") in new stack
-- Digit timeout set to 5
-- Executing Set("IAX2/rob-6", "TIMEOUT(response)=30") in new stack
-- Response timeout set to 30
== Auto fallthrough, channel 'IAX2/rob-6' status is 'UNKNOWN'
-- Hungup 'IAX2/rob-6'
The hangup is still asterisk dropping the call.
Sean Cook wrote:
> If memory servers me correctly DigitTimeout and ResponseTimeout are
> depricated...
>
> try:
>
> exten => s,13,Set(TIMEOUT(digit)=5)
> exten => s,14,Set(TIMEOUT(response)=30)
>
>
> Sean
>
> Robert P. McKenzie wrote:
>
>
>>>Hello all. I'm having a problem debugging an IVR I'm building. I
>>>can't see any reason this shouldn't be working. Firstly the asterisk
>>>version is:
>>>
>>>Asterisk SVN-trunk-r7230 built by root @ localhost.localdomain on a
>>>i686 running Linux on 2006-02-17 22:44:48 UTC
>>>
>>>Basically the problem is this. While the playbacks are happening you
>>>can push any one of the options and to happily goes off and does it.
>>>However, if you wait until the messages stop playing back it just
>>>hangs up with the error at the bottome of this message.
>>>
>>>Any help in finding a solution to this werid problem would be greatly
>>>appreciated.
>>>
>>>The IVR context and console logs are:
>>>
>>>[lcl-ivr-main]
>>>;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
>>>; ; This is the main number IVR menu system ;
>>>;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
>>>
>>>exten => s,1,Answer exten => s,2,NoOp exten => s,3,NoOp exten =>
>>>s,4,NoOp exten => s,5,Wait(1) exten =>
>>>s,6,Background(LCL/prompt-00) exten =>
>>>s,7,Background(LCL/prompt-01) exten =>
>>>s,8,Background(LCL/prompt-02) exten =>
>>>s,9,Background(LCL/prompt-03) exten =>
>>>s,10,Background(LCL/prompt-04) exten =>
>>>s,11,Background(LCL/prompt-05) exten =>
>>>s,12,Background(LCL/prompt-09) exten => s,13,DigitTimeout,5 exten =>
>>>s,14,ResponseTimeout,30
>>>
>>>; exten => _1,1,Background(LCL/prompt-20) ; Sales exten =>
>>>_1,2,Dial(${SALES}|40|trwo) exten => _1,3,Voicemail(u2863 at lcl-vm)
>>>exten => _1,103,Voicemail(b2863 at lcl-vm) exten => _1,4,Hangup
>>>
>>>; exten => _2,1,Background(LCL/prompt-30) ; Support exten =>
>>>_2,2,Dial(${SUPPORT}|40|trwo) exten =>
>>>_2,3,Voicemail(u2883 at lcl-vm) exten =>
>>>_2,103,Voicemail(b2883 at lcl-vm) exten => _2,4,Hangup
>>>
>>>; exten => _3,1,Background(LCL/prompt-40) ; Accounts exten =>
>>>_3,2,Dial(${ACCOUNTS}|40|trwo) exten =>
>>>_3,3,Voicemail(u2847 at lcl-vm) exten =>
>>>_3,103,Voicemail(b2847 at lcl-vm) exten => _3,4,Hangup
>>>
>>>; exten => _4,1,Background(LCL/prompt-50) ; Reception exten =>
>>>_4,2,Dial(${RECEPTION}|40|trwo) exten =>
>>>_4,3,Voicemail(u2856 at lcl-vm) exten =>
>>>_4,103,Voicemail(b2856 at lcl-vm) exten => _4,4,Hangup
>>>
>>>; exten => _5,1,NoOp ; Dial Extension ; exten =>
>>>_6,1,Goto(lcl-ivr-menu,s,7) ; Play menu again ; exten =>
>>>i,1,Goto(lcl-ivr-menu,s,7) ; Return to menu after a time out exten =>
>>>t,1,Goto(lcl-ivr-menu,s,7) ; Return to menu after a time out
>>>
>>>
>>>Here is he asterisk console output:
>>>
>>>-- Accepting AUTHENTICATED call from xx.xx.xx.xx:
>>>
>>>>requested format = unknown, requested prefs = (), actual format =
>>>>ulaw, host prefs = (ulaw|alaw|gsm), priority = mine
>>>
>>>-- Executing Goto("IAX2/rob-5", "lcl-ivr-main|s|1") in new stack --
>>>Goto (lcl-ivr-main,s,1) -- Executing Answer("IAX2/rob-5", "") in new
>>>stack -- Executing NoOp("IAX2/rob-5", "") in new stack -- Executing
>>>NoOp("IAX2/rob-5", "") in new stack -- Executing NoOp("IAX2/rob-5",
>>>"") in new stack -- Executing Wait("IAX2/rob-5",
>>>"1") in new stack -- Executing BackGround("IAX2/rob-5",
>>>"LCL/prompt-00") in new stack -- Playing 'LCL/prompt-00' (language
>>>'en') -- Executing BackGround("IAX2/rob-5", "LCL/prompt-01") in new
>>>stack -- Playing 'LCL/prompt-01' (language 'en') -- Executing
>>>BackGround("IAX2/rob-5", "LCL/prompt-02") in new stack -- Playing
>>>'LCL/prompt-02' (language 'en') -- Executing BackGround("IAX2/rob-5",
>>>"LCL/prompt-03") in new stack -- Playing 'LCL/prompt-03' (language
>>>'en') -- Executing BackGround("IAX2/rob-5", "LCL/prompt-04") in new
>>>stack -- Playing 'LCL/prompt-04' (language 'en') -- Executing
>>>BackGround("IAX2/rob-5", "LCL/prompt-05") in new stack -- Playing
>>>'LCL/prompt-05' (language 'en') -- Executing BackGround("IAX2/rob-5",
>>>"LCL/prompt-09") in new stack -- Playing 'LCL/prompt-09' (language
>>>'en') -- Executing DigitTimeout("IAX2/rob-5", "5") in new stack --
>>>Set Digit Timeout to 5 -- Executing ResponseTimeout("IAX2/rob-5",
>>>"30") in new stack
>>>-- Set Response Timeout to 30 == Auto fallthrough, channel
>>>'IAX2/rob-5' status is 'UNKNOWN' -- Hungup 'IAX2/rob-5'
>>>
>>>That hangup is Asterisk just dumping out..
>
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
--
Robert P. McKenzie, CSTA, MBCS | GammaRay Technical Services Ltd
rmckenzi at rpmdp.com | rob at gammaray-tech.com
http://www.uk-experience.com | http://www.gammaray-tech.com
Fancy some fun? http://www.thewetwilly.com
Ecademy Profile: http://www.ecademy.com/user/robertmckenzie
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list