RE: [Asterisk-Users] IVR woes

2006-03-23 Thread Rob Thomas
The magic command you want is 'WaitExten' - 'show application waitexten'
on the asterisk command line. 'show applications' is also a good one.

--Rob


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:asterisk-users-
 [EMAIL PROTECTED] On Behalf Of Dinesh Nair
 Sent: Sunday, 19 March 2006 3:46 PM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: Re: [Asterisk-Users] IVR woes
 
 
 
 On 03/10/06 05:00 Robert P. McKenzie said the following:
  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.
 
 perhaps placing Set(TIMEOUT(response)=XXX) and Set(TIMEOUT(digit)=YYY)
at
 the top of the dialplan would help better. also, bear in mind that
these
 timeouts have to be longer than the time it takes for your IVR voice
files
 to play to be of any good use.
 
 --
 Regards,   /\_/\   All dogs go to heaven.
 [EMAIL PROTECTED](0 0)http://www.alphaque.com/
 +==oOO--(_)--OOo
 ==+
 | for a in past present future; do
 |
 |   for b in clients employers associates relatives neighbours pets;
do
 |
 |   echo The opinions here in no way reflect the opinions of my $a
$b.
 |
 | done; done
 |

+===
==
 +
 ___
 --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
___
--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


Re: [Asterisk-Users] IVR woes

2006-03-19 Thread Dinesh Nair



On 03/10/06 05:00 Robert P. McKenzie said the following:

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.


perhaps placing Set(TIMEOUT(response)=XXX) and Set(TIMEOUT(digit)=YYY) at 
the top of the dialplan would help better. also, bear in mind that these 
timeouts have to be longer than the time it takes for your IVR voice files 
to play to be of any good use.


--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
--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


[Asterisk-Users] IVR woes

2006-03-09 Thread Robert P. McKenzie
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([EMAIL PROTECTED])
exten = _1,103,Voicemail([EMAIL PROTECTED])
exten = _1,4,Hangup

;
exten = _2,1,Background(LCL/prompt-30) ; Support
exten = _2,2,Dial(${SUPPORT}|40|trwo)
exten = _2,3,Voicemail([EMAIL PROTECTED])
exten = _2,103,Voicemail([EMAIL PROTECTED])
exten = _2,4,Hangup

;
exten = _3,1,Background(LCL/prompt-40) ; Accounts
exten = _3,2,Dial(${ACCOUNTS}|40|trwo)
exten = _3,3,Voicemail([EMAIL PROTECTED])
exten = _3,103,Voicemail([EMAIL PROTECTED])
exten = _3,4,Hangup

;
exten = _4,1,Background(LCL/prompt-50) ; Reception
exten = _4,2,Dial(${RECEPTION}|40|trwo)
exten = _4,3,Voicemail([EMAIL PROTECTED])
exten = _4,103,Voicemail([EMAIL PROTECTED])
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..
-- 
Robert P. McKenzie, CSTA, MBCS |   GammaRay Technical Services Ltd
[EMAIL PROTECTED] | [EMAIL PROTECTED]
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


Re: [Asterisk-Users] IVR woes

2006-03-09 Thread Sean Cook
-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([EMAIL PROTECTED])
 exten = _1,103,Voicemail([EMAIL PROTECTED]) exten = _1,4,Hangup

 ; exten = _2,1,Background(LCL/prompt-30) ; Support exten
 = _2,2,Dial(${SUPPORT}|40|trwo) exten =
 _2,3,Voicemail([EMAIL PROTECTED]) exten =
 _2,103,Voicemail([EMAIL PROTECTED]) exten = _2,4,Hangup

 ; exten = _3,1,Background(LCL/prompt-40) ; Accounts exten
 = _3,2,Dial(${ACCOUNTS}|40|trwo) exten =
 _3,3,Voicemail([EMAIL PROTECTED]) exten =
 _3,103,Voicemail([EMAIL PROTECTED]) exten = _3,4,Hangup

 ; exten = _4,1,Background(LCL/prompt-50) ; Reception exten
 = _4,2,Dial(${RECEPTION}|40|trwo) exten =
 _4,3,Voicemail([EMAIL PROTECTED]) exten =
 _4,103,Voicemail([EMAIL PROTECTED]) 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


Re: [Asterisk-Users] IVR woes

2006-03-09 Thread pdhales
WaitExten is also a great item to put at the bottom of your menus.

PaulH

