Table 109: Cdr Api Uri Parameters - Grandstream Networks UCM6510 User Manual

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

Advertisement

renamed as 'private.pem' automatically.
TLS Cert
Upload TLS cert. The size of the certificate must be under 2MB. This is the certificate
file (*.pem format only) for TLS connection. This file will be renamed as
"certificate.pem" automatically. It contains private key for the client and signed
certificate for the server.
Username
Configure the Username for API Authentication.
Password
Configure the Password for API Authentication.
Permitted
Specify a list of IP addresses permitted by CDR API. This creates an AIP-specific
access control list. Multiple entries are allowed.
For example, "192.168.40.3/255.255.255.255" denies access from all IP addresses
except 192.168.40.3.
The format of the HTTPS request for the CDR API is as below.
https://[UCM IP]:[Port]/cdrapi?[option1]=[value]&[option2]=[value]&...
By default, the port number for the API is 8443.
The options included in the request URI control the record matching and output format. For CDR matching
parameters, all non-empty parameters must have a match to return a record. Parameters can appear in
the URI in any order. Multiple values given for caller or callee will be concatenated. The following table
shows the parameter list used in the CDR API.
Field
Value
format
csv, xml, json
numRecords
Number: 0-1000
offset
Number
Comma separated extensions,
caller
ranges of extensions, or regular
expressions.
callee
Example:
Firmware Version 1.0.10.39

Table 109: CDR API URI Parameters

Details
Define the format for output of matching CDR rows.
Default is csv (comma separated values).
Number of records to return. Default is 1000, which is
also the maximum allowed value.
Number of matching records to skip. This will be
combined with numRecords to receive all matches over
multiple responses. Default is 0.
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
UCM6510 IP PBX User Manual
Page 317 of 339

Advertisement

Table of Contents
loading

Table of Contents