Re: [Asterisk-Users] Delays in IVR

2005-12-27 Thread Adam Moffett




  ;extensions for dan and adam
  ;dan - since people already know dan as extension 3, we keep
that for compatibility
  exten = 3,1,GoTo(Pleximenu|103|1)
  exten = 103,1,GoTo(default|103|1)

  ;adam
  exten = 104,1,GoTo(default|104|1)

   




The bottom of the dialplan is your culprit here. It's waiting the
additional time because it's not sure whether or not you're going to
enter 103 or 104 as opposed to just 1, so it's waiting for the digit
timeout to be sure.
 



Several people made that suggestion, but I had already tried it with 
those extensions commented out.  Would anything be neccesary to make the 
change take effect aside from extensions reload?

___
--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] Delays in IVR

2005-12-27 Thread BJ Weschke
On 12/27/05, Adam Moffett [EMAIL PROTECTED] wrote:

 
;extensions for dan and adam
;dan - since people already know dan as extension 3, we keep
 that for compatibility
exten = 3,1,GoTo(Pleximenu|103|1)
exten = 103,1,GoTo(default|103|1)
 
;adam
exten = 104,1,GoTo(default|104|1)
 
 
  The bottom of the dialplan is your culprit here. It's waiting the
 additional time because it's not sure whether or not you're going to
 enter 103 or 104 as opposed to just 1, so it's waiting for the digit
 timeout to be sure.
 
 

 Several people made that suggestion, but I had already tried it with
 those extensions commented out.  Would anything be neccesary to make the
 change take effect aside from extensions reload?

 No. extensions reload should do it. I'd do a show dialplan
Pleximenu to make certain there's no other extensions starting with
digits that are part of your IVR menu to confirm.


--
Bird's The Word Technologies, Inc.
http://www.btwtech.com/
___
--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] Delays in IVR

2005-12-27 Thread Rich Adamson
 
 
;extensions for dan and adam
;dan - since people already know dan as extension 3, we keep
 that for compatibility
exten = 3,1,GoTo(Pleximenu|103|1)
exten = 103,1,GoTo(default|103|1)
 
;adam
exten = 104,1,GoTo(default|104|1)
 
 
 
 
 
  The bottom of the dialplan is your culprit here. It's waiting the
 additional time because it's not sure whether or not you're going to
 enter 103 or 104 as opposed to just 1, so it's waiting for the digit
 timeout to be sure.
   
 
 
 Several people made that suggestion, but I had already tried it with 
 those extensions commented out.  Would anything be neccesary to make the 
 change take effect aside from extensions reload?

As someone else mentioned, have you tried playing with:
[bus-ivr-main]
exten = s,1,Wait,1 
exten = s,2,Answer 
exten = s,3,Set(TIMEOUT(digit)=5)   
exten = s,4,Set(TIMEOUT(response)=10)

and changing the digit timeout value to something different?


___
--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] Delays in IVR

2005-12-26 Thread Adam Moffett

I set up an IVR awhile back.

press 1 for sales, press 2 for support  etc etc.

Everything works fine except when you enter your option there is a 7 or 
8 second pause before the next step is taken in the dial plan.  I assume 
it's waiting to see if I'm going to dial more digits, but is there a way 
to reduce this delay?


Thanks in advance.
___
--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] Delays in IVR

2005-12-26 Thread Eric \ManxPower\ Wieling

Adam Moffett wrote:

I set up an IVR awhile back.

press 1 for sales, press 2 for support  etc etc.

Everything works fine except when you enter your option there is a 7 or 
8 second pause before the next step is taken in the dial plan.  I assume 
it's waiting to see if I'm going to dial more digits, but is there a way 
to reduce this delay?


Yes, don't have overlapping extensions.  i.e. either don't have an 
option 7 or 8 or don't number your extensions starting with 7 or 8

___
--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] Delays in IVR

2005-12-26 Thread BJ Weschke
On 12/26/05, Adam Moffett [EMAIL PROTECTED] wrote:
 I set up an IVR awhile back.

 press 1 for sales, press 2 for support  etc etc.

 Everything works fine except when you enter your option there is a 7 or
 8 second pause before the next step is taken in the dial plan.  I assume
 it's waiting to see if I'm going to dial more digits, but is there a way
 to reduce this delay?

 Thanks in advance.

 Please post the appropriate section in extensions.conf that is
responsible for the IVR's operation.

--
Bird's The Word Technologies, Inc.
http://www.btwtech.com/
___
--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] Delays in IVR

2005-12-26 Thread Adam Moffett





I set up an IVR awhile back.