- Original Message - 
From: Sean Cook [EMAIL PROTECTED]
To: Asterisk Users Mailing List - Non-Commercial Discussion
asterisk-users@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([EMAIL PROTECTED])
  exten = _1,103,Voicemail([EMAIL PROTECTED]) exten = _1,4,Hangup
 
  ; exten = _2,1,Background(LCL/prompt-30) ; Support exten
  = _2,2,Dial(${SUPPORT}|40|trwo) exten =
  _2,3,Voicemail([EMAIL PROTECTED]) exten =
  _2,103,Voicemail([EMAIL PROTECTED]) exten = _2,4,Hangup
 
  ; exten = _3,1,Background(LCL/prompt-40) ; Accounts exten
  = _3,2,Dial(${ACCOUNTS}|40|trwo) exten =
  _3,3,Voicemail([EMAIL PROTECTED]) exten =
  _3,103,Voicemail([EMAIL PROTECTED]) exten = _3,4,Hangup
 
  ; exten = _4,1,Background(LCL/prompt-50) ; Reception exten
  = _4,2,Dial(${RECEPTION}|40|trwo) exten =
  _4,3,Voicemail([EMAIL PROTECTED]) exten =
  _4,103,Voicemail([EMAIL PROTECTED]) 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

Re: [Asterisk-Users] IVR woes

2006-03-09 Thread Robert P. McKenzie
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([EMAIL PROTECTED])
exten = _1,103,Voicemail([EMAIL PROTECTED]) exten = _1,4,Hangup

; exten = _2,1,Background(LCL/prompt-30) ; Support exten
= _2,2,Dial(${SUPPORT}|40|trwo) exten =
_2,3,Voicemail([EMAIL PROTECTED]) exten =
_2,103,Voicemail([EMAIL PROTECTED]) exten = _2,4,Hangup

; exten = _3,1,Background(LCL/prompt-40) ; Accounts exten
= _3,2,Dial(${ACCOUNTS}|40|trwo) exten =
_3,3,Voicemail([EMAIL PROTECTED]) exten =
_3,103,Voicemail([EMAIL PROTECTED]) exten = _3,4,Hangup

; exten = _4,1,Background(LCL/prompt-50) ; Reception exten
= _4,2,Dial(${RECEPTION}|40|trwo) exten =
_4,3,Voicemail([EMAIL PROTECTED]) exten =
_4,103,Voicemail([EMAIL PROTECTED]) 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
[EMAIL PROTECTED] | [EMAIL PROTECTED]
http://www.uk-experience.com   |  http://www.gammaray-tech.com
   

Re: [Asterisk-Users] IVR woes

2006-03-09 Thread pdhales
Shove a WaitExten at the end of the menu.

PaulH

- Original Message - 
From: Robert P. McKenzie [EMAIL PROTECTED]
To: Asterisk Users Mailing List - Non-Commercial Discussion
asterisk-users@lists.digium.com
Sent: Friday, March 10, 2006 8:21 AM
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([EMAIL PROTECTED])
 exten = _1,103,Voicemail([EMAIL PROTECTED]) exten = _1,4,Hangup
 
 ; exten = _2,1,Background(LCL/prompt-30) ; Support exten
 = _2,2,Dial(${SUPPORT}|40|trwo) exten =
 _2,3,Voicemail([EMAIL PROTECTED]) exten =
 _2,103,Voicemail([EMAIL PROTECTED]) exten = _2,4,Hangup
 
 ; exten = _3,1,Background(LCL/prompt-40) ; Accounts exten
 = _3,2,Dial(${ACCOUNTS}|40|trwo) exten =
 _3,3,Voicemail([EMAIL PROTECTED]) exten =
 _3,103,Voicemail([EMAIL PROTECTED]) exten = _3,4,Hangup
 
 ; exten = _4,1,Background(LCL/prompt-50) ; Reception exten
 = _4,2,Dial(${RECEPTION}|40|trwo) exten =
 _4,3,Voicemail([EMAIL PROTECTED]) exten =
 _4,103,Voicemail([EMAIL PROTECTED]) 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

RE: [Asterisk-Users] IVR woes

2006-03-09 Thread Wiley Siler
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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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([EMAIL PROTECTED]) 
exten = _1,103,Voicemail([EMAIL PROTECTED]) exten = _1,4,Hangup

; exten = _2,1,Background(LCL/prompt-30) ; Support exten = 
_2,2,Dial(${SUPPORT}|40|trwo) exten =
_2,3,Voicemail([EMAIL PROTECTED]) exten =
_2,103,Voicemail([EMAIL PROTECTED]) exten = _2,4,Hangup

; exten = _3,1,Background(LCL/prompt-40) ; Accounts exten = 
_3,2,Dial(${ACCOUNTS}|40|trwo) exten =
_3,3,Voicemail([EMAIL PROTECTED]) exten =
_3,103,Voicemail([EMAIL PROTECTED]) exten = _3,4,Hangup

; exten = _4,1,Background(LCL/prompt-50) ; Reception exten = 
_4,2,Dial(${RECEPTION}|40|trwo) exten =
_4,3,Voicemail([EMAIL PROTECTED]) exten =
_4,103,Voicemail([EMAIL PROTECTED]) 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

