Grandstream Networks UCM6510 User Manual page 177

Ip pbx
Hide thumbs Also See for UCM6510:
Table of Contents

Advertisement

Date and/or time of day in any of
startTime
the following formats:
YYYY-MM-DDTHH:MM
YYYY-MM-DDTHH:MM:SS
YYYY-MM-DDTHH:MM:SS.SSS
(literal 'T' character separator in
above three formats)
endTime
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 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
Firmware Version 1.0.0.5
Filters based on the start (call start time) value. Calls
which start within this period (inclusive of boundaries)
will 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 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 176 of 192

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents