Hello all, 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 exten => 2,1,Goto,contexto_operadora The context refered by the menu. (each context play me a diferent message only ) [contexto_operadora] exten => 2,2,Background(itranser/trans_operadora) exten => 2,3,Dial(SIP/ismael,s,1) [contexto_extensiones] exten => 1,1,Background(itranser/msg_pasar_ext) My problem, is when I touch the key 1 in my phone, after the msg_bienvenida, asterisk do not pass me to the correct context [contexto_extensiones]. Asterisk do not pass me to any context, asterisk do nothing when I press the 1 key on my phone. Have I missed something in my extensions.conf? or in sip.conf? Thanks Regards from Madrid. Ismael Gil..
> 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
--- ismaelg <igil@itranser.com> wrote:> Hello all, > > 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 > exten => 2,1,Goto,contexto_operadora > > The context refered by the menu. (each context play > me a diferent > message only ) > > [contexto_operadora] > exten => 2,2,Background(itranser/trans_operadora) > exten => 2,3,Dial(SIP/ismael,s,1) > > [contexto_extensiones] > exten => 1,1,Background(itranser/msg_pasar_ext) > > My problem, is when I touch the key 1 in my phone, > after the > msg_bienvenida, asterisk do not pass me to the > correct context > [contexto_extensiones]. > Asterisk do not pass me to any context, asterisk do > nothing when I press > the 1 key on my phone. > > Have I missed something in my extensions.conf? or in > sip.conf?I think this exten => 1,1,Goto,contexto_extensiones Should be exten => 1,1,Goto(contexto_extensiones,1,1) Umar Sear> _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users> To UNSUBSCRIBE or update options visit: > >http://lists.digium.com/mailman/listinfo/asterisk-users>___________________________________________________________ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com