Re: [Asterisk-Users] IVR woes

2006-03-09 Thread Robert P. McKenzie
Thanks for all the help.. it's pointed me to the solution..

The WaitExten is needed.  And with that I also found another problem with my 
goto statements in 9, i and t sections.

Thanks again all.  Just needed some extra eyes on it.

[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,Set(TIMEOUT(digit)=5)
exten = s,14,Set(TIMEOUT(response)=30)
exten = s,15,WaitExten(15)

;
exten = 1,1,Background(LCL/prompt-20)  ; Sales
exten = 1,2,Dial(${SALES}|40|tw)
exten = 1,3,Voicemail([EMAIL PROTECTED])
exten = 1,103,Voicemail([EMAIL PROTECTED])
exten = 1,4,Hangup

;
exten = 2,1,Background(LCL/prompt-30)  ; Support
exten = 2,2,Dial(${SUPPORT}|40|tw)
exten = 2,3,Voicemail([EMAIL PROTECTED])
exten = 2,103,Voicemail([EMAIL PROTECTED])
exten = 2,4,Hangup

;
exten = 3,1,Background(LCL/prompt-40)  ; Accounts
exten = 3,2,Dial(${ACCOUNTS}|40|tw)
exten = 3,3,Voicemail([EMAIL PROTECTED])
exten = 3,103,Voicemail([EMAIL PROTECTED])
exten = 3,4,Hangup

;
exten = 4,1,Background(LCL/prompt-50)  ; Reception
exten = 4,2,Dial(${RECEPTION}|40|tw)
exten = 4,3,Voicemail([EMAIL PROTECTED])
exten = 4,103,Voicemail([EMAIL PROTECTED])
exten = 4,4,Hangup

;
exten = 5,1,NoOp   ; Dial Extension
;
exten = 9,1,Goto(s,7)  ; Play menu again
;
exten = i,1,Goto(s,7)  ; Return to menu after a time out
exten = t,1,Goto(s,7)  ; Return to menu after a time out


Wiley Siler wrote:
 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: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] 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([EMAIL PROTECTED]) 
exten = _1,103,Voicemail([EMAIL PROTECTED]) exten = _1,4,Hangup

; exten = _2,1,Background(LCL/prompt-30) ; Support exten = 
_2,2,Dial(${SUPPORT}|40|trwo) exten =
_2,3,Voicemail([EMAIL PROTECTED]) exten =
_2,103,Voicemail([EMAIL PROTECTED]) exten = _2,4,Hangup

; exten = _3,1,Background(LCL/prompt-40) ; Accounts exten = 
_3,2,Dial(${ACCOUNTS}|40|trwo) exten =
_3,3,Voicemail([EMAIL PROTECTED]) exten =
_3,103,Voicemail([EMAIL PROTECTED]) exten = _3,4,Hangup

; exten = _4,1,Background(LCL/prompt-50) ; Reception exten = 
_4,2,Dial(${RECEPTION}|40|trwo) exten =
_4,3

Re: [Asterisk-Users] IVR woes

2006-03-09 Thread Doug Lytle

Robert P. McKenzie wrote:

Sean,

Thanks I've made those changes but still the same problem.  The call falls 
through if nothing is pushed.

 
  

In the extensions.conf:


; If autofallthrough is set, then if an extension runs out of
; things to do, it will terminate the call with BUSY, CONGESTION
; or HANGUP depending on Asterisk's best guess (strongly recommended).
;
; If autofallthrough is not set, then if an extension runs out of
; things to do, asterisk will wait for a new extension to be dialed
; (this is the original behavior of Asterisk 1.0 and earlier).
;
autofallthrough=yes



--
Ben Franklin quote:

Those who would give up Essential Liberty to purchase a little Temporary Safety, 
deserve neither Liberty nor Safety.


___
--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


Re: [Asterisk-Users] IVR woes

2006-03-09 Thread Robert P. McKenzie
Thanks, that's also fixed another issue I had with wanting users to beable to 
enter an extension number.

Doug Lytle wrote:
 Robert P. McKenzie wrote:
 
 Sean,

 Thanks I've made those changes but still the same problem.  The call
 falls through if nothing is pushed.

  
   
 
 In the extensions.conf:
 
 
 ; If autofallthrough is set, then if an extension runs out of
 ; things to do, it will terminate the call with BUSY, CONGESTION
 ; or HANGUP depending on Asterisk's best guess (strongly recommended).
 ;
 ; If autofallthrough is not set, then if an extension runs out of
 ; things to do, asterisk will wait for a new extension to be dialed
 ; (this is the original behavior of Asterisk 1.0 and earlier).
 ;
 autofallthrough=yes
 
 
 

-- 
Robert P. McKenzie, CSTA, MBCS |   GammaRay Technical Services Ltd
[EMAIL PROTECTED] | [EMAIL PROTECTED]
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