REST API Method: GET /rest/isdnsg/{identifier}/historicalstatistics/{identifier}
This action retrieves the historical statistics for a given ISDN 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/isdnsg/{identifier}/historicalstatistics/{identifier}
HTTP Method
GET
Requires Authentication
true
Resource Schema
Statistics
Parameter Name | Description | Data Type | Possible Values |
---|
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/isdnsg/1/historicalstatistics/1 |
Response:
Code Block |
---|
|
<?xml version="1.0"?>
<root>
<status>
<http_code>200</http_code>
</status>
<isdnsg id="10001" href="https://134.56.72.218/rest/isdnsg/10001">
<ActionsetTableNumber>0</ActionsetTableNumber>
<AddNetworkSpecificFacility>0</AddNetworkSpecificFacility>
<AddSetupProgress>0</AddSetupProgress>
<ApplyToChannelList></ApplyToChannelList>
<ApplyToPortName href="https://134.56.72.218/linecard/1/telcods1port/1">1.1</ApplyToPortName>
<AsnNumberingSpace>0</AsnNumberingSpace>
<ChannelClearingDelay>10</ChannelClearingDelay>
<ChannelNumberBit>1</ChannelNumberBit>
<ConfigIEState>1</ConfigIEState>
<DelayChannelClearing>0</DelayChannelClearing>
<Description>REST ISDN</Description>
<IncludeInterfaceIdentifier>0</IncludeInterfaceIdentifier>
<IncludeNFEIAPDU>1</IncludeNFEIAPDU>
<IsdnAllowCallingNameDisplayToSwitch>0</IsdnAllowCallingNameDisplayToSwitch>
<IsdnServiceMessageCapability>1</IsdnServiceMessageCapability>
<IsdnSgDirection>2</IsdnSgDirection>
<IsdnSgHuntMethod>4</IsdnSgHuntMethod>
<IsdnSgIndicatedChannel>1</IsdnSgIndicatedChannel>
<IsdnSgOverlapRxMode>0</IsdnSgOverlapRxMode>
<IsdnSgOverlapTxMode>0</IsdnSgOverlapTxMode>
<IsdnSgRingbackPlayPolicy>0</IsdnSgRingbackPlayPolicy>
<IsdnSgSideOrientation>0</IsdnSgSideOrientation>
<IsdnSgSwitchVariant>3</IsdnSgSwitchVariant>
<IsdnSgTimerT301>180</IsdnSgTimerT301>
<IsdnSgTimerT302>15</IsdnSgTimerT302>
<IsdnSgTimerT303>4</IsdnSgTimerT303>
<IsdnSgTimerT305>30</IsdnSgTimerT305>
<IsdnSgTimerT308>4</IsdnSgTimerT308>
<IsdnSgTimerT309>6</IsdnSgTimerT309>
<IsdnSgTimerT310>30</IsdnSgTimerT310>
<IsdnSgTimerT313>4</IsdnSgTimerT313>
<IsdnSgTimerT314>4</IsdnSgTimerT314>
<IsdnSgTimerT316>120</IsdnSgTimerT316>
<IsdnSgTimerT322>4</IsdnSgTimerT322>
<IsdnSgTimerT3M1>120</IsdnSgTimerT3M1>
<IsdnStopFarEndT310UponTryingFromSip>0</IsdnStopFarEndT310UponTryingFromSip>
<NSFIdentification>0</NSFIdentification>
<NSFInformation>0</NSFInformation>
<NoChannelAvailableId>34</NoChannelAvailableId>
<PortChannelCountFull>1</PortChannelCountFull>
<ProtocolIdentifier>1</ProtocolIdentifier>
<RouteTableNumber href="https://134.56.72.218/routingtable/1">1</RouteTableNumber>
<SGType>0</SGType>
<SendFacilityPassthrough>1</SendFacilityPassthrough>
<SendRNInFacility>0</SendRNInFacility>
<TEIAssignment>-1</TEIAssignment>
<TimerSanitySetup>255000</TimerSanitySetup>
<ToneTableNumber href="https://134.56.72.218/tonetable/1">1</ToneTableNumber>
<rt_CurrentActiveCalls>0</rt_CurrentActiveCalls>
<rt_IncomingCallaccepts>0</rt_IncomingCallaccepts>
<rt_IncomingCallattempts>0</rt_IncomingCallattempts>
<rt_IncomingCallcompletes>0</rt_IncomingCallcompletes>
<rt_IncomingCallrejects>0</rt_IncomingCallrejects>
<rt_IsdnSgQ921State>1</rt_IsdnSgQ921State>
<rt_OutgoingCallaccepts>0</rt_OutgoingCallaccepts>
<rt_OutgoingCallattempts>0</rt_OutgoingCallattempts>
<rt_OutgoingCallcompletes>0</rt_OutgoingCallcompletes>
<rt_OutgoingCallrejects>0</rt_OutgoingCallrejects>
<rt_TEIInUse>0</rt_TEIInUse>
<rt_TotalCallsProcessed>0</rt_TotalCallsProcessed>
<rt_TotalConnectedCalls>0</rt_TotalConnectedCalls>
<rt_TotalErroredCalls>0</rt_TotalErroredCalls>
<rt_TotalRefusedCalls>0</rt_TotalRefusedCalls>
<rt_linkDownCount>0</rt_linkDownCount>
<rt_linkUpCount>0</rt_linkUpCount>
<rt_rxCount>1</rt_rxCount>
<rt_rxDISC>0</rt_rxDISC>
<rt_rxDM>0</rt_rxDM>
<rt_rxDataReq>0</rt_rxDataReq>
<rt_rxEstReq>1</rt_rxEstReq>
<rt_rxFRMR>0</rt_rxFRMR>
<rt_rxICount>0</rt_rxICount>
<rt_rxREJ>0</rt_rxREJ>
<rt_rxRNR>0</rt_rxRNR>
<rt_rxRR>0</rt_rxRR>
<rt_rxRelReq>1</rt_rxRelReq>
<rt_rxSABME>1</rt_rxSABME>
<rt_rxSCount>0</rt_rxSCount>
<rt_rxUA>0</rt_rxUA>
<rt_rxUNCount>1</rt_rxUNCount>
<rt_txCount>2</rt_txCount>
<rt_txCountBusy>0</rt_txCountBusy>
<rt_txDISC>0</rt_txDISC>
<rt_txDM>0</rt_txDM>
<rt_txFRMR>0</rt_txFRMR>
<rt_txICount>0</rt_txICount>
<rt_txREJ>0</rt_txREJ>
<rt_txRNR>0</rt_txRNR>
<rt_txRR>0</rt_txRR>
<rt_txSABME>2</rt_txSABME>
<rt_txUA>0</rt_txUA>
</isdnsg>
</root>
|