press 1 for sales, press 2 for support  etc etc.

Everything works fine except when you enter your option there is a 7 
or 8 second pause before the next step is taken in the dial plan.  I 
assume it's waiting to see if I'm going to dial more digits, but is 
there a way to reduce this delay?



Yes, don't have overlapping extensions.  i.e. either don't have an 
option 7 or 8 or don't number your extensions starting with 7 or 8

___


I don't actually have an option 7 or 8.I was attempting to say that 
there is a 7-8 second pause after selecting your option.

___
--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] Delays in IVR

2005-12-26 Thread Adam Moffett



Please post the appropriate section in extensions.conf that is
responsible for the IVR's operation.

 


You asked for it.

The pleximenu context is reached from the default context by a simple 
goto, as in:

exten = [ourphonenumber],1,GoTo(pleximenu|s|1)

Everything works as I expect it to except for the long delay between 
dialing your option and actually getting your option. 


[pleximenu]
   exten = s,1,Answer()
   exten = s,2,GoToIfTime(${BUSHOURS}?pleximenu|s-OPENHOURS|1)
   exten = s,3,Noop(Must not be business hours)
   exten = s,4,GoTo(pleximenu|s-OFFHOURS|1)

   exten = s-OPENHOURS,1,Wait(1)
   exten = s-OPENHOURS,2,Background(plexicomm/Main_Greeting)
   exten = s-OPENHOURS,3,WaitExten(15)
   exten = s-OPENHOURS,4,Background(plexicomm/Main_Greeting)
   exten = s-OPENHOURS,5,WaitExten(15)
   exten = s-OPENHOURS,6,Hangup()

   exten = s-OFFHOURS,1,Wait(1)
   exten = s-OFFHOURS,2,BackGround(plexicomm/off_hours_greeting)
   exten = s-OFFHOURS,3,WaitExten(15)
   exten = s-OFFHOURS,4,BackGround(plexicomm/off_hours_greeting)
   exten = s-OFFHOURS,5,WaitExten(15)
   exten = s-OFFHOURS,6,Hangup()

   ;sales
   exten = 1,1,Wait(1)
   exten = 1,2,GoToIfTime(${BUSHOURS}?pleximenu|1-OPEN|1)
   exten = 1,3,Noop(Must be off hours)
   exten = 1,4,GoTo(pleximenu|1-OFFHOURS|1)

   exten = 1-OPEN,1,Playback(plexicomm/hold_for_sales)
   exten = 1-OPEN,2,Noop()
   exten = 1-OPEN,3,Dial(${OFFICEPHONES}|30|m)
   exten = 1-OPEN,4,Dial(${ONCALLPHONES}|${ONCALLTIMEOUT}|m)
   exten = 1-OPEN,5,Playback(plexicomm/sales_unavailable)
   exten = 1-OPEN,6,Voicemail([EMAIL PROTECTED]|s)
   exten = 1-OPEN,7,Playback(plexicomm/thanks_for_interest)
   exten = 1-OPEN,8,Hangup()
   exten = 1-OFFHOURS,1,voicemail([EMAIL PROTECTED])
   exten = 1-OFFHOURS,2,Hangup()

   ;support
   exten = 2,1,Wait(1)
   exten = 2,2,GoToIfTime(${BUSHOURS}?pleximenu|2-OPEN|1)
   exten = 2,3,Noop(Must be off hours)
   exten = 2,4,GoTo(pleximenu|2-OFFHOURS|1)

   exten = 2-OPEN,1,Playback(plexicomm/hold_for_support)
   exten = 2-OPEN,2,Noop()
   exten = 2-OPEN,3,Dial(${OFFICEPHONES}|30|m)
   exten = 2-OPEN,4,Dial(${ONCALLPHONES}|${ONCALLTIMEOUT}|m)
   exten = 2-OPEN,5,Playback(plexicomm/support_unavailable)
   exten = 2-OPEN,6,Voicemail([EMAIL PROTECTED]|s)
   exten = 2-OPEN,7,Playback(plexicomm/thanks_for_interest)
   exten = 2-OPEN,8,Hangup()
   exten = 2-OFFHOURS,1,voicemail([EMAIL PROTECTED])
   exten = 2-OFFHOURS,2,Hangup()

   ;Starts a variable called ATTEMPT at 1
   ; tries calling ONCALLPHONES
   ; increments ATTEMPT variable by 1
   ; tries again until ATTEMPT = 4
   ; should be 3 attempts total
   ; set ONCALLTIMEOUT to a number of seconds before your voicemail 
