Advertisement
Guest User

Untitled

a guest
Jan 26th, 2010
351
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.55 KB | None | 0 0
  1. ;
  2. ; Static and realtime external configuration
  3. ; engine configuration
  4. ;
  5. ; Please read doc/extconfig.txt for basic table
  6. ; formatting information.
  7. ;
  8. [settings]
  9. ;
  10. ; Static configuration files:
  11. ;
  12. ; file.conf => driver,database[,table]
  13. ;
  14. ; maps a particular configuration file to the given
  15. ; database driver, database and table (or uses the
  16. ; name of the file as the table if not specified)
  17. ;
  18. ;uncomment to load queues.conf via the odbc engine.
  19. ;
  20. ;queues.conf => odbc,asterisk,ast_config
  21. ;extensions.conf => sqlite,asterisk,ast_config
  22. ;
  23. ; The following files CANNOT be loaded from Realtime storage:
  24. ; asterisk.conf
  25. ; extconfig.conf (this file)
  26. ; logger.conf
  27. ;
  28. ; Additionally, the following files cannot be loaded from
  29. ; Realtime storage unless the storage driver is loaded
  30. ; early using 'preload' statements in modules.conf:
  31. ; manager.conf
  32. ; cdr.conf
  33. ; rtp.conf
  34. ;
  35. ;
  36. ; Realtime configuration engine
  37. ;
  38. ; maps a particular family of realtime
  39. ; configuration to a given database driver,
  40. ; database and table (or uses the name of
  41. ; the family if the table is not specified
  42. ;
  43. ;example => odbc,asterisk,alttable
  44. ;example2 => ldap,"dc=oxymium,dc=net",example2
  45. ;
  46. ; "odbc" is shown in the examples below, but is not the only valid realtime
  47. ; engine. There is:
  48. ; odbc ... res_config_odbc
  49. ; sqlite ... res_config_sqlite
  50. ; pgsql ... res_config_pgsql
  51. ;
  52. ;iaxusers => odbc,asterisk
  53. ;iaxpeers => odbc,asterisk
  54. sipusers => mysql,asterisk,sip_buddies
  55. sippeers => mysql,asterisk,sip_buddies
  56. ;sipregs => odbc,asterisk
  57. voicemail => mysql,asterisk,voicemail_users
  58. ;extensions => odbc,asterisk
  59. ;meetme => mysql,general
  60. queues => mysql,asterisk,queue_table
  61. queue_members => mysql,asterisk,queue_member_table
  62. ;musiconhold => mysql,general
  63. ;queue_log => mysql,general
  64. ;
  65. ;
  66. ; While most dynamic realtime engines are automatically used when defined in
  67. ; this file, 'extensions', distinctively, is not. To activate dynamic realtime
  68. ; extensions, you must turn them on in each respective context within
  69. ; extensions.conf with a switch statement. The syntax is:
  70. ; switch => Realtime/[[db_context@]tablename]/<opts>
  71. ; The only option available currently is the 'p' option, which disallows
  72. ; extension pattern queries to the database. If you have no patterns defined
  73. ; in a particular context, this will save quite a bit of CPU time. However,
  74. ; note that using dynamic realtime extensions is not recommended anymore as a
  75. ; best practice; instead, you should consider writing a static dialplan with
  76. ; proper data abstraction via a tool like func_odbc.
  77.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement