above three formats)
HH:MM
HH:MM:SS
HH:MM:SS.SSS
now
DDDDDDDDDD
minDur
Number (duration in seconds)
maxDur
Example Queries:
The following illustrates the format of queries to accomplish certain requests. In most cases, multiple
different queries will accomplish the same goal, and these examples are not intended to be exhaustive, but
rather to bring attention to particular features of the CDR A PI 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
Query 2: Request all records of calls placed on extension 5300 or in the range 6300-6399 to extensions
starting with 5, with results in XML format.
https://192.168.254.200:8088/cdrapi?format=XML&caller=5300,6300-6399&callee=5@
-OR-
https://192.168.254.200:8088/cdrapi?cdrapi?format=XML&caller=5300&caller=6300-6399&callee=5@
Firmware Version 1.0.2.5
specified may also optionally specify a time zone offset -
replace '+' in time zone offset with '%2B' (see
http://www.w3.org/TR/NOTE-datetime).
Filters based on the billsec value, the duration between
call answer and call end.
UCM6510 IP PBX User Manual
Page 296 of 317