menu asterisk

Home » Asterisk Users » menu asterisk
Asterisk Users No Comments

Hello list

in the below menu all is ok ,but by intermittence when i call my number 529
i hear the welcome message and i still hear this message even i click in the
# in order to go to the call [menu] he still in the welcome message

and also by intermittence i can hear the welcome message and when i press
the # button i can hear the menu message and he still hangs at this menu
when i press 1 he can not go to the [call]

any help will be appreciated

thanks and regards

NB: sorry for my English

exten => 529,1,Ringing()
exten => 529,2,Wait(4)
exten => 529,3,Goto(home,s,1)

[home]
exten => s,1,SetGlobalVar(sounds_path=/var/lib/asterisk/sounds/)
exten => s,2,Background(${sounds_path}welcome)
exten => s,3,WaitExten(10)
exten => #,1,Goto(menu,s,1)
exten => i,1,Playback(${sounds_path}error-key)
exten => i,2,goto(accueil,s,1)
exten => t,1,Goto(accueil,s,1)
[menu]
exten => s,1,Background(${sounds_path}menu)
exten => s,2,WaitExten(10)
exten => 1,1,Goto(call,s,1)
exten => 2,1,Goto(support,s,1)
exten => i,1,Playback(${sounds_path}error-key)
exten => i,2,Goto(menu,s,1)
exten => t,1,Goto(menu,s,1)

[call]
exten => s,1,Background(${sounds_path}call)
exten => s,2,WaitExten(10)
exten => 0,1,Goto(menu,s,1)
exten => 223,1,Dial(SIP/${EXTEN},20,tr)
exten => 212,2,Dial(SIP/${EXTEN},20,tr)
exten => i,1,Playback(${sounds_path}error-key)
exten => i,2,Goto(call,s,1)
exten => t,1,Goto(call,s,1)

[support]
exten => s,1,GoToIfTime(09:00-17:00|mon-fri|*|*?s,4)
exten => s,n,Playback(${sounds_path}no-relation-support)
exten => s,n,Goto(menu,s,1)
exten => s,n,Playback(${sounds_path}relation-support)
exten => s,n,Queue(default)
exten => t,1,Hangup()