Philip Siegrist
2005-Feb-11 07:16 UTC
[Asterisk-Users] Menu Selections Only Work Internally
All, Funny problem. During my greating, the menu selections only work if one calls from an internal sip line. The greating plays for all including calls over the t1. But pressing 9 for directory or any other mapped button will only work if I call from inside. If I arrive to the menu from an outside line SIP or POTS pressing the button does nothing. Any ideas? extensions.conf <-- [MainMenu] exten=>s,1,Answer exten=>s,2,Wait(1) exten=>s,3,Background(main-menu) exten=>_3XX,1,Goto(sip,${EXTEN},1) exten=>0,1,Goto(sip,301,1) [sip] ;Main Number exten => 300,1,Goto(MainMenu,s,1) -->
Does your incoming context include the MainMenu?> -----Original Message----- > From: Philip Siegrist [mailto:psiegrist@gmail.com] > Sent: Friday, February 11, 2005 8:17 AM > To: Asterisk-Users@lists.digium.com > Subject: [Asterisk-Users] Menu Selections Only Work Internally > > > All, > > Funny problem. During my greating, the menu selections only > work if one calls from an internal sip line. The greating > plays for all including calls over the t1. But pressing 9 for > directory or any other mapped button will only work if I call > from inside. If I arrive to the menu from an outside line SIP > or POTS pressing the button does nothing. Any ideas? > > extensions.conf > > <-- > [MainMenu] > exten=>s,1,Answer > exten=>s,2,Wait(1) > exten=>s,3,Background(main-menu) > exten=>_3XX,1,Goto(sip,${EXTEN},1) > exten=>0,1,Goto(sip,301,1) > > [sip] > ;Main Number > exten => 300,1,Goto(MainMenu,s,1) > -->
Steven Critchfield
2005-Feb-11 08:44 UTC
[Asterisk-Users] Menu Selections Only Work Internally
On Fri, 2005-02-11 at 09:16 -0500, Philip Siegrist wrote:> All, > > Funny problem. During my greating, the menu selections only work if > one calls from an internal sip line. The greating plays for all > including calls over the t1. But pressing 9 for directory or any other > mapped button will only work if I call from inside. If I arrive to the > menu from an outside line SIP or POTS pressing the button does > nothing. Any ideas? > > extensions.conf > > <-- > [MainMenu] > exten=>s,1,Answer > exten=>s,2,Wait(1) > exten=>s,3,Background(main-menu) > exten=>_3XX,1,Goto(sip,${EXTEN},1) > exten=>0,1,Goto(sip,301,1) > > [sip] > ;Main Number > exten => 300,1,Goto(MainMenu,s,1) > -->It is hard to say without knowing what context your incoming calls are getting dumped into. Usually your external and internal calls should be dropped into different contexts and will include different contexts into them. My guess is you need to rethink what you have done above. Most of the time, Gotos are not needed unless you are working within a single extension, or if you are transferring to a different context or a different extension than was typed. -- Steven Critchfield <critch@basesys.com>