Example Output; Csv - Grandstream Networks UCM6510 Manual

Ip pbx appliance cdr report and cdr api
Hide thumbs Also See for UCM6510:
Table of Contents

Advertisement

06:00&numRecords=200&offset=400
Note:
Disallowed characters in the caller, callee, startTime, or endTime strings, and non-digit characters
in the values of numRecords, offset, minDur, or maxDur, will result in no records returned - the
appropriate container/header for the output format will be the only output. If the format parameter
is in error, the CSV header will be used. Error messages will appear in the Asterisk log (along with
errors stemming from failed database connections, etc.).
Other errors which return no records include:
- Multiple hyphens in an extension range (e.g. caller=5300-5301-,6300)
- Empty parameter value (e.g. caller=)
- Extension values starting with comma, or with consecutive commas (e.g. caller=5300,,5303)
- Unknown parameters (e.g. caler=5300) or URI ending with '&'
- Except for caller and callee, multiple instances of the same parameter within the URI (e.g.
minDur=5&minDur=10)

EXAMPLE OUTPUT

The following are examples of each of the output formats for the same data set.

CSV

AcctId,accountcode,src,dst,dcontext,clid,channel,dstchannel,lastapp,lastdata,start,answer,end,duration
,billsec,disposition,amaflags,uniqueid,userfield,channel_ext,dstchannel_ext,service
62,,5300,5301,from-internal,"pn01" <5300>,SIP/5300-00000000,SIP/5301-
00000001,Dial,SIP/5301,60,,2013-12-03 11:46:40,2013-12-03 11:46:43,2013-12-03
11:46:49,9,6,ANSWERED,DOCUMENTATION,1386092800.0,EXT,5300,5301,s
63,,5300,5301,from-internal,"pn01" <5300>,SIP/5300-00000000,SIP/5301-
00000001,Dial,SIP/5301,60,,2013-12-03 14:01:41,2013-12-03 14:01:43,2013-12-03
14:01:46,5,3,ANSWERED,DOCUMENTATION,1386100901.0,EXT,5300,5301,s
64,,5300,5301,from-internal,"pn01" <5300>,SIP/5300-00000002,SIP/5301-
00000003,Dial,SIP/5301,60,,2013-12-03 14:02:23,2013-12-03 14:02:27,2013-12-03
14:02:31,8,4,ANSWERED,DOCUMENTATION,1386100943.2,EXT,5300,5301,s
UCM6510 CDR Report and CDR API Guide
Page 12 of 13

Advertisement

Table of Contents
loading

Table of Contents