[Asterisk-Users] A question with voice Menu

Ryan Butler rbutler at adiis.net
Wed Oct 13 07:14:26 MST 2004


On Wed, 2004-10-13 at 03:37, ismaelg wrote:
> Hello,
> 
> I'm having the following problem in my asterisk config.
> 

> But if I wait a moment after this message I get this message again        
> 
>     1- press 1, to dial an extension
>     2- press 2, to speak with an operator.
> 
> Asterisk repeat the welcome message again, and this isn't what we want.
> 

After the ResponseTimeout is done, it goes to the timeout extension for
the context, if one doesn't exist, it goes back to the s extension.

> [incoming]
> 
> exten => s,1,Wait(2)
> exten => s,2,Answer
> exten => s,3,DigitTimeout,10
> exten => s,4,ResponseTimeout,20
> exten => s,5,Background(itranser/msg_bienvenida)
> exten => 1,1,Goto(contexto_extensiones,s,1)
> exten => 2,1,Goto(contexto_operadora,s,1)
> 
exten => t,1,Hangup

Replace Hangup with whatever you want it to do if they don't hit
anything within the ResponseTimeout

Ryan Butler
ADI Internet Solutions
rbutler at adiis.net





More information about the asterisk-users mailing list