[Asterisk-Users] IVR woes
pdhales at optusnet.com.au
pdhales at optusnet.com.au
Thu Mar 9 14:20:27 MST 2006
WaitExten is also a great item to put at the bottom of your menus.
PaulH
----- Original Message -----
From: "Sean Cook" <scook at kinex.net>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
<asterisk-users at lists.digium.com>
Sent: Friday, March 10, 2006 8:13 AM
Subject: Re: [Asterisk-Users] IVR woes
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> 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..
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (MingW32)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iD8DBQFEEJqCy9wPyZpnL2URAv7FAJ4osYoTdKTcaf7IkEw1OltM+TlPEQCgkhan
> kh5RdDr3YmN34Gs0lCXFtjo=
> =7dVG
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> --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