Creates a SIP Server Table Entry given a specific Table Entry ID in a given SIP Server Table.
https://134.56.227.163/rest/sipservertable/{identifier}/sipserver/{identifier}
PUT
true
Parameter Name | Required | Service Affecting | Data Type | Default Value | Possible Values | Description |
---|---|---|---|---|---|---|
ServerLookup | Yes | No | Enum | 0 | Possible values:
|
Specifies the method to use to lookup SIP servers
|
ServerType | Yes | No | Enum | 0 | Possible values:
|
Specifies the method to use to lookup SIP servers
|
Weight | Yes | No | int | 0 | Possible values:
| Specifies the weight of the server in case it's defined in the SRV record. |
Host | Yes | No | string | none | 256 - Max Length | Specifies the IP address or FQDN where this Signaling Group sends SIP messages. If an FQDN is configured all the associated servers are included and used according to the server selection configuration element. |
DomainName | Yes | No | string | none | 256 - Max Length | Specifies the Domain where this Signaling Group sends SRV queries. |
ServiceName | No | No | string | sip | 64 - Max Length | The name of the service to be placed in the SRV request. |
Port | Yes | Yes | int | 5060 | Possible values:
| Specifies the port number to send SIP messages. |
TransportSocket | No | No | int | 0 | Possible values:
|
Specifies number of re-usable sockets
This option is available when ReuseTransport is set to True. When ReuseTransport is false, this needs to be set to 0 |
ReuseTransport | No | No | Enum | 1 | Possible values:
| Specifies whether sockets will be reused or shared. Only valid for TCP or TLS |
ReuseTimeout | No | No | int | 1000 | Possible values:
|
Specifies the number of minutes that a socket remains connected to the server.
This option is available when ReuseTransport is Enabled. A value of 0 means ReuseTimeout is set Forever*. Otherwise, the valid range is 5-1440 |
Protocol | Yes | No | Enum | 1 | Possible values:
|
Specifies the protocol to use for sending SIP messages
|
Monitor | No | No | Enum | 0 | Possible values:
|
Specifies the method to monitor server
|
KeepAliveFrequency | No | No | int | 30 | Possible values:
| Specify frequency in seconds to determine server availability.
This configuration is available when Monitor is set to SIP Options . If Monitor is not set to SIP Options, this value needs to be 0. Otherwise, this value needs to be in the range 30-300* |
RecoverFrequency | No | No | int | 5 | Possible values:
| Specify frequency in seconds to check server to determine whether it has become available.
This configuration is available when Monitor is set to SIP Options . If Monitor is not set to SIP Options, this value needs to be 0. Otherwise, this value needs to be in the range 5-300* |
LocalUserName | No | No | string | Anonymous | 64 - Max Length | The local username of the Sonus SBC 1000/2000 system.
This configuration is available when Monitor is set to SIP Options |
PeerUserName | No | No | string | Anonymous | 64 - Max Length | The username of SIP server.
This configuration is available when Monitor is set to SIP Options |
Priority | Yes | No | int | 0 | Possible values:
| Specifies the priority of this server. The priority is used to order the server when more than 1 is configured. |
RemoteAuthorizationTableID | No | No | int | 0 | Possible values:
| Specifies a Remote Authorization table for this SIP Server, from a list of authorization tables defined in the Remote Authorization Tables. The Remote Authorization table is used by a Signaling group when a challenge (401/407) is issued by the server. The table contains a realm, user name, and password. There are used to provide credentials to he server issuing the challenge. |
ContactRegistrantTableID | No | No | int | 0 | Possible values:
| Specifies a Contact Registration Table for this SIP Server,from a list of registration tables defined in the Contact Registrant Tables. The Contact Registration is used by a Signaling Group to register one or more contacts to a registrar. The contact information contains the SIP address of record and the methods which can be used to establish sessions to this Signaling group. |
StaggerRegistration | No | No | Enum | 0 | Possible values:
| If more than one Contact Registrant Entry is in Contact table, stagger Register Requests by 1 second. Applies to UnRegister also. This will only be displayed and applicble if Contact Registract Table is something other than None. |
ClearRemoteRegistrationOnStartup | No | No | Enum | 0 | Possible values:
| When enabled, a Register with Expires: 0 will be sent to the SIP Server on power up. After the Unregister (Expires: 0) is complete, a Register (Expires: non-zero) will then be sent. |
ContactURIRandomizer | No | No | Enum | 0 | Possible values:
| If enabled, the following will occur: -Random user values will be generated and put into the Contact-URI of each outgoing Register message. -The random user portion will be saved and compared to incoming Invite Request-Uri's. If the prefix of the R-URI contains SBCxxxx, then if there is a match, SBCxxxx will be stripped and the remaining number used to route (if no match, Invite is not accepted). If there is no SBCxxxx in R-URI, then the number is sent as-is for routing. |
RetryNonStaleNonce | No | No | Enum | 1 | Possible values:
| This value will only be visible if both the Contact Registrant Table and Remote Authorization Table are defined in SIP Server. When true, if stale=false is received in 401/407, SBC will set failed retry timer and re-attempt to send Register with same credentials at expiration. When false, if stale=false is received in 401/407, SBC will never resend a Register with the same credentials.(this is RFC behavior) |
TLSProfileID | No | No | int | 0 | Possible values:
|
If TLS is selected this specifies the TLS profile this server will use for secure SIP messages.
This option is available if Protocol is set to TLS. |
curl --cookie PHPSESSID=fsqgefadjojefv6lmdtij6lh44 -s -k -i https://134.56.72.218/rest/sipservertable/1/sipserver/1 -X PUT --data "ContactURIRandomizer=0&ConfigIEState=1&KeepAliveFrequency=30&Host=192.168.200.1&RecoverFrequency=5&ClearRemoteRegistrationOnStartup=0&RemoteAuthorizationTableID=0&ReuseTimeout=0&ServiceName=sip&Weight=0&TLSProfileID=0&Monitor=1&DomainName=&ServerType=0&Protocol=1&TransportSocket=4&RetryNonStaleNonce=1&ReuseTransport=1&ServerLookup=0&Priority=1&ContactRegistrantTableID=0&Port=5060&PeerUserName=Anonymous&LocalUserName=Anonymous&StaggerRegistration=0"
<?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> </sipserver> </root>