aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)