summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2010-08-23 11:59:51 +0000
committerRussell Bryant <russell@russellbryant.com>2010-08-23 11:59:51 +0000
commit9af6be06785b93592d308dd2cddc6ec04dc7f06a (patch)
treeec8641545d3b569826f96b4bd70567060d4992aa /configs
parente91caf9b072efc209e752edcb767538da61d1cc6 (diff)
Merged revisions 283173 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8 ........ r283173 | russell | 2010-08-23 06:58:34 -0500 (Mon, 23 Aug 2010) | 5 lines Expand cel_custom.conf.sample. Include the usage of CSV_QUOTE() to ensure data has valid CSV formatting. Also list the special CEL variables that are available for use in the mapping. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@283174 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs')
-rw-r--r--configs/cel_custom.conf.sample12
1 files changed, 11 insertions, 1 deletions
diff --git a/configs/cel_custom.conf.sample b/configs/cel_custom.conf.sample
index 4c5fbb093..05976015b 100644
--- a/configs/cel_custom.conf.sample
+++ b/configs/cel_custom.conf.sample
@@ -17,5 +17,15 @@
; in the cel-custom directory under your Asterisk logs directory.
;
+;
+; Within a mapping, use the CALLERID() and CHANNEL() functions to retrieve
+; details from the CEL event. There are also a few variables created by this
+; module that can be used in a mapping:
+;
+; eventtype - The name of the CEL event.
+; eventtime - The timestamp of the CEL event.
+; eventextra - Extra data included with this CEL event, typically along with
+; an event of type USER_DEFINED from CELGenUserEvent().
+;
[mappings]
-;Master.csv => "${eventtype}","${eventtime}","${CALLERID(name)}","${CALLERID(num)}","${CALLERID(ANI)}","${CALLERID(RDNIS)}","${CALLERID(DNID)}","${CHANNEL(exten)}","${CHANNEL(context)}","${CHANNEL(channame)}","${CHANNEL(appname)}","${CHANNEL(appdata)}","${CHANNEL(amaflags)}","${CHANNEL(accountcode)}","${CHANNEL(uniqueid)}","${CHANNEL(linkedid)}","${CHANNEL(peer)}","${CHANNEL(userfield)}"
+;Master.csv => "${CSV_QUOTE(${eventtype})}","${CSV_QUOTE(${eventtime})}","${CSV_QUOTE(${CALLERID(name)})}","${CSV_QUOTE(${CALLERID(num)})}","${CSV_QUOTE(${CALLERID(ANI)})}","${CSV_QUOTE(${CALLERID(RDNIS)})}","${CSV_QUOTE(${CALLERID(DNID)})}","${CSV_QUOTE(${CHANNEL(exten)})}","${CSV_QUOTE(${CHANNEL(context)})}","${CSV_QUOTE(${CHANNEL(channame)})}","${CSV_QUOTE(${CHANNEL(appname)})}","${CSV_QUOTE(${CHANNEL(appdata)})}","${CSV_QUOTE(${CHANNEL(amaflags)})}","${CSV_QUOTE(${CHANNEL(accountcode)})}","${CSV_QUOTE(${CHANNEL(uniqueid)})}","${CSV_QUOTE(${CHANNEL(linkedid)})}","${CSV_QUOTE(${CHANNEL(peer)})}","${CSV_QUOTE(${CHANNEL(userfield)})}"