diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-10-05 06:46:11 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-10-05 06:46:11 +0000 |
commit | 89e09dcdf85d029417888df4f5ad88979f9bfb97 (patch) | |
tree | 1f9acecb29a22d0f2906c87338b105289ddef857 /doc/README.extconfig | |
parent | 5d45bd2ea597a9e6d27f7f0af79ceb98cf765bc6 (diff) |
Major changes to res_config to support centralized config, eliminate configuration of res_config_odbc, update config examples, integrate with iax2, remove mysql friends from iax2, put on flame retardant vest...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3914 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'doc/README.extconfig')
-rwxr-xr-x | doc/README.extconfig | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/doc/README.extconfig b/doc/README.extconfig new file mode 100755 index 000000000..260263208 --- /dev/null +++ b/doc/README.extconfig @@ -0,0 +1,38 @@ +Asterisk external configuration +=============================== + +The Asterisk external configuration engine is the result of work by +Anthony Minessale II and Mark Spencer. It is designed to provide a +flexible, seamless integration between Asterisk's internal +configuration structure and external SQL other other databases +(maybe even LDAP one day). + +External configuration is configured in /etc/asterisk/extconfig.conf +allowing you to map any configuration file (static mappings) to +be pulled from the database, or to map special runtime entries which +permit the dynamic creation of objects, entities, peers, etc. without +the necessity of a reload. + +Generally speaking, the columns in your tables should line up with the +fields you would specify in the given entity declaration. If an entry +would appear more than once, in the column it should be separated by a +semicolon. For example, an entity that looks like: + +[foo] +host=dynamic +secret=bar +context=default +context=local + +could be stored in a table like this: + ++------+--------+-------+--------------+----------+-----+-----------+ +| name | host | secret| context | ipaddr | port| regseconds| ++------+--------+-------+--------------+----------+-----+-----------+ +| foo | dynamic| bar | default;local| 127.0.0.1| 4569| 1096954152| ++------+--------+-------+--------------+----------+-----+-----------+ + +Note that for use with IAX or SIP, the table will also need the "name", +"ipaddr", "port", "regseconds" columns. If you wanted to be able to +configure the callerid, you could just add a callerid column to the +table, for example. |