aboutsummaryrefslogtreecommitdiffstats
path: root/funcs/func_cdr.c
diff options
context:
space:
mode:
authormurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2006-11-26 00:15:42 +0000
committermurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2006-11-26 00:15:42 +0000
commit9481a291a2f3247050fc3630aad279f5f5b7ccef (patch)
treea82b279fea2dd89f1ee22a642d71d31a6f51a515 /funcs/func_cdr.c
parent656a9292e5b141533977769642d5a6a0f5fc7c7c (diff)
Merged revisions 48015 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r48015 | murf | 2006-11-25 17:01:34 -0700 (Sat, 25 Nov 2006) | 1 line A little bit of func_cdr documentation upgrade-- no bug# involved, although 8221 may have inspired it. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48016 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs/func_cdr.c')
-rw-r--r--funcs/func_cdr.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/funcs/func_cdr.c b/funcs/func_cdr.c
index 039e45ca7..c868af17c 100644
--- a/funcs/func_cdr.c
+++ b/funcs/func_cdr.c
@@ -130,6 +130,18 @@ static struct ast_custom_function cdr_function = {
" values, when the 'u' option is passed, but formatted as YYYY-MM-DD HH:MM:SS\n"
" otherwise. Similarly, disposition and amaflags will return their raw\n"
" integral values.\n",
+" Here is a list of all the available cdr field names:\n",
+" clid lastdata disposition\n"
+" src start amaflags\n"
+" dst answer accountcode\n"
+" dcontext end uniqueid\n"
+" dstchannel duration userfield\n"
+" lastapp billsec channel\n"
+" All of the above variables are read-only, except for accountcode,\n"
+" userfield, and amaflags. You may, however, supply\n"
+" a name not on the above list, and create your own\n"
+" variable, whose value can be changed with this function,\n"
+" and this variable will be stored on the cdr.\n",
};
static int unload_module(void)