[asterisk-users] realtime static config include contexts
benjamin.jacob at masconit.com
Tue Sep 12 21:57:50 MST 2006
Experimented and it works alright!!
To include a context in static config, simply put "include" into
var_name, and the included context name in var_val, and reload, under
category <wotevercontext> .
e.g. If mycontext is one context, and I want to include 'anothercontext'
the sql entry shud be like
id | cat_metric | var_metric | commented | filename |
category | var_name | var_val |
14 | 0 | 0 | 0 |
extensions.conf | mycontext | include |
and then do an "extensions reload" on the CLI.
It does work.
Having said that, can anyone tell me the importance/use of the
cat_metric and var_metric. Couldn't make out much from
Benjamin Jacob wrote:
> Hello ppl,
> Any idea how do I write in include lines(for contexts or include
> files) in the database, in the ARA static config?
> thanks in advance.
> --Bandwidth and Colocation provided by Easynews.com --
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
More information about the asterisk-users