Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Composition Setup
 
deck.tab.inactive.background=#8B7D7B; 
deck.tab.active.background=white; 
deck.card.background=white; 
deck.tab.active.border=1px solid black; 
deck.card.border=1px solid black; 
Info
iconfalse

Excerpt

The GET method allows you to retrieve data from the Sonus SBC Edge REST Resource.

The following examples demonstrate how to use the GET Method on a resource using cURL. The API allows you to GET a resource in bulk or a in a single instance:

Table of Contents
maxLevel2
minLevel2

Anchor
get_bulk
get_bulk

Bulk Lookup: GET /rest/isdnsg

Deck of Cards
idget_bulk
Card
labelGet all Resources

Usage Example:

No Format
./curl.exe --cookie PHPSESSID=ima0r3nkaeg8mo0suln67vg4m7 --cacert 192.168.1.183.crt \
-i https://192.168.1.183/rest/isdnsg 

Header Response

Code Block
langnone
HTTP/1.1 200 OK 
Expires: Thu, 19 Nov 1981 08:52:00 GMT 
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 
Pragma: no-cache 
Content-type: text/html; charset=UTF-8 
Transfer-Encoding: chunked 
Date: Tue, 17 May 2011 19:12:54 GMT 

XML Response

Code Block
titleSample XML Response
langxml
<?xml version="1.0" encoding="UTF-8"?>
<root> 
    <status> 
        <http_code>200</http_code> 
    </status> 
    <isdnsg_list count="1"> 
        <isdnsg_pk id="10001" href="https://192.168.1.183/rest/isdnsg/10001"/> 
    </isdnsg_list> 
</root> 
Card
labelGet Details for all Resources

Usage Example:

No Format
./curl.exe --cookie PHPSESSID=ima0r3nkaeg8mo0suln67vg4m7 --cacert 192.168.1.183.crt \
-i https://192.168.1.183/rest/isdnsg?details=true 

Header Response

Code Block
langnone
HTTP/1.1 200 OK
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Date: Thu, 26 May 2011 18:45:10 GMT

XML Response

Code Block
titleSample XML Response
langxml
<?xml version="1.0">
<root>
    <status>
        <http_code>200</http_code>
    </status>
    <isdnsg_list count="1">
        <isdnsg id="10001" href="https://192.168.1.183/rest/isdnsg/10001">
            <ActionsetTableNumber>0</ActionsetTableNumber>
            <ApplyToPortName href="https://192.168.1.183/linecard/1/telcods1port/1">1.1</ApplyToPortName>
            <ConfigIEState>1</ConfigIEState>
            <Description>REST ISDN SG</Description>
            <IsdnAllowCallingNameDisplayToSwitch>0</IsdnAllowCallingNameDisplayToSwitch>
            <IsdnServiceMessageCapability>1</IsdnServiceMessageCapability>
            <IsdnSgDirection>2</IsdnSgDirection>
            <IsdnSgHuntMethod>0</IsdnSgHuntMethod>
            <IsdnSgOverlapRxMode>0</IsdnSgOverlapRxMode>
            <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>
            <RouteTableNumber href="https://192.168.1.183/routingtable/1">1</RouteTableNumber>
            <ToneTableNumber href="https://192.168.1.183/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>0</rt_IsdnSgQ921State>
            <rt_OutgoingCallaccepts>0</rt_OutgoingCallaccepts>
            <rt_OutgoingCallattempts>0</rt_OutgoingCallattempts>
            <rt_OutgoingCallcompletes>0</rt_OutgoingCallcompletes>
            <rt_OutgoingCallrejects>0</rt_OutgoingCallrejects>
            <rt_TotalCallsProcessed>0</rt_TotalCallsProcessed>
            <rt_TotalConnectedCalls>0</rt_TotalConnectedCalls>
            <rt_TotalErroredCalls>0</rt_TotalErroredCalls>
            <rt_TotalRefusedCalls>0</rt_TotalRefusedCalls>
            <rt_linkDownCount>33</rt_linkDownCount>
            <rt_linkUpCount>0</rt_linkUpCount>
            <rt_rxCount>0</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>0</rt_rxRelReq>
            <rt_rxSABME>0</rt_rxSABME>
            <rt_rxSCount>0</rt_rxSCount>
            <rt_rxUA>0</rt_rxUA>
            <rt_rxUNCount>0</rt_rxUNCount>
            <rt_txCount>134</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>134</rt_txSABME>
            <rt_txUA>0</rt_txUA>
        </isdnsg>
    </isdnsg_list>
</root>
Card
labelGet only Config Details for all Resources

Usage Example:

