<root>
AcctId,accountcode,src,dst,dcontext,clid,channel,dstchannel,lastapp,lastdata,start,answer,end,duration,
<cdr><AcctId>62</AcctId><accountcode></accountcode><src>5300</src><dst>5301</dst><dcontext
billsec,disposition,amaflags,uniqueid,userfield,channel_ext,dstchannel_ext,service
>from-internal</dcontext><clid>";pn01";
62,,5300,5301,from-internal,"pn01"
<;5300>;</clid><channel>SIP/5300-00000000</channel><dstchannel>SIP/5301-00000001</dstcha
<5300>,SIP/5300-00000000,SIP/5301-00000001,Dial,SIP/5301,60,,2013-12-03 11:46:40,2013-12-03
nnel><lastapp>Dial</lastapp><lastdata>SIP/5301,60,</lastdata><start>2013-12-03
11:46:43,2013-12-03 11:46:49,9,6,ANSWERED,DOCUMENTATION,1386092800.0,EXT,5300,5301,s
11:46:40</start><answer>2013-12-03 11:46:43</answer><end>2013-12-03
63,,5300,5301,from-internal,"pn01"
11:46:49</end><duration>9</duration><billsec>6</billsec><disposition>ANSWERED</disposition><a
<5300>,SIP/5300-00000000,SIP/5301-00000001,Dial,SIP/5301,60,,2013-12-03 14:01:41,2013-12-03
appropriate container/header for the output format will be the only output. If the format parameter
maflags>DOCUMENTATION</amaflags><uniqueid>1386092800.0</uniqueid><userfield>EXT</userfie
14:01:43,2013-12-03 14:01:46,5,3,ANSWERED,DOCUMENTATION,1386100901.0,EXT,5300,5301,s
is in error, the CSV header will be used. Error messages will appear in the Asterisk log (along with
ld><channel_ext>5300</channel_ext><dstchannel_ext>5301</dstchannel_ext><service>s</service></
64,,5300,5301,from-internal,"pn01"
cdr>
<5300>,SIP/5300-00000002,SIP/5301-00000003,Dial,SIP/5301,60,,2013-12-03 14:02:23,2013-12-03
errors stemming from failed database connections, etc.).
<cdr><AcctId>63</AcctId><accountcode></accountcode><src>5300</src><dst>5301</dst><dcontext
14:02:27,2013-12-03 14:02:31,8,4,ANSWERED,DOCUMENTATION,1386100943.2,EXT,5300,5301,s
• Other errors which return no records include:
>from-internal</dcontext><clid>";pn01";
<;5300>;</clid><channel>SIP/5300-00000000</channel><dstchannel>SIP/5301-00000001</dstcha
nnel><lastapp>Dial</lastapp><lastdata>SIP/5301,60,</lastdata><start>2013-12-03
- Multiple hyphens in an extension range (e.g. caller=5300-5301-,6300)
14:01:41</start><answer>2013-12-03 14:01:43</answer><end>2013-12-03
14:01:46</end><duration>5</duration><billsec>3</billsec><disposition>ANSWERED</disposition><a
- Empty parameter value (e.g. caller=)
maflags>DOCUMENTATION</amaflags><uniqueid>1386100901.0</uniqueid><userfield>EXT</userfie
ld><channel_ext>5300</channel_ext><dstchannel_ext>5301</dstchannel_ext><service>s</service></
- Extension values starting with comma, or with consecutive commas (e.g. caller=5300,,5303)
cdr>
<cdr><AcctId>64</AcctId><accountcode></accountcode><src>5300</src><dst>5301</dst><dcontext
>from-internal</dcontext><clid>";pn01";
- Unknown parameters (e.g. caler=5300) or URI ending with '&'
<;5300>;</clid><channel>SIP/5300-00000002</channel><dstchannel>SIP/5301-00000003</dstcha
nnel><lastapp>Dial</lastapp><lastdata>SIP/5301,60,</lastdata><start>2013-12-03
- Except for caller and callee, multiple instances of the same parameter within the URI (e.g.
14:02:23</start><answer>2013-12-03 14:02:27</answer><end>2013-12-03
14:02:31</end><duration>8</duration><billsec>4</billsec><disposition>ANSWERED</disposition><a
minDur=5&minDur=10)
maflags>DOCUMENTATION</amaflags><uniqueid>1386100943.2</uniqueid><userfield>EXT</userfie
ld><channel_ext>5300</channel_ext><dstchannel_ext>5301</dstchannel_ext><service>s</service></
--------------------------------------------------------------------------------------------------------------------------------------------
cdr>
</root>
Example Output:
The following are examples of each of the output formats for the same data set.
CSV:
XML:
Firmware Version 1.0.2.5
UCM6510 IP PBX User Manual
Page 298 of 317