mirror of
https://github.com/asterisk/asterisk.git
synced 2026-05-04 20:33:53 +00:00
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: https://origsvn.digium.com/svn/asterisk/trunk@164485 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user