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

Compare with Current View Page History

« Previous Version 2 Next »

REST API Method: GET /rest/sipservertable/{identifier}/sipserver/{identifier}

Retrieves all resource schema elements and values of a SIP Server Table Entry based on a requested Table Entry ID in a given SIP Server Table.

If no Table Entry ID is specified in the GET, a listing of all SIP Server Table Entries will be returned along with their associated Table Entry IDs. These table entry identifiers can be used to collect resource schema element values via the GET sipservertable id - sipserver id method.

URL:

https://134.56.227.163/rest/sipservertable/{identifier}/sipserver/{identifier}

HTTP Method

GET

Requires Authentication:

true

Parameters

Name Required Values Description
filterNo
  • config
  • statistics
The type of filtered information in the response. If no filters are specified, all get applied.

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/sipservertable/1/sipserver/1

Response:

<?xml version="1.0"?>
<root>
 <status>
  <http_code>200</http_code>
</status>
 <sipserver id="1:1" href="https://134.56.72.218/rest/sipservertable/1/sipserver/1">
  <ClearRemoteRegistrationOnStartup>0</ClearRemoteRegistrationOnStartup>
  <ContactRegistrantTableID>0</ContactRegistrantTableID>
  <ContactURIRandomizer>0</ContactURIRandomizer>
  <DomainName></DomainName>
  <Host>192.168.200.1</Host>
  <KeepAliveFrequency>30</KeepAliveFrequency>
  <LocalUserName>Anonymous</LocalUserName>
  <Monitor>1</Monitor>
  <PeerUserName>Anonymous</PeerUserName>
  <Port>5060</Port>
  <Priority>1</Priority>
  <Protocol>1</Protocol>
  <RecoverFrequency>5</RecoverFrequency>
  <RemoteAuthorizationTableID>0</RemoteAuthorizationTableID>
  <RetryNonStaleNonce>1</RetryNonStaleNonce>
  <ReuseTimeout>0</ReuseTimeout>
  <ReuseTransport>1</ReuseTransport>
  <ServerLookup>0</ServerLookup>
  <ServerType>0</ServerType>
  <ServiceName>sip</ServiceName>
  <StaggerRegistration>0</StaggerRegistration>
  <TLSProfileID>0</TLSProfileID>
  <TransportSocket>4</TransportSocket>
  <Weight>0</Weight>
  <rt_DownTime>0</rt_DownTime>
  <rt_PersistentConnections>0</rt_PersistentConnections>
  <rt_RemotePorts></rt_RemotePorts>
  <rt_RemotePriorities></rt_RemotePriorities>
  <rt_RemoteProtocols></rt_RemoteProtocols>
  <rt_RemoteServers></rt_RemoteServers>
  <rt_RemoteSrvrIDs></rt_RemoteSrvrIDs>
  <rt_RemoteTTLs></rt_RemoteTTLs>
  <rt_RemoteWeights></rt_RemoteWeights>
  <rt_TransactionFalures>0</rt_TransactionFalures>
  <rt_Transactions>0</rt_Transactions>
  <rt_UpTime>0</rt_UpTime>
 </sipserver>
</root>
  • No labels