Advertisement
Guest User

extconfig.conf & sorcery.conf

a guest
Feb 8th, 2016
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.24 KB | None | 0 0
  1. PJSIP
  2.  
  3.  
  4. ;
  5. ; Static and realtime external configuration
  6. ; engine configuration
  7. ;
  8. ; Please read doc/extconfig.txt for basic table
  9. ; formatting information.
  10. ;
  11. [settings]
  12. ;
  13. ; Static configuration files:
  14. ;
  15. ; file.conf => driver,database[,table]
  16. ;
  17. ; maps a particular configuration file to the given
  18. ; database driver, database and table (or uses the
  19. ; name of the file as the table if not specified)
  20. ;
  21. ;uncomment to load queues.conf via the odbc engine.
  22. ;
  23. ;queues.conf => odbc,asterisk,ast_config
  24. ;extensions.conf => sqlite,asterisk,ast_config
  25. sip.conf => mysql,ast_config,sip_confs_1
  26. extensions.conf => mysql,ast_config,exten_confs_1
  27. ;voicemail.conf => mysql,ast_config,voicemail_confs_1
  28. ;queues.conf => mysql,ast_config,ast_queue_confs_1
  29. ;features.conf => mysql,ast_config,feature_confs_1
  30. res_parking.conf => mysql,ast_config,feature_confs_1
  31. ;musiconhold.conf => mysql,ast_config,music_on_hold_confs_1
  32. meetme.conf => mysql,ast_config,conference_room_confs
  33. ;
  34. ; The following files CANNOT be loaded from Realtime storage:
  35. ; asterisk.conf
  36. ; extconfig.conf (this file)
  37. ; logger.conf
  38. ;
  39. ; Additionally, the following files cannot be loaded from
  40. ; Realtime storage unless the storage driver is loaded
  41. ; early using 'preload' statements in modules.conf:
  42. ; manager.conf
  43. ; cdr.conf
  44. ; rtp.conf
  45. ;
  46. ;
  47. ; Realtime configuration engine
  48. ;
  49. ; maps a particular family of realtime
  50. ; configuration to a given database driver,
  51. ; database and table (or uses the name of
  52. ; the family if the table is not specified
  53. ;
  54. ;example => odbc,asterisk,alttable
  55. ;example2 => ldap,"dc=oxymium,dc=net",example2
  56. ;
  57. ; "odbc" is shown in the examples below, but is not the only valid realtime
  58. ; engine. There is:
  59. ; odbc ... res_config_odbc
  60. ; sqlite ... res_config_sqlite
  61. ; pgsql ... res_config_pgsql
  62. ;
  63. ;iaxusers => odbc,asterisk
  64. ;iaxpeers => odbc,asterisk
  65. ;sipusers => mysql,ast_config,sipfriends
  66. ;sippeers => mysql,ast_config,sipfriends
  67. ;sipregs => odbc,asterisk
  68. voicemail => mysql,ast_config,voicemail_confs_realtime
  69. ;extensions => odbc,asterisk
  70. ;meetme => mysql,general
  71. queues => mysql,ast_config,queues
  72. queue_members => mysql,ast_config,queue_members
  73. musiconhold => mysql,ast_config,musiconhold
  74. ;queue_log => mysql,general
  75. ;
  76. ;
  77. ; While most dynamic realtime engines are automatically used when defined in
  78. ; this file, 'extensions', distinctively, is not. To activate dynamic realtime
  79. ; extensions, you must turn them on in each respective context within
  80. ; extensions.conf with a switch statement. The syntax is:
  81. ; switch => Realtime/[[db_context@]tablename]/<opts>
  82. ; The only option available currently is the 'p' option, which disallows
  83. ; extension pattern queries to the database. If you have no patterns defined
  84. ; in a particular context, this will save quite a bit of CPU time. However,
  85. ; note that using dynamic realtime extensions is not recommended anymore as a
  86. ; best practice; instead, you should consider writing a static dialplan with
  87. ; proper data abstraction via a tool like func_odbc.
  88. ps_endpoints => mysql,ast_config,ps_endpoints
  89. ps_auths => mysql,ast_config,ps_auths
  90. ps_aors => mysql,ast_config,ps_aors,
  91. ps_domain_aliases => mysql,ast_config,ps_domain_aliases
  92. ps_endpoint_id_ips => mysql,ast_config,ps_endpoint_id_ips
  93. ps_contacts => mysql,ast_config,ps_contacts
  94. ps_globals => mysql,ast_config,ps_globals
  95.  
  96. =================================
  97.  
  98. Sorcery.conf
  99.  
  100. [res_pjsip] ; Realtime PJSIP configuration wizard
  101. endpoint=config,pjsip.conf,criteria=type=endpoint
  102. auth=config,pjsip.conf,criteria=type=auth
  103. aor=config,pjsip.conf,criteria=type=aor
  104. endpoint=realtime,ps_endpoints
  105. auth=realtime,ps_auths
  106. aor=realtime,ps_aors
  107. domain_alias=realtime,ps_domain_aliases
  108. contact=realtime,ps_contacts
  109. global=realtime,ps_globals
  110.  
  111. [res_pjsip_endpoint_identifier_ip]
  112. identify=config,pjsip.conf,criteria=type=identify
  113. identify=realtime,ps_endpoint_id_ips
  114.  
  115.  
  116. =================================
  117.  
  118. chan_sip version:
  119.  
  120. ;
  121. ; Static and realtime external configuration
  122. ; engine configuration
  123. ;
  124. ; Please read doc/extconfig.txt for basic table
  125. ; formatting information.
  126. ;
  127. [settings]
  128. ;
  129. ; Static configuration files:
  130. ;
  131. ; file.conf => driver,database[,table]
  132. ;
  133. ; maps a particular configuration file to the given
  134. ; database driver, database and table (or uses the
  135. ; name of the file as the table if not specified)
  136. ;
  137. ;uncomment to load queues.conf via the odbc engine.
  138. ;
  139. ;queues.conf => odbc,asterisk,ast_config
  140. ;extensions.conf => sqlite,asterisk,ast_config
  141. sip.conf => mysql,ast_config,sip_confs_1
  142. extensions.conf => mysql,ast_config,exten_confs_1
  143. ;voicemail.conf => mysql,ast_config,voicemail_confs_1
  144. ;queues.conf => mysql,ast_config,ast_queue_confs_1
  145. ;features.conf => mysql,ast_config,feature_confs_1
  146. res_parking.conf => mysql,ast_config,feature_confs_1
  147. ;musiconhold.conf => mysql,ast_config,music_on_hold_confs_1
  148. meetme.conf => mysql,ast_config,conference_room_confs
  149. ;
  150. ; The following files CANNOT be loaded from Realtime storage:
  151. ; asterisk.conf
  152. ; extconfig.conf (this file)
  153. ; logger.conf
  154. ;
  155. ; Additionally, the following files cannot be loaded from
  156. ; Realtime storage unless the storage driver is loaded
  157. ; early using 'preload' statements in modules.conf:
  158. ; manager.conf
  159. ; cdr.conf
  160. ; rtp.conf
  161. ;
  162. ;
  163. ; Realtime configuration engine
  164. ;
  165. ; maps a particular family of realtime
  166. ; configuration to a given database driver,
  167. ; database and table (or uses the name of
  168. ; the family if the table is not specified
  169. ;
  170. ;example => odbc,asterisk,alttable
  171. ;example2 => ldap,"dc=oxymium,dc=net",example2
  172. ;
  173. ; "odbc" is shown in the examples below, but is not the only valid realtime
  174. ; engine. There is:
  175. ; odbc ... res_config_odbc
  176. ; sqlite ... res_config_sqlite
  177. ; pgsql ... res_config_pgsql
  178. ;
  179. ;iaxusers => odbc,asterisk
  180. ;iaxpeers => odbc,asterisk
  181. ;sipusers => mysql,ast_config,sipfriends
  182. ;sippeers => mysql,ast_config,sipfriends
  183. ;sipregs => odbc,asterisk
  184. voicemail => mysql,ast_config,voicemail_confs_realtime
  185. ;extensions => odbc,asterisk
  186. ;meetme => mysql,general
  187. queues => mysql,ast_config,queues
  188. queue_members => mysql,ast_config,queue_members
  189. musiconhold => mysql,ast_config,musiconhold
  190. ;queue_log => mysql,general
  191. ;
  192. ;
  193. ; While most dynamic realtime engines are automatically used when defined in
  194. ; this file, 'extensions', distinctively, is not. To activate dynamic realtime
  195. ; extensions, you must turn them on in each respective context within
  196. ; extensions.conf with a switch statement. The syntax is:
  197. ; switch => Realtime/[[db_context@]tablename]/<opts>
  198. ; The only option available currently is the 'p' option, which disallows
  199. ; extension pattern queries to the database. If you have no patterns defined
  200. ; in a particular context, this will save quite a bit of CPU time. However,
  201. ; note that using dynamic realtime extensions is not recommended anymore as a
  202. ; best practice; instead, you should consider writing a static dialplan with
  203. ; proper data abstraction via a tool like func_odbc.
  204. ;ps_endpoints => mysql,ast_config,ps_endpoints
  205. ;ps_auths => mysql,ast_config,ps_auths
  206. ;ps_aors => mysql,ast_config,ps_aors,
  207. ;ps_domain_aliases => mysql,ast_config,ps_domain_aliases
  208. ;ps_endpoint_id_ips => mysql,ast_config,ps_endpoint_id_ips
  209. ;ps_contacts => mysql,ast_config,ps_contacts
  210. ;ps_globals => mysql,ast_config,ps_globals
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement