WARNING: this is an automatic post retrieved from the Asterisk-Users Mailing List, not an authored post
Mailing-list Collector
June 20, 2011
Asterisk Users
Tags: call, gool, goto menu, home, number 3, playback, ringing, SetGlobalVar
hello liste
i have create an menu like below
exten => my_number,1,Ringing()
exten => my_number,2,Wait(4)
exten => my_number,3,Goto(home,s,1)
[home]
exten => s,1,SetGlobalVar(sounds_path=/var/lib/asterisk/sounds/)
exten => s,2,Background(${sounds_path}welcome)
exten => #,1,Goto(menu,s,1)
exten => i,1,Playback(${sounds_path}error-key)
exten => t,1,Goto(home,s,1)
with this menu i call “my_number” and i cal listen the welcome message
without issue but when there no key pressed the call hang up
i verify in gool and i found that “exten => t,1,Goto(home,s,1)” is to send
to the “home” until i press a key
could you please tell me what is wrong with this menu.
Nb: i use asterisk 1.4
best regards