[Asterisk-Users] realtime and include
Luca Lafranchi
lists at idea-net.ch
Tue Aug 30 08:45:40 MST 2005
I'm interested for this thread, can you explain with an example please?
In my extensions.conf I have
...
[sip.proxy.com]
switch => Realtime/sip.proxy.com at realtime_ext
....
in extensions table on mysql I can insert on "app" field the command
"include" and in the "appdata" field my context ?
Luca
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Matthew Boehm
Sent: lunedì, 29. agosto 2005 16:18
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] realtime and include
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
_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --
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
--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.16/83 - Release Date: 26.08.2005
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.17/84 - Release Date: 29.08.2005
More information about the asterisk-users
mailing list