Grandstream UCM6510 User Manual User Manual
Page 293

Firmware Version 1.0.2.5
UCM6510 IP PBX User Manual
Page 292 of 313
endTime
YYYY-MM-DDTHH:MM
YYYY-MM-DDTHH:MM:SS
YYYY-MM-DDTHH:MM:SS.SSS
(literal 'T' character separator in
above three formats)
HH:MM
HH:MM:SS
HH:MM:SS.SSS
now
DDDDDDDDDD
match, regardless of the call answer or end time. An
empty value for either field will be interpreted as range
with no minimum or maximum respectively.
Strings without a date have a default value of
2000-01-01. Strings without a time of day have a default
value of of 00:00 UTC, while strings with a time of day
specified may also optionally specify a time zone offset -
replace '+' in time zone offset with '%2B' (see
minDur
Number (duration in seconds)
Filters based on the billsec value, the duration between
call answer and call end.
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 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
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.