No Format
./curl.exe --cookie PHPSESSID=ima0r3nkaeg8mo0suln67vg4m7 --cacert 192.168.1.183.crt \
-i "https://192.168.1.183/rest/isdnsg?details=true&filter=config" 

Header Response

Code Block
langnone
HTTP/1.1 200 OK
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Date: Thu, 26 May 2011 18:54:30 GMT

XML Response

Code Block
titleSample XML Response
langxml
<?xml version="1.0">
<root>
    <status>
        <http_code>200</http_code>
    </status>
    <isdnsg_list count="1">
        <isdnsg id="10001" href="https://192.168.1.183/rest/isdnsg/10001">
            <ActionsetTableNumber>0</ActionsetTableNumber>
            <ApplyToPortName href="https://192.168.1.183/linecard/1/telcods1port/1">1.1</ApplyToPortName>
            <ConfigIEState>1</ConfigIEState>
            <Description>REST ISDN SG</Description>
            <IsdnAllowCallingNameDisplayToSwitch>0</IsdnAllowCallingNameDisplayToSwitch>
            <IsdnServiceMessageCapability>1</IsdnServiceMessageCapability>
            <IsdnSgDirection>2</IsdnSgDirection>
            <IsdnSgHuntMethod>0</IsdnSgHuntMethod>
            <IsdnSgOverlapRxMode>0</IsdnSgOverlapRxMode>
            <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>
            <RouteTableNumber href="https://192.168.1.183/routingtable/1">1</RouteTableNumber>
            <ToneTableNumber href="https://192.168.1.183/tonetable/1">1</ToneTableNumber>
        </isdnsg>
    </isdnsg_list>
</root>
Card
labelGet only Statistics Details for all Resources

Usage Example:

No Format
./curl.exe --cookie PHPSESSID=ima0r3nkaeg8mo0suln67vg4m7 --cacert 192.168.1.183.crt \
-i "https://192.168.1.183/rest/isdnsg?details=true&filter=statistics" 

Header Response

Code Block
langnone
HTTP/1.1 200 OK
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Date: Thu, 26 May 2011 19:04:40 GMT

XML Response

Code Block
titleSample XML Response
langxml
<?xml version="1.0">
<root>
    <status>
        <http_code>200</http_code>
    </status>
    <isdnsg_list count="1">
        <isdnsg id="10001" href="https://192.168.1.183/rest/isdnsg/10001">
            <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>0</rt_IsdnSgQ921State>
            <rt_OutgoingCallaccepts>0</rt_OutgoingCallaccepts>
            <rt_OutgoingCallattempts>0</rt_OutgoingCallattempts>
            <rt_OutgoingCallcompletes>0</rt_OutgoingCallcompletes>
            <rt_OutgoingCallrejects>0</rt_OutgoingCallrejects>
            <rt_TotalCallsProcessed>0</rt_TotalCallsProcessed>
            <rt_TotalConnectedCalls>0</rt_TotalConnectedCalls>
            <rt_TotalErroredCalls>0</rt_TotalErroredCalls>
            <rt_TotalRefusedCalls>0</rt_TotalRefusedCalls>
            <rt_linkDownCount>118</rt_linkDownCount>
            <rt_linkUpCount>0</rt_linkUpCount>
            <rt_rxCount>0</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>0</rt_rxRelReq>
            <rt_rxSABME>0</rt_rxSABME>
            <rt_rxSCount>0</rt_rxSCount>
            <rt_rxUA>0</rt_rxUA>
            <rt_rxUNCount>0</rt_rxUNCount>
            <rt_txCount>472</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>472</rt_txSABME>
            <rt_txUA>0</rt_txUA>
        </isdnsg>
    </isdnsg_list>
</root>

Anchor
get_single
get_single

Single Lookup:  

GET /rest/isdnsg/

Identifier

Deck of Cards
idget_bulk
Card
labelGet resource

Usage Example:

No Format
./curl.exe --cookie PHPSESSID=ima0r3nkaeg8mo0suln67vg4m7 --cacert 192.168.1.183.crt \
-i https://192.168.1.183/rest/isdnsg/10001 

Header Response:

Code Block
titleSample Header Response
langnone
HTTP/1.1 200 OK 
Expires: Thu, 19 Nov 1981 08:52:00 GMT 
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 
Pragma: no-cache 
Content-type: text/html; charset=UTF-8 
Transfer-Encoding: chunked 
Date: Tue, 17 May 2011 19:13:56 GMT 

XML Response:

Code Block
titleSample XML Response
langxml
 
