diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-08-03 19:05:06 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-08-03 19:05:06 +0000 |
commit | ec4399116a3d1274f52f19f1d95714771d2cffdf (patch) | |
tree | c0886206b4f672d9e5631887d8105648986981e1 | |
parent | e75c6a98a83868c4eaedacaa7a7823d3508a3c39 (diff) |
Update documentation on realtime; add a workaround for lack of realtime hints by using func_odbc
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@38823 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | configs/func_odbc.conf.sample | 10 | ||||
-rw-r--r-- | doc/realtime.txt | 11 |
2 files changed, 19 insertions, 2 deletions
diff --git a/configs/func_odbc.conf.sample b/configs/func_odbc.conf.sample index c9f9d5d7f..be8ce4d03 100644 --- a/configs/func_odbc.conf.sample +++ b/configs/func_odbc.conf.sample @@ -39,3 +39,13 @@ write=UPDATE presence SET location='${SQL_ESC(${VAL1})}' WHERE id='${SQL_ESC(${A ; field may be separated into individual variables with ARRAY. ; This option turns that behavior off [default=yes]. +; ODBC_HINTS - Workaround for lack of realtime hints +; +; Use in extensions.conf as: +; exten => _1XX,hint,${ODBC_HINTS(${EXTEN})} +; +; (assuming your extensions are 3 digits and all begin with the digit 1) +[HINTS] +dsn=mysql1 +read=SELECT channel FROM hints WHERE extension='${ARG1}' + diff --git a/doc/realtime.txt b/doc/realtime.txt index 863302824..af592024a 100644 --- a/doc/realtime.txt +++ b/doc/realtime.txt @@ -25,8 +25,8 @@ Currently there are three realtime database drivers: * ODBC: Support for UnixODBC, integrated into Asterisk The UnixODBC subsystem supports many different databases, please check www.unixodbc.org for more information. -* MySQL: Found in the asterisk-addons subversion repository on cvs.digium.com - +* MySQL: Found in the asterisk-addons subversion repository on svn.digium.com +* PostgreSQL: Native support for Postgres, integrated into Asterisk * Two modes: Static and Realtime -------------------------------- @@ -106,6 +106,13 @@ For voicemail storage with the support of ODBC, there is a doc/odbcstorage.txt documentation file. +* Limitations +------------- +Currently, realtime extensions do not support realtime hints. There is +a workaround available by using func_odbc. See the sample func_odbc.conf +for more information. + + * FreeTDS supported with connection pooling ------------------------------------------- In order to use a FreeTDS-based database with realtime, you need to turn |