The GET method allows you to retrieve data from the Ribbon 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:

Bulk Lookup: GET /rest/isdnsg

    Usage Example:

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

    Header Response

    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

    Sample XML Response
    <?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> 
    

    Usage Example:

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

    Header Response

    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

    Sample XML Response
    <?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>

    Usage Example:

    ./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

    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

    Sample XML Response
    <?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>
    

    Usage Example:

    ./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

    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

    Sample XML Response
    <?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>
    

     

    Single Lookup:  

    GET /rest/isdnsg/{identifier}

      Usage Example:

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

      Header Response:

      Sample Header Response
      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:

      Sample XML Response
       
      <?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> 

      Usage Example:

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

      Header Response:

      Sample Header Response
      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:

      Sample XML Response
      <?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>
      

      Usage Example:

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

      Header Response:

      Sample Header Response
      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:

      Sample XML Response
      <?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>
      

      Usage Example:

      ./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:

      Sample Header Response
      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:

      Sample XML Response
       
      <?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>