[Home]

Summary:ASTERISK-09024: Typo in func_cdr.c causes help text to display improperly
Reporter:agjohnson (agjohnson)Labels:
Date Opened:2007-03-15 18:18:20Date Closed:2007-06-30 09:20:08
Priority:TrivialRegression?No
Status:Closed/CompleteComponents:Documentation
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:I misplaced comma in func_cdr.c causes the syntax section to show up improperly with doing "core show function CDR".  This issue has been fixed in trunk, but not in the 1.4 branch.  It does not apply to the 1.2 branch.  Attached is the corrected func_cdr.c file.

Diff from svn checkout on 1.4 branch:

[root@asterisk1 funcs]# svn diff
Index: func_cdr.c
===================================================================
--- func_cdr.c  (revision 58938)
+++ func_cdr.c  (working copy)
@@ -129,7 +129,7 @@
"  For example, 'start', 'answer', and 'end' will be retrieved as epoch\n"
"  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",
+"  integral values.\n"
"  Here is a list of all the available cdr field names:\n"
"    clid          lastdata       disposition\n"
"    src           start          amaflags\n"
[root@asterisk1 funcs]#
Comments:By: Joshua C. Colp (jcolp) 2007-03-19 10:53:48

Fixed in 1.4 as of revision 59042. Thanks!