[Asterisk-Users] dialplan woes

Chris Shaw chriss at watertech.com
Tue Aug 17 16:58:35 MST 2004


* is so cool... Try doing this kind of thing with a regular PBX... Yes it
will work but it'll take an hour of wading through menus and listening to
the automated woman (or man if your PBX is male... lol...) list off the days
of the week or your menu options... you can have a menu done in like 5
minutes...


----- Original Message -----
From: "defiance" <defiance at stratitec.com>
To: "asterisk" <asterisk-users at lists.digium.com>
Sent: Tuesday, August 17, 2004 3:49 PM
Subject: RE: [Asterisk-Users] dialplan woes


> Thanks a million man that works beautifully, and thanks for giving me an
> example, I am still pretty new at this so that helped alot.
>
> chris
>
> On Tue, 2004-08-17 at 17:31, William Glynn wrote:
> > > 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.]
> >
> > To elaborate, try something like this:
> >
> > [mainmenu]
> > exten => s,1,Background(greeting)
> > ; ...
> > ; Do your closed/holiday logic here, whatever
> >
> > ; Dialing 1-3 takes you to different contexts which have their own logic
> > exten => 1,Goto(support,s,1)
> > exten => 2,Goto(special,s,1)
> > exten => 3,Goto(sales,s,1)
> >
> > [support]
> > exten => s,1,Background(product-support)
> >
> > ; Jump to [support-a] context which might give them a new menu
> > exten => 1,Goto(support-a,s,1)
> >
> > ; Only one guy knows product B, so send to his phone
> > exten => 2,Dial(SIP/1234)
> > ...
> >
> > --Will Glynn
> > Freedom Healthcare Group, Inc.
> > _______________________________________________
> > 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
> >
> _______________________________________________
> 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