<?xml version="1.0" encoding="UTF-8"?>
<root> 
    <status> 
        <http_code>200</http_code> 
    </status> 
    <isdnsg id="10001" href="https://192.168.1.183/rest/isdnsg/10001"> 
        <ActionsetTableNumber>0</ActionsetTableNumber> 
        <ApplyToPortName href="https://192.168.1.183/linecard/1/telcods1port/2">1.2</ApplyToPortName> 
        <ConfigIEState>1</ConfigIEState> 
        <Description>Renamed Description: ISDN UC, Port 1.2</Description> 
        <IsdnAllowCallingNameDisplayToSwitch>0</IsdnAllowCallingNameDisplayToSwitch> 
        <IsdnServiceMessageCapability>1</IsdnServiceMessageCapability> 
        <IsdnSgDirection>2</IsdnSgDirection> 
        <IsdnSgHuntMethod>0</IsdnSgHuntMethod> 
        <IsdnSgOverlapRxMode>0</IsdnSgOverlapRxMode> 
        <IsdnSgRingbackPlayPolicy>0</IsdnSgRingbackPlayPolicy> 
        <IsdnSgSideOrientation>0</IsdnSgSideOrientation> 
        <IsdnSgSwitchVariant>6</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>1</IsdnStopFarEndT310UponTryingFromSip> 
        <RouteTableNumber href="https://192.168.1.183/routingtable/2">2</RouteTableNumber> 
        <ToneTableNumber href="https://192.168.1.183/tonetable/10">10</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>0</rt_IsdnSgQ921State> 
        <rt_OutgoingCallaccepts>0</rt_OutgoingCallaccepts> 
        <rt_OutgoingCallattempts>0</rt_OutgoingCallattempts> 
        <rt_OutgoingCallcompletes>0</rt_OutgoingCallcompletes> 
        <rt_OutgoingCallrejects>0</rt_OutgoingCallrejects> 
        <rt_TotalCallsProcessed>0</rt_TotalCallsProcessed> 
        <rt_TotalConnectedCalls>0</rt_TotalConnectedCalls> 
        <rt_TotalErroredCalls>0</rt_TotalErroredCalls> 
        <rt_TotalRefusedCalls>0</rt_TotalRefusedCalls> 
        <rt_linkDownCount>154</rt_linkDownCount> 
        <rt_linkUpCount>0</rt_linkUpCount> 
        <rt_rxCount>0</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>0</rt_rxRelReq> 
        <rt_rxSABME>0</rt_rxSABME> 
        <rt_rxSCount>0</rt_rxSCount> 
        <rt_rxUA>0</rt_rxUA> 
        <rt_rxUNCount>0</rt_rxUNCount> 
        <rt_txCount>618</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>618</rt_txSABME> 
        <rt_txUA>0</rt_txUA> 
    </isdnsg> 
</root> 
Card
labelGet Resource with only Config

Usage Example:

No Format
./curl.exe --cookie PHPSESSID=ima0r3nkaeg8mo0suln67vg4m7 --cacert 192.168.1.183.crt \
-i https://192.168.1.183/rest/isdnsg/10001?filter=config 

Header Response:

Code Block
titleSample Header Response
langnone
HTTP/1.1 200 OK 
Expires: Thu, 19 Nov 1981 08:52:00 GMT 
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 
Pragma: no-cache 
Content-type: text/html; charset=UTF-8 
Transfer-Encoding: chunked 
Date: Tue, 17 May 2011 19:13:56 GMT 

XML Response:

Code Block
titleSample XML Response
langxml
 
<?xml version="1.0" encoding="UTF-8"?>
<root>
    <status>
        <http_code>200</http_code>
    </status>
    <isdnsg id="10001" href="https://192.168.1.183/rest/isdnsg/10001">
        <ActionsetTableNumber>0</ActionsetTableNumber>
        <ApplyToPortName href="https://192.168.1.183/linecard/1/telcods1port/1">1.1</ApplyToPortName>
        <ConfigIEState>1</ConfigIEState>
        <Description>REST ISDN SG</Description>
        <IsdnAllowCallingNameDisplayToSwitch>0</IsdnAllowCallingNameDisplayToSwitch>
        <IsdnServiceMessageCapability>1</IsdnServiceMessageCapability>
        <IsdnSgDirection>2</IsdnSgDirection>
        <IsdnSgHuntMethod>0</IsdnSgHuntMethod>
        <IsdnSgOverlapRxMode>0</IsdnSgOverlapRxMode>
        <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>
        <RouteTableNumber href="https://192.168.1.183/routingtable/1">1</RouteTableNumber>
        <ToneTableNumber href="https://192.168.1.183/tonetable/1">1</ToneTableNumber>
    </isdnsg>
</root>
Card
labelGet Resource with only Statistics

Usage Example:

No Format
./curl.exe --cookie PHPSESSID=ima0r3nkaeg8mo0suln67vg4m7 --cacert 192.168.1.183.crt \
-i https://192.168.1.183/rest/isdnsg/10001?filter=statistics 

