[Asterisk-Users] Long pause between menus

Scott Henderson scott at finite-tech.com
Tue Oct 5 21:53:42 MST 2004


I have set up an auto attendant and all is working but I am bothered by 
a long pause when switching between menus.  This pause is between 5 and 
7 seconds and is quite annoying.

Is there anyway to address this.

One other thing I find interesting is that when I move from the main 
menu to the sub menu the delay is there but when I move from the sub 
menu to the main menu the delay is not there.  If I repeat this action 
within the same call the delay is consistent.

A sample of the config follows:
====================================================
[mainmenu]
;
; Answer the phone and play the main menu option 
;
include => default          
exten => s,1,Answer
exten => s,2,AGI(schedule.agi)
exten => s,3,Background(fti_welcome)
exten => s,4,Background(fti_menu_options_changed)           
exten => s,5,GotoIf($[${STATUS} = closed]?9:6)
exten => s,6,GotoIf($[${STATUS} = shortday]?11:7)
exten => s,7,GotoIf($[${STATUS} = holiday]?11:8)
exten => s,8,GotoIf($[${STATUS} = weekend]?13:15)
exten => s,9,Background(fti_closed_evening)    ; STATUS=closed
exten => s,10,Goto(s,15)
exten => s,11,Background(fti_closed_holiday)   ; STATUS=holiday, shortday
exten => s,12,Goto(s,15)
exten => s,13,Background(fti_closed_weekend)   ; STATUS=weekend
exten => s,14,Goto(s,15)
exten => s,15,Background(fti_menu_main)         ; Main menu
exten => 1,1,Goto(chillywall,s,1)               ; Goto ChillyWall menu
exten => 2,1,Goto(networkeng,s,1)               ; Goto Network 
Engineering menu
exten => 3,1,Goto(ftidoe,s,1)                   ; Goto FTIDOE Menu
exten => 4,1,Goto(customerservice,s,1)          ; Goto Customer Service menu
exten => 8,1,Directory(default,default)         ; Dial by name
exten => 9,1,Goto(dialextension,s,1)            ; Enter an extension
exten => *,1,Goto(mainmenu,s,4)                 ; Repeat
exten => #,1,Goto(6000,1)                       ; Voice Mail System
;

[chillywall]
; Main menu option 1
include => default
exten => s,1,Background(fti_menu_chillywall)
exten => 1,1,Goto(6102,1)               ; Sales
exten => 2,1,Voicemail(u6205)           ; Support
exten => *,1,Goto(chillywall,s,1)       ; Repeat
exten => #,1,Goto(mainmenu,s,15)        ; Main Menu

[networkeng]
; Main menu option 2
include => default
exten => s,1,Background(fti_menu_net_engineering)
exten => 1,1,Goto(6102,1)               ; Sales
exten => 2,1,Goto(6101,1)               ; Support
exten => *,1,Goto(networkeng,s,1)       ; Repeat
exten => s,7,GotoIf($[${STATUS} = holiday]?11:8)
exten => s,8,GotoIf($[${STATUS} = weekend]?13:15)
exten => s,9,Background(fti_closed_evening)    ; STATUS=closed
exten => s,10,Goto(s,15)
exten => s,11,Background(fti_closed_holiday)   ; STATUS=holiday, shortday
exten => s,12,Goto(s,15)
exten => s,13,Background(fti_closed_weekend)   ; STATUS=weekend
exten => s,14,Goto(s,15)
exten => s,15,Background(fti_menu_main)         ; Main menu
exten => 1,1,Goto(chillywall,s,1)               ; Goto ChillyWall menu
exten => 2,1,Goto(networkeng,s,1)               ; Goto Network 
Engineering menu
exten => 3,1,Goto(ftidoe,s,1)                   ; Goto FTIDOE Menu
exten => 4,1,Goto(customerservice,s,1)          ; Goto Customer Service menu
exten => 8,1,Directory(default,default)         ; Dial by name
exten => 9,1,Goto(dialextension,s,1)            ; Enter an extension
exten => *,1,Goto(mainmenu,s,4)                 ; Repeat
exten => #,1,Goto(6000,1)                       ; Voice Mail System
;

-- 
Scott Henderson
==========================================
Finite Technologies Incorporated
3763 Image Drive, Anchorage, Alaska 99504
Phone: 907.337.2860, Fax: 907.333.4482
http://www.finite-tech.com
http://www.chillywall.com
http://www.virtuale.cc
http://www.mphage.com
==========================================




More information about the asterisk-users mailing list