aboutsummaryrefslogtreecommitdiffstats
path: root/configs
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-12-15 21:17:07 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-12-15 21:17:07 +0000
commitfc08895bbd2747ff48bdb886de6a192d476ca7bc (patch)
tree3d0958ed946f7c267d6d77e9c50b8e85bfd8ec63 /configs
parent9132c902a403f1e8340f72d8b21eba7fb0d945f2 (diff)
Allow disabling pattern match searches within the Realtime dialplan switch.
(closes issue #13698) Reported by: fhackenberger Patches: 20081211__bug13698.diff.txt uploaded by Corydon76 (license 14) Tested by: fhackenberger git-svn-id: http://svn.digium.com/svn/asterisk/trunk@164485 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configs')
-rw-r--r--configs/extconfig.conf.sample13
1 files changed, 13 insertions, 0 deletions
diff --git a/configs/extconfig.conf.sample b/configs/extconfig.conf.sample
index 4c3899fcd..8a17f9b41 100644
--- a/configs/extconfig.conf.sample
+++ b/configs/extconfig.conf.sample
@@ -60,4 +60,17 @@
;queue_members => odbc,asterisk
;musiconhold => mysql,asterisk
;queue_log => mysql,aasterisk
+;
+;
+; While most dynamic realtime engines are automatically used when defined in
+; this file, 'extensions', distinctively, is not. To activate dynamic realtime
+; extensions, you must turn them on in each respective context within
+; extensions.conf with a switch statement. The syntax is:
+; switch => Realtime/[[db_context@]tablename]/<opts>
+; The only option available currently is the 'p' option, which disallows
+; extension pattern queries to the database. If you have no patterns defined
+; in a particular context, this will save quite a bit of CPU time. However,
+; note that using dynamic realtime extensions is not recommended anymore as a
+; best practice; instead, you should consider writing a static dialplan with
+; proper data abstraction via a tool like func_odbc.