CDR API CONFIGURATION FILES ............8 CDR API CONFIGURATION ........................8 CDR API URL FORMAT AND PARAMETERS ..................9 EXAMPLE QUERIES ........................... 10 EXAMPLE OUTPUT ..........................12 CSV............................... 12 XML............................... 13 JSON ............................13 UCM6510 CDR Report and CDR API Guide Page 1 of 13...
Page 3
Figure 5: Downloaded CDR File Sample - Source Channel and Dest Channel 2 ........7 Figure 6: Downloaded CDR File Sample - Source Channel and Dest Channel 3 ........7 UCM6510 CDR Report and CDR API Guide Page 2 of 13...
CDR FILTER On the UCM6510, the CDR can be accessed under web UI->Status->CDR->CDR. Users could filter the call report by specifying the date range and criteria, depending on how the users would like to include the logs to the report.
Call Time Format: 0:13:45 Talk Time Format: 0:13:41 Status No answer, Busy, Answered, or Failed. The following figure shows CDR record produced by the UCM6510. UCM6510 CDR Report and CDR API Guide Page 4 of 13...
(shown in blue) for users to click on. : Download the voice recording for the call : Play the voice recording for the call : Delete the voice recording for the call UCM6510 CDR Report and CDR API Guide Page 5 of 13...
Figure 4: Downloaded CDR File Sample - Source Channel and Dest Channel 1 DAHDI means it is an analog call, FXO or FXS. DAHDI/(1-2) are FXO ports, and DAHDI(3-4) are FXS UCM6510 CDR Report and CDR API Guide Page 6 of 13...
Playback: play some prompts to you, such as 183 response or run into an IVR. ReadExten: collect numbers from user. It may occur when you input PIN codes or run into DISA UCM6510 CDR Report and CDR API Guide Page 7 of 13...
CDR API CONFIGURATION FILES The UCM6510 supports third party billing interface API for external billing software to access CDR on the PBX starting from firmware version 1.0.6.x. The API uses HTTPS to request the CDR data matching given parameters as configured on the third party application.
(Matches extensions 5300, containing multiple hyphens will be ignored. (The 5302, 5303, 5304, and any pattern "0-0" will match all non-numerical and empty extension containing 4 as the strings). second digit/character). UCM6510 CDR Report and CDR API Guide Page 9 of 13...
CDR API connector. Query 1: Request all records of calls placed on extension 5300 which last between 8 and 60 seconds (inclusive), with results in CSV format. https://192.168.254.200:8088/cdrapi?format=CSV&caller=5300&minDur=8&maxDur=60 -OR- https://192.168.254.200:8088/cdrapi?caller=5300&minDur=8&maxDur=60 UCM6510 CDR Report and CDR API Guide Page 10 of 13...
06:00&endTime=2013-07-31T23:59:59-06:00 Query 5: Request all records during July 2013 Central Standard Time, 200 at a time, with results in CSV format. https://192.168.254.200:8088/cdrapi?startTime=2013-07-01T00:00:00-06:00&endTime=2013-07-31T23:59:59- 06:00&numRecords=200&offset=0 -THEN- https://192.168.254.200:8088/cdrapi?sstartTime=2013-07-01T00:00:00-06:00&endTime=2013-07-31T23:59:59- 06:00&numRecords=200&offset=200 -THEN- https://192.168.254.200:8088/cdrapi?startTime=2013-07-01T00:00:00-06:00&endTime=2013-07-31T23:59:59- UCM6510 CDR Report and CDR API Guide Page 11 of 13...
The following are examples of each of the output formats for the same data set. 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...