Grandstream Networks UCM6510 User Manual page 296

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

Advertisement

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   A PI.
Field  
Value  
format  
csv,  xml,  json  
numRecords   Number:  0-­1000  
offset  
Number  
Comma  separated  extensions,  
caller  
ranges  of  extensions,  or  regular  
expressions.    
Example:  
caller=5300,5302-­5304,_4@  
        -­OR-­  
callee  
caller=5300&caller=5302-­5304&
caller=_4@
(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  
endTime  
YYYY-­MM-­DDTHH:MM:SS.SSS  
(literal  'T'  character  separator  in  
Firmware  Version  1.0.2.5  
 
Table  108:  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  
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  characters  
ignored,  while  patterns  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.   A n  
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  
UCM6510  IP  PBX  User  Manual  
 
 
Page  295  of  317

Advertisement

Table of Contents
loading

Table of Contents