REST API Method: GET /rest/cassg/{identifier}/historicalstatistics/{identifier}
This action retrieves the historical statistics for a given CAS Signaling Group 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.
Info |
---|
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. |
Tip |
---|
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/cassg/{identifier}/historicalstatistics/{identifier}
HTTP Method
GET
Requires Authentication
true
Resource Schema
Statistics
Parameter Name | Description | Data Type | Possible Values | Description |
---|
rt_PeakChannelUsage | Peak number of channels in use. | int | |
---|
rt_CompletedCalls | Total number of completed calls. | int | |
---|
rt_IncompleteCalls | Total number of incomplete calls. | int | |
---|
Code Block |
---|
|
curl --cookie PHPSESSID=ima0r3nkaeg8mo0suln67vg4m7 --cacert 134.56.227.163.crt
-i https://134.56.227.163/rest/cassg/1/historicalstatistics/1 |
Response:
Code Block |
---|
|
<?xml version="1.0"?>
<root>
<status>
<http_code>200</http_code>
</status>
<cassg id="20001" href="https://134.56.72.218/rest/cassg/20001">
<ActionSetTableId>0</ActionSetTableId>
<AdminState>1</AdminState>
<ApplyToChannelList></ApplyToChannelList>
<CallForward>0</CallForward>
<CallForwardActivate>*72</CallForwardActivate>
<CallForwardDeactivate>*73</CallForwardDeactivate>
<CallerIDType>0</CallerIDType>
<CallerIdPrivacySignaling></CallerIdPrivacySignaling>
<CasEnMProfileId>0</CasEnMProfileId>
<CasLineType>0</CasLineType>
<CasLoopStartFxoProfileId>0</CasLoopStartFxoProfileId>
<CasLoopStartFxsProfileId href="https://134.56.72.218/fxssignalingprofile/1">1</CasLoopStartFxsProfileId>
<CasR2ProfileId>0</CasR2ProfileId>
<CasSgDTMFCallerIDEndDelimiter>12</CasSgDTMFCallerIDEndDelimiter>
<CasSgDTMFCallerIDStartDelimiter>13</CasSgDTMFCallerIDStartDelimiter>
<CasSgDirection>2</CasSgDirection>
<CasSgHuntMethod>4</CasSgHuntMethod>
<CasSgRingbackPlayPolicy>0</CasSgRingbackPlayPolicy>
<CasSignalingType>0</CasSignalingType>
<CasSupplementaryProfileId>0</CasSupplementaryProfileId>
<ChannelOwnNumberList></ChannelOwnNumberList>
<Description>REST CAS SG</Description>
<EndOfDialDigit></EndOfDialDigit>
<FXSCallForwardingNumberList></FXSCallForwardingNumberList>
<FXSHotlineNumberList></FXSHotlineNumberList>
<NoChannelAvailableId>34</NoChannelAvailableId>
<RelayCallingName>1</RelayCallingName>
<RouteTableId href="https://134.56.72.218/routingtable/1">1</RouteTableId>
<TimerSanitySetup>255000</TimerSanitySetup>
<ToneTableId href="https://134.56.72.218/tonetable/1">1</ToneTableId>
<rt_CasSgIncomingCallsAttempted>0</rt_CasSgIncomingCallsAttempted>
<rt_CasSgIncomingCallsConnected>0</rt_CasSgIncomingCallsConnected>
<rt_CasSgOutgoingCallsAttempted>0</rt_CasSgOutgoingCallsAttempted>
<rt_CasSgOutgoingCallsConnected>0</rt_CasSgOutgoingCallsConnected>
<rt_CasSignalingType>0</rt_CasSignalingType>
</cassg>
</root>
|