picks up.

   exten = 9,1,GoToIfTime(${BUSHOURS}?pleximenu|2-OPEN|1)
   ;we shouldn't be doing this during business hours
   exten = 9,2,Playback(plexicomm/page_support)
   exten = 9,3,Set(ATTEMPT=1)
   exten = 9,4,GoToIf($[${ATTEMPT} : 4]?9-FAILED|1)
   exten = 9,5,Dial(${ONCALLPHONES}|${ONCALLTIMEOUT}|m)
   exten = 9,6,Set(ATTEMPT=$[${ATTEMPT} + 1])
   exten = 9,7,Playback(plexicomm/keep_paging)
   exten = 9,8,Wait(2)
   ;waiting 2 seconds to allow cell connections to terminate
   exten = 9,9,GoTo(pleximenu|9|4)
   exten = 9,10,Hangup()
   exten = 9-FAILED,1,GoTo(pleximenu|2-OPEN|5)


   ;extensions for dan and adam
   ;dan - since people already know dan as extension 3, we keep 
that for compatibility

   exten = 3,1,GoTo(Pleximenu|103|1)
   exten = 103,1,GoTo(default|103|1)

   ;adam
   exten = 104,1,GoTo(default|104|1)

___
--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] Delays in IVR

2005-12-26 Thread C F
The delay is caused because asterisk has found more than one extension
matching the digit dialed (for example if your extensions start with 1
i.e. 11,12, and so on, then when the person presses 1, and the context
that the IVR is in has access to the extensions context, asterisk has
more than 1 possible extensions, 1 and 11,12, and so on) asterisk will
wait for another digit  so it can have a definite match or until a
timeout is reached, the timeout can be set:
pre 1.2 branch:
DigitTimeout(n)
1.2 and on:
Set(TIMEOUT(digit)=n)
where n is number in seconds
Set that n to 3 so that the delay is only 3 seconds.
Please keep in mind that you should really get rid of the problem by
making sure that you don't have overlaps in your dialplan.


On 12/26/05, Adam Moffett [EMAIL PROTECTED] wrote:

  Please post the appropriate section in extensions.conf that is
 responsible for the IVR's operation.
 
 
 
 You asked for it.

 The pleximenu context is reached from the default context by a simple
 goto, as in:
 exten = [ourphonenumber],1,GoTo(pleximenu|s|1)

 Everything works as I expect it to except for the long delay between
 dialing your option and actually getting your option.

 [pleximenu]
exten = s,1,Answer()
exten = s,2,GoToIfTime(${BUSHOURS}?pleximenu|s-OPENHOURS|1)
exten = s,3,Noop(Must not be business hours)
exten = s,4,GoTo(pleximenu|s-OFFHOURS|1)

exten = s-OPENHOURS,1,Wait(1)
exten = s-OPENHOURS,2,Background(plexicomm/Main_Greeting)
exten = s-OPENHOURS,3,WaitExten(15)
exten = s-OPENHOURS,4,Background(plexicomm/Main_Greeting)
exten = s-OPENHOURS,5,WaitExten(15)
exten = s-OPENHOURS,6,Hangup()

exten = s-OFFHOURS,1,Wait(1)
exten = s-OFFHOURS,2,BackGround(plexicomm/off_hours_greeting)
exten = s-OFFHOURS,3,WaitExten(15)
exten = s-OFFHOURS,4,BackGround(plexicomm/off_hours_greeting)
exten = s-OFFHOURS,5,WaitExten(15)
exten = s-OFFHOURS,6,Hangup()

;sales
exten = 1,1,Wait(1)
exten = 1,2,GoToIfTime(${BUSHOURS}?pleximenu|1-OPEN|1)
exten = 1,3,Noop(Must be off hours)
exten = 1,4,GoTo(pleximenu|1-OFFHOURS|1)

exten = 1-OPEN,1,Playback(plexicomm/hold_for_sales)
exten = 1-OPEN,2,Noop()
exten = 1-OPEN,3,Dial(${OFFICEPHONES}|30|m)
exten = 1-OPEN,4,Dial(${ONCALLPHONES}|${ONCALLTIMEOUT}|m)
exten = 1-OPEN,5,Playback(plexicomm/sales_unavailable)
exten = 1-OPEN,6,Voicemail([EMAIL PROTECTED]|s)
exten = 1-OPEN,7,Playback(plexicomm/thanks_for_interest)
exten = 1-OPEN,8,Hangup()
exten = 1-OFFHOURS,1,voicemail([EMAIL PROTECTED])
exten = 1-OFFHOURS,2,Hangup()

