aboutsummaryrefslogtreecommitdiffstats
path: root/doc/README.extconfig
diff options
context:
space:
mode:
Diffstat (limited to 'doc/README.extconfig')
-rwxr-xr-xdoc/README.extconfig18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/README.extconfig b/doc/README.extconfig
index 85d4dd2c1..e26ab6c3a 100755
--- a/doc/README.extconfig
+++ b/doc/README.extconfig
@@ -58,3 +58,21 @@ A Voicemail table would look more like this:
The uniqueid should be unique to each voicemail user and can be
autoincrement. It need not have any relation to the mailbox or context.
+An extension table would look more like this:
+
++----------+---------+----------+-------+-----------+
+| context | exten | priority | app | appdata |
++----------+---------+----------+-------+-----------+
+| default | 1234 | 1 | Dial | Zap/1 |
++----------+---------+----------+-------+-----------+
+
+In the dialplan you just use the Realtime switch:
+
+[foo]
+switch => Realtime
+
+or:
+
+[bar]
+switch => Realtime/bar@extensions
+