aboutsummaryrefslogtreecommitdiffstats
path: root/funcs
diff options
context:
space:
mode:
authormurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2006-11-26 00:01:34 +0000
committermurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2006-11-26 00:01:34 +0000
commit3617b204010a0f983aaa0bbe8efa1dad16712976 (patch)
tree60dac56f70d83b7104f0f865b4ff9c4869173fe8 /funcs
parenta49dc0d2ac8bbef33c7f3312a7721be7f9949bd8 (diff)
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/branches/1.4@48015 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs')
-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)