[Asterisk-Users] realtime and include
Matthew Boehm
mboehm at cytelcom.com
Mon Aug 29 07:18:25 MST 2005
Urban wrote:
> Hi,
>
> is there any support for include statement in the database when using
> realtime configurations? I would like to have as much as possible
> configuration in my postgres db but we have different access controls
> for different user contexts (allow international, national etc). Today
> we have different contexts for access rules e.g.
> [allow_international]
> exten => _00.,1,Dial...
>
> and for users we just include the allow_xxx and deny_xxx contexts. This
> makes it easier since we don't need to change each users dialplan just
> include the right contexts.
> Is this possible with realtime? The only way I see is to add/remove
> switch statements in extensions.conf and then we back to make the
> changes in extensions.conf and not in the database...
If you store the extensions.conf in database, then it will work. If you
want to use the switch, then no.
-Matthew
More information about the asterisk-users
mailing list