[Asterisk-Users] dialplan woes

Steven Critchfield critch at basesys.com
Tue Aug 17 15:40:33 MST 2004


On Tue, 2004-08-17 at 17:33, defiance wrote:
> That makes sense, but how do I send it to each context?

use goto(newcontext,s,1)

> On Tue, 2004-08-17 at 17:07, Steven Critchfield wrote:
> > On Tue, 2004-08-17 at 17:03, defiance wrote:
> > > I am making some changes to the dial plan at the request of the company
> > > president and have run into some problems. I have a couple of layers of
> > > menu's and I am not sure how to handle them.
> > > 
> > > Here is how it should work (sorry for the crappy diagram)
> > > 
> > > main menu
> > > 
> > > --------Dial 1 for support 
> > > |	Dial 2 for special                                     
> > > |	Dial 3 sales                                           
> > > |	Dial 5 For sales                                       
> > > |
> > > |
> > > |______________________________submenu
> > > 				Dial 1 for product a support
> > > 				Dial 2 for pdoduct b support
> > > 				Dial 3 for product c support
> > > 
> > > My problem is that if you choose option one in the second menu it loop
> > > back to the first menu. I don't know how to handle this, and I'm sure it
> > > can be done. here is the section of extensions.conf that deals with it
> > 
> > CONTEXTS....
> > 
> > [main context]
> > --------Dial 1 for support 
> > |	Dial 2 for special                                     
> > |	Dial 3 sales                                           
> > |	Dial 5 For sales                                       
> > [support context]
> > ; don't include main context
> > |______________________________submenu
> > 				Dial 1 for product a support
> > 				Dial 2 for pdoduct b support
> > 				Dial 3 for product c support
> > [special context[
> > [sales context]
> > [and so on.]
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at 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




More information about the asterisk-users mailing list