Example Queries - Grandstream Networks UCM6100 Series Cdr And Rec Api Manual

Ip pbx appliance
Hide thumbs Also See for UCM6100 Series:
Table of Contents

Advertisement

Comma separated extensions,
caller
ranges of extensions, or regular
expressions.
Example:
callee
caller=5300,5302-5304,_4@
-OR-
caller=5300&caller=5302-
5304&caller=_4@
answeredby
(Matches extensions 5300,
5302, 5303, 5304, and any
extension containing 4 as the
second digit/character).
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
Filters based on src (caller) or dst (callee) value,
matching any extension contained in the parameter
input string.
Patterns containing one or more wildcards ('@' or '_')
will match as a regular expression, and treat '-' as a
literal hyphen rather than a range signifier. The '@'
wildcard matches any number of characters (including
zero), while '_' matches any single character.
Otherwise, patterns containing a single hyphen will be
matching a range of numerical extensions, with non-
numerical
containing multiple hyphens will be ignored. (The
pattern "0-0" will match all non-numerical and empty
strings).
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.
UCM6100 Series CDR and REC API Guide
characters
ignored,
Page 10 of 17
while
patterns

Advertisement

Table of Contents
loading

Table of Contents