diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2006-08-03 19:05:06 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2006-08-03 19:05:06 +0000 |
commit | 0d902b3033e5f95c1f052122e8f1168f27bd4586 (patch) | |
tree | c0886206b4f672d9e5631887d8105648986981e1 /configs/func_odbc.conf.sample | |
parent | fc3d27cf6fe27e5796b5def1932feb9932947244 (diff) |
Update documentation on realtime; add a workaround for lack of realtime hints by using func_odbc
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@38823 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs/func_odbc.conf.sample')
-rw-r--r-- | configs/func_odbc.conf.sample | 10 |
1 files changed, 10 insertions, 0 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}' + |