From 8ccbe1dc56e03d03822d32111d9e8952f1ea4957 Mon Sep 17 00:00:00 2001
From: Steve Murphy <murf@digium.com>
Date: Sun, 26 Nov 2006 00:15:42 +0000
Subject: [PATCH] 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: https://origsvn.digium.com/svn/asterisk/trunk@48016 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 funcs/func_cdr.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/funcs/func_cdr.c b/funcs/func_cdr.c
index 039e45ca75..c868af17cd 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)
-- 
GitLab