[asterisk-commits] tilghman: trunk r38823 - in /trunk: configs/ doc/

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Aug 3 12:05:06 MST 2006


Author: tilghman
Date: Thu Aug  3 14:05:06 2006
New Revision: 38823

URL: http://svn.digium.com/view/asterisk?rev=38823&view=rev
Log:
Update documentation on realtime; add a workaround for lack of realtime hints by using func_odbc

Modified:
    trunk/configs/func_odbc.conf.sample
    trunk/doc/realtime.txt

Modified: trunk/configs/func_odbc.conf.sample
URL: http://svn.digium.com/view/asterisk/trunk/configs/func_odbc.conf.sample?rev=38823&r1=38822&r2=38823&view=diff
==============================================================================
--- trunk/configs/func_odbc.conf.sample (original)
+++ trunk/configs/func_odbc.conf.sample Thu Aug  3 14:05:06 2006
@@ -39,3 +39,13 @@
 			; 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}'
+

Modified: trunk/doc/realtime.txt
URL: http://svn.digium.com/view/asterisk/trunk/doc/realtime.txt?rev=38823&r1=38822&r2=38823&view=diff
==============================================================================
--- trunk/doc/realtime.txt (original)
+++ trunk/doc/realtime.txt Thu Aug  3 14:05:06 2006
@@ -25,8 +25,8 @@
 * 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 @@
 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



More information about the asterisk-commits mailing list