Add ability to store voicemail in ODBC database

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4349 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2004-11-28 21:28:30 +00:00
parent 1406e38d8f
commit e95fa2a065
6 changed files with 821 additions and 149 deletions

View File

@@ -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