odbc - Asterisk Realtime pattern matching -
I am using realtime db lookup utility to generate my extensions.conf
It works fine, I specify a full number in the exten field, however if I try and use a pattern _0. For example, this does not work (gives an error that the extension is not found)
If I use that pattern directly in the extension .conf, though it works fine.
Thanks
You probably need to read it
You should also consider it
; While most dynamic realtime engines are used automatically; This file, 'Extension', is not specific, to activate dynamic real-time; Expansion, you have to turn them within each relevant reference; Extensions.conf syntax with a switch statement is:; Switch => Realtime / [[db_context @] tablename] /; The only option available currently is 'P' option, which rejects; Extension Pattern queries for the database If you do not have any patterns defined; In a particular context, this will save enough CPU time. However,; Note that is no longer recommended by using the dynamic realtime extension; best practice; Instead, you should consider writing a fixed dialup; Proper data segregation through tools like Func_odbc.
Comments
Post a Comment