You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

REST API Method: GET /rest/routingtable/{identifier}/routingentry/{identifier}/historicalstatistics/{identifier}

This action retrieves the historical statistics for a given Call Routing Entry in the Sonus SBC 1000/2000 system. The collections are over 1 hour intervals for a period of 1 day, thus giving a maximum of 24 historical records.

The current interval is always the resource with ID 1. There will be a maximum of 25 rows returned for a lookup, where the row with ID 1 is the current interval being collected and the rows with ID 2-25 are the historical collections.

If no ID is specified, a listing of all collections will be returned along with their associated IDs. These identifiers can be used to get the individual resource element values.

URL:

https://134.56.227.163/rest/routingtable/{identifier}/routingentry/{identifier}/historicalstatistics/{identifier}

HTTP Method

GET

Requires Authentication

true

Resource Schema

Statistics

Parameter Name Description
rt_RuleUsageDisplays the number of times this call route has been selected for a call.
rt_ASRDisplays the Answer-Seizure Ratio for this call route.

ASR is calculated by dividing the number of call attempts answered by the number of call attempts.

rt_RoundTripDelayDisplays the average round trip delay for this call route.
rt_JitterDisplays the average jitter for this call route.
rt_QualityFailedDisplays if this call route is currently passing or failing the associated quality metrics. If true then the rule is failing, if false then it is passing.

Usage Example: (about cURL | requires a session token)

curl --cookie PHPSESSID=ima0r3nkaeg8mo0suln67vg4m7 --cacert 134.56.227.163.crt 
-i https://134.56.227.163/rest/routingtable/1/routingentry/1/historicalstatistics/1

Response:

Put Code response here
  • No labels