cel_sqlite3_custom.conf.sample 1.5 KB

123456789101112131415161718192021222324
  1. ;
  2. ; Asterisk Channel Event Logging (CEL) - SQLite 3 Backend
  3. ;
  4. ;
  5. ; Mappings for sqlite3 config file
  6. ;
  7. ; Within a mapping, use the CALLERID() and CHANNEL() functions to retrieve
  8. ; details from the CEL event. There are also a few variables created by this
  9. ; module that can be used in a mapping:
  10. ;
  11. ; eventtype - The name of the CEL event.
  12. ; eventtime - The timestamp of the CEL event.
  13. ; eventenum - Like eventtype but is "USER_DEFINED" for a user defined event.
  14. ; userdeftype - User defined event type name from CELGenUserEvent().
  15. ; eventextra - Extra data included with this CEL event, typically along with
  16. ; an event of type USER_DEFINED from CELGenUserEvent().
  17. ; BRIDGEPEER - Bridged peer channel name at the time of the CEL event.
  18. ; CHANNEL(peer) could also be used.
  19. ;
  20. ;[master] ; currently, only file "master.db" is supported, with only one table at a time.
  21. ;table => cel
  22. ;columns => eventtype, eventtime, cidname, cidnum, cidani, cidrdnis, ciddnid, context, exten, channame, appname, appdata, amaflags, accountcode, uniqueid, userfield, peer, userdeftype, eventextra
  23. ;values => '${eventtype}','${eventtime}','${CALLERID(name)}','${CALLERID(num)}','${CALLERID(ANI)}','${CALLERID(RDNIS)}','${CALLERID(DNID)}','${CHANNEL(context)}','${CHANNEL(exten)}','${CHANNEL(channame)}','${CHANNEL(appname)}','${CHANNEL(appdata)}','${CHANNEL(amaflags)}','${CHANNEL(accountcode)}','${CHANNEL(uniqueid)}','${CHANNEL(userfield)}','${BRIDGEPEER}','${userdeftype}','${eventextra}'