;support
exten = 2,1,Wait(1)
exten = 2,2,GoToIfTime(${BUSHOURS}?pleximenu|2-OPEN|1)
exten = 2,3,Noop(Must be off hours)
exten = 2,4,GoTo(pleximenu|2-OFFHOURS|1)

exten = 2-OPEN,1,Playback(plexicomm/hold_for_support)
exten = 2-OPEN,2,Noop()
exten = 2-OPEN,3,Dial(${OFFICEPHONES}|30|m)
exten = 2-OPEN,4,Dial(${ONCALLPHONES}|${ONCALLTIMEOUT}|m)
exten = 2-OPEN,5,Playback(plexicomm/support_unavailable)
exten = 2-OPEN,6,Voicemail([EMAIL PROTECTED]|s)
exten = 2-OPEN,7,Playback(plexicomm/thanks_for_interest)
exten = 2-OPEN,8,Hangup()
exten = 2-OFFHOURS,1,voicemail([EMAIL PROTECTED])
exten = 2-OFFHOURS,2,Hangup()

;Starts a variable called ATTEMPT at 1
; tries calling ONCALLPHONES
; increments ATTEMPT variable by 1
; tries again until ATTEMPT = 4
; should be 3 attempts total
; set ONCALLTIMEOUT to a number of seconds before your voicemail
 picks up.
exten = 9,1,GoToIfTime(${BUSHOURS}?pleximenu|2-OPEN|1)
;we shouldn't be doing this during business hours
exten = 9,2,Playback(plexicomm/page_support)
exten = 9,3,Set(ATTEMPT=1)
exten = 9,4,GoToIf($[${ATTEMPT} : 4]?9-FAILED|1)
exten = 9,5,Dial(${ONCALLPHONES}|${ONCALLTIMEOUT}|m)
exten = 9,6,Set(ATTEMPT=$[${ATTEMPT} + 1])
exten = 9,7,Playback(plexicomm/keep_paging)
exten = 9,8,Wait(2)
;waiting 2 seconds to allow cell connections to terminate
exten = 9,9,GoTo(pleximenu|9|4)
exten = 9,10,Hangup()
exten = 9-FAILED,1,GoTo(pleximenu|2-OPEN|5)


;extensions for dan and adam
;dan - since people already know dan as extension 3, we keep
 that for compatibility
exten = 3,1,GoTo(Pleximenu|103|1)
exten = 103,1,GoTo(default|103|1)

;adam
exten = 104,1,GoTo(default|104|1)

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

Re: [Asterisk-Users] Delays in IVR

2005-12-26 Thread Eric \ManxPower\ Wieling

Imagine this:

[fnord-context]

exten = 1,1,Noop(Selection 1)

exten = 2,1,Noop(Selection 2)

exten = 3,1,Noop(Selection 3)

exten = 4,1,Noop(Selection 4)

exten = _XXX,1,Noop(Wants to call ${EXTEN})

When you dial option 2 how does Asterisk know you don't want to call 
extension 200?  In the above example it doesn't.  It will wait for 
DigitTimeout before processing continues.


I suspect you have something similar in your dialplan.

Adam Moffett wrote:





I set up an IVR awhile back.

press 1 for sales, press 2 for support  etc etc.

Everything works fine except when you enter your option there is a 7 
or 8 second pause before the next step is taken in the dial plan.  I 
assume it's waiting to see if I'm going to dial more digits, but is 
there a way to reduce this delay?



Yes, don't have overlapping extensions.  i.e. either don't have an 
option 7 or 8 or don't number your extensions starting with 7 or 8

___


I don't actually have an option 7 or 8.I was attempting to say that 
there is a 7-8 second pause after selecting your option.

___
--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] Delays in IVR

2005-12-26 Thread BJ Weschke
On 12/26/05, Adam Moffett [EMAIL PROTECTED] wrote:

  Please post the appropriate section in extensions.conf that is
 responsible for the IVR's operation.
 
 
 
 You asked for it.

 The pleximenu context is reached from the default context by a simple
 goto, as in:
 exten = [ourphonenumber],1,GoTo(pleximenu|s|1)

 Everything works as I expect it to except for the long delay between
 dialing your option and actually getting your option.

 [pleximenu]
exten = s,1,Answer()
exten = s,2,GoToIfTime(${BUSHOURS}?pleximenu|s-OPENHOURS|1)
exten = s,3,Noop(Must not be business hours)
exten = s,4,GoTo(pleximenu|s-OFFHOURS|1)

exten = s-OPENHOURS,1,Wait(1)
exten = s-OPENHOURS,2,Background(plexicomm/Main_Greeting)
exten = s-OPENHOURS,3,WaitExten(15)
exten = s-OPENHOURS,4,Background(plexicomm/Main_Greeting)
exten = s-OPENHOURS,5,WaitExten(15)
exten = s-OPENHOURS,6,Hangup()

exten = s-OFFHOURS,1,Wait(1)
exten = s-OFFHOURS,2,BackGround(plexicomm/off_hours_greeting)
exten = s-OFFHOURS,3,WaitExten(15)
exten = s-OFFHOURS,4,BackGround(plexicomm/off_hours_greeting)
exten = s-OFFHOURS,5,WaitExten(15)
exten = s-OFFHOURS,6,Hangup()

;sales
exten = 1,1,Wait(1)
exten = 1,2,GoToIfTime(${BUSHOURS}?pleximenu|1-OPEN|1)
exten = 1,3,Noop(Must be off hours)
exten = 1,4,GoTo(pleximenu|1-OFFHOURS|1)

exten = 1-OPEN,1,Playback(plexicomm/hold_for_sales)
exten = 1-OPEN,2,Noop()
exten = 1-OPEN,3,Dial(${OFFICEPHONES}|30|m)
exten = 1-OPEN,4,Dial(${ONCALLPHONES}|${ONCALLTIMEOUT}|m)
exten = 1-OPEN,5,Playback(plexicomm/sales_unavailable)
exten = 1-OPEN,6,Voicemail([EMAIL PROTECTED]|s)
exten = 1-OPEN,7,Playback(plexicomm/thanks_for_interest)
exten = 1-OPEN,8,Hangup()
exten = 1-OFFHOURS,1,voicemail([EMAIL PROTECTED])
exten = 1-OFFHOURS,2,Hangup()

;support
exten = 2,1,Wait(1)
exten = 2,2,GoToIfTime(${BUSHOURS}?pleximenu|2-OPEN|1)
exten = 2,3,Noop(Must be off hours)
exten = 2,4,GoTo(pleximenu|2-OFFHOURS|1)

exten = 2-OPEN,1,Playback(plexicomm/hold_for_support)
exten = 2-OPEN,2,Noop()
exten = 2-OPEN,3,Dial(${OFFICEPHONES}|30|m)
exten = 2-OPEN,4,Dial(${ONCALLPHONES}|${ONCALLTIMEOUT}|m)
exten = 2-OPEN,5,Playback(plexicomm/support_unavailable)
exten = 2-OPEN,6,Voicemail([EMAIL PROTECTED]|s)
exten = 2-OPEN,7,Playback(plexicomm/thanks_for_interest)
exten = 2-OPEN,8,Hangup()
exten = 2-OFFHOURS,1,voicemail([EMAIL PROTECTED])
exten = 2-OFFHOURS,2,Hangup()

;Starts a variable called ATTEMPT at 1
; tries calling ONCALLPHONES
; increments ATTEMPT variable by 1
; tries again until ATTEMPT = 4
; should be 3 attempts total
; set ONCALLTIMEOUT to a number of seconds before your voicemail
 picks up.
exten = 9,1,GoToIfTime(${BUSHOURS}?pleximenu|2-OPEN|1)
;we shouldn't be doing this during business hours
exten = 9,2,Playback(plexicomm/page_support)
exten = 9,3,Set(ATTEMPT=1)
exten = 9,4,GoToIf($[${ATTEMPT} : 4]?9-FAILED|1)
exten = 9,5,Dial(${ONCALLPHONES}|${ONCALLTIMEOUT}|m)
exten = 9,6,Set(ATTEMPT=$[${ATTEMPT} + 1])
exten = 9,7,Playback(plexicomm/keep_paging)
exten = 9,8,Wait(2)
;waiting 2 seconds to allow cell connections to terminate
exten = 9,9,GoTo(pleximenu|9|4)
exten = 9,10,Hangup()
exten = 9-FAILED,1,GoTo(pleximenu|2-OPEN|5)


;extensions for dan and adam
;dan - since people already know dan as extension 3, we keep
 that for compatibility
exten = 3,1,GoTo(Pleximenu|103|1)
exten = 103,1,GoTo(default|103|1)

;adam
exten = 104,1,GoTo(default|104|1)



 The bottom of the dialplan is your culprit here. It's waiting the
additional time because it's not sure whether or not you're going to
enter 103 or 104 as opposed to just 1, so it's waiting for the digit
timeout to be sure.

--
Bird's The Word Technologies, Inc.
http://www.btwtech.com/
___
--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