Header Response:

Code Block
titleSample Header Response
langnone
HTTP/1.1 200 OK
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Date: Thu, 26 May 2011 19:58:07 GMT

XML Response:

Code Block
titleSample XML Response
langxml
 
<?xml version="1.0" encoding="UTF-8"?>
<root>
    <status>
        <http_code>200</http_code>
    </status>
    <isdnsg id="10001" href="https://192.168.1.183/rest/isdnsg/10001">
        <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>0</rt_IsdnSgQ921State>
        <rt_OutgoingCallaccepts>0</rt_OutgoingCallaccepts>
        <rt_OutgoingCallattempts>0</rt_OutgoingCallattempts>
        <rt_OutgoingCallcompletes>0</rt_OutgoingCallcompletes>
        <rt_OutgoingCallrejects>0</rt_OutgoingCallrejects>
        <rt_TotalCallsProcessed>0</rt_TotalCallsProcessed>
        <rt_TotalConnectedCalls>0</rt_TotalConnectedCalls>
        <rt_TotalErroredCalls>0</rt_TotalErroredCalls>
        <rt_TotalRefusedCalls>0</rt_TotalRefusedCalls>
        <rt_linkDownCount>350</rt_linkDownCount>
        <rt_linkUpCount>0</rt_linkUpCount>
        <rt_rxCount>0</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>0</rt_rxRelReq>
        <rt_rxSABME>0</rt_rxSABME>
        <rt_rxSCount>0</rt_rxSCount>
        <rt_rxUA>0</rt_rxUA>
        <rt_rxUNCount>0</rt_rxUNCount>
        <rt_txCount>1401</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>1401</rt_txSABME>
        <rt_txUA>0</rt_txUA>
    </isdnsg>
</root>
Card
labelGet config and statistics (default)

Usage Example:

No Format
./curl.exe --cookie PHPSESSID=ima0r3nkaeg8mo0suln67vg4m7 --cacert 192.168.1.183.crt \
-i https://192.168.1.183/rest/isdnsg/10001?filter="config,statistics" 

Header Response:

Code Block
titleSample Header Response
langnone
HTTP/1.1 200 OK
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Date: Thu, 26 May 2011 20:31:26 GMT

XML Response:

Code Block
titleSample XML Response
langxml
 
<?xml version="1.0" encoding="UTF-8"?>
<root>
    <status>
        <http_code>200</http_code>
    </status>
    <isdnsg id="10001" href="https://192.168.1.183/rest/isdnsg/10001">
        <ActionsetTableNumber>0</ActionsetTableNumber>
        <ApplyToPortName href="https://192.168.1.183/linecard/1/telcods1port/1">1.1</ApplyToPortName>
        <ConfigIEState>1</ConfigIEState>
        <Description>REST ISDN SG</Description>
        <IsdnAllowCallingNameDisplayToSwitch>0</IsdnAllowCallingNameDisplayToSwitch>
        <IsdnServiceMessageCapability>1</IsdnServiceMessageCapability>
        <IsdnSgDirection>2</IsdnSgDirection>
        <IsdnSgHuntMethod>0</IsdnSgHuntMethod>
        <IsdnSgOverlapRxMode>0</IsdnSgOverlapRxMode>
        <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>
        <RouteTableNumber href="https://192.168.1.183/routingtable/1">1</RouteTableNumber>
        <ToneTableNumber href="https://192.168.1.183/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>0</rt_IsdnSgQ921State>
        <rt_OutgoingCallaccepts>0</rt_OutgoingCallaccepts>
        <rt_OutgoingCallattempts>0</rt_OutgoingCallattempts>
        <rt_OutgoingCallcompletes>0</rt_OutgoingCallcompletes>
        <rt_OutgoingCallrejects>0</rt_OutgoingCallrejects>
        <rt_TotalCallsProcessed>0</rt_TotalCallsProcessed>
        <rt_TotalConnectedCalls>0</rt_TotalConnectedCalls>
        <rt_TotalErroredCalls>0</rt_TotalErroredCalls>
        <rt_TotalRefusedCalls>0</rt_TotalRefusedCalls>
        <rt_linkDownCount>495</rt_linkDownCount>
        <rt_linkUpCount>0</rt_linkUpCount>
        <rt_rxCount>0</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>0</rt_rxRelReq>
        <rt_rxSABME>0</rt_rxSABME>
        <rt_rxSCount>0</rt_rxSCount>
        <rt_rxUA>0</rt_rxUA>
        <rt_rxUNCount>0</rt_rxUNCount>
        <rt_txCount>1980</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>1980</rt_txSABME>
        <rt_txUA>0</rt_txUA>
    </isdnsg>
</root>