Put this line in

Exten => s,3,goto(home,s,1)

You are experiencing "fall through" when no dtmf is pressed and since there
is no handling, the call hangs up.

 

From: [email protected]
[mailto:[email protected]] On Behalf Of salaheddine
elharit
Sent: Monday, June 20, 2011 12:18 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] menu issue

 

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 

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to