[Asterisk-Users] Problems with voice menu

Christopher Lee chris at datachaos.com.au
Mon Oct 11 04:21:16 MST 2004


> I having a lot of troubles to configure a simple voice menu.
> In extensions.conf  I have the following.
> 
> [incoming]
> exten => s,1,Wait(1)
> 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)
> 
> The context refered by the menu. (each context play me a 
> diferent message only )
> 
> [contexto_operadora]
> exten => s,1,Background(itranser/trans_operadora)
> exten => s,2,Dial(SIP/ismael,s,1)
> 
> [contexto_extensiones]
> exten => s,1,Background(itranser/msg_pasar_ext)

I've made the corrections to your context's above... Note in particular
the Goto command and then using the 's' (start) extension in each
extension line, also adjusted the priority numbers. 

For more info on Goto

http://www.voip-info.org/tiki-index.php?page=Asterisk%20cmd%20Goto

Give that a try and see how you go.

Regards,
Chris Lee



More information about the asterisk-users mailing list