[Asterisk-Users] Change include contexts runtime

Mark Spencer markster at digium.com
Mon Sep 1 08:42:39 MST 2003


You can use timeofday associations on "include =>" for the most elegant
solution or, you can also use multiple extensions.conf and "#include" (not
the same as "include =>" ) and asterisk -rx reload.

Mark

On Mon, 1 Sep 2003, Rattana BIV wrote:

> I have the same problem
>
> ----- Original Message -----
> From: "Mickey Binder" <mickey at comflex.dk>
> To: "Asterisk maillist (E-mail)" <asterisk-users at lists.digium.com>
> Sent: Monday, September 01, 2003 10:51 AM
> Subject: [Asterisk-Users] Change include contexts runtime
>
>
> > Hi there
> >
> > How do I change the dialplan runtime, if I for example wants all calls on
> > the main number to be answered by a voicemail (when it is out-of-office
> > hours).
> > I want to be able to change the configuration by pressing a DTMF
> combination
> > e.g. *82. Can't figure out whether it is necessary to change contexts or
> how
> > to do it.
> >
> > I have read a lot of examples and config documentation, but I can't figure
> > out how to do it.
> >
> > I know there are commands from the CLI to include and not include contexts
> > but I can't get them to work.
> > If i write 'include context in default' I can see by 'show dialplan' that
> > 'context' is included in default. But if I want to include a context named
> > office by typing 'include office in default' I just get 'No such command
> > 'include office' (type 'help for help)
> >
> > regards
> > Mickey Binder
> >
> >
> > _______________________________________________
> > Asterisk-Users mailing list
> > Asterisk-Users at lists.digium.com
> > 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
>




More information about the asterisk-users mailing list