Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

REST API Method: PUT /rest/sipsg/{identifier}

Page Tree
rootResource - sipsg

Creates a SIP Signaling Group Table given a specific Table ID.

Note
titleNote

The SIP Signaling Group identifier can only be within the range 1-10000 (inclusive)

URL:

https://134.56.227.163/rest/sipsg/{identifier}

HTTP Method

PUT

Requires Authentication:

true



Parameters

Parameter Name Required Service Affecting Data Type Default Value Possible Values Description
ConfigIEStateNoYesEnum1Possible values:
  • 0 - esDISABLED
  • 1 - esENABLED
Specifies the Administrative State of the resource.
DescriptionYesNostringnone64 - Max LengthShort description/name of the SG.
ProfileIDYesNoint1Possible values:
  • 1 - Minimum
  • 65534 - Maximum
SIP Profile ID. SIP profile is used for transaction timers, supported or required methods. Many SGs can share single profile.
ChannelsYesYesint10Possible values:
  • 1 - Minimum
  • 960 - Maximum
Specifies the number of SIP channels available for calls.
ServerSelectionNoNoEnum0Possible values:
  • 0 - eSelectionRoundRobin
  • 1 - eSelectionPriority
  • 2 - eSelectionFirstAvailable
  • 3 - eSelectionDnsSrv
When Basic call is used it will use server from server table:
  • Round Robin
    - Each initiasl invite gowes to new server in the cluster
  • Priority
    - The request goes to the server with highest priority
  • First
    - The initial request goes to the 1-st available server
ServerClusterIdNoNoint0Possible values:
  • 0 - Minimum
  • 65534 - Maximum
When Basic call is used it specifies the ID of Server table (cluster) which is the next sip hop.
RTPModeYesNoEnum1Possible values:
  • 0 - btFalse
  • 1 - btTrue
Specifies whether RTP Mode is supported by this Signaling Group. RTP Mode can not be disabled when RTP Proxy Mode also disabled.
RTPProxyModeYesNoEnum1Possible values:
  • 0 - btFalse
  • 1 - btTrue
Specifies whether RTP Proxy Mode is supported by this Signaling Group. RTP Proxy Mode can not be disabled when RTP Mode also disabled.
MediaConfigIDYesNoint1Possible values:
  • 1 - Minimum
  • 65534 - Maximum
Specifies the Media List to be used by this Signaling Group.
ToneTableIDNoNoint0Possible values:
  • 0 - Minimum
  • 65534 - Maximum
Specifies the Tone Table to be used by this Signaling Group.
Info

This option is disabled if Play Ring Back is set to Never.

ActionSetTableIDNoNoint0Possible values:
  • 0 - Minimum
  • 65534 - Maximum
Specifies a defined Action Set Table for this Signaling Group.
RouteTableIDYesYesint1Possible values:
  • 1 - Minimum
  • 65534 - Maximum
Specifies the Call Routing Table to be used by this Signalling Group.
RingBackNoNoEnum0Possible values:
  • 0 - sgrbpAuto
  • 1 - sgrbpAlways
  • 2 - sgrbpNever
Specifies how ringback is played on a channel
  • Auto - Ringback is determined by signaling messages.
  • Always
    - Ringback is played for all calls and never be cut through.
  • Never - Ringback will never be generated and the endpoint is responsible to provide tones.
HuntMethodYesNoEnum4Possible values:
  • 0 - sghmStandard
  • 1 - sghmReverseStandard
  • 2 - sghmRoundRobin
  • 3 - sghmLeastIdle
  • 4 - sghmMostIdle
  • 5 - sghmOwnNumber
Specifies the method that Call Control uses to allocate SIP channels.

  • Standard
    - This option assigns first available low numbered channel.
  • Reverse Standard
    - This option assigns last available high numbered channel.
  • Round Robin
    - This option assigns channels based on next available from low numbered to high numbered.
  • Least Idle
    - This option chooses channels based on the least idle channel.
  • Most Idle
    - This option chooses channels based on the most idle channel.
DirectionNoNoEnum2Possible values:
  • 0 - sgdirInbound
  • 1 - sgdirOutbound
  • 2 - sgdirBidirectional
Obsolete. SIP SGs are bi-directional by default but if Federated IP/FQDN is empty the SG cannot be used as inbound.
Early183NoNoEnum1Possible values:
  • 0 - btFalse
  • 1 - btTrue
Specifies whether to send a SIP 183 response immediately after receiving an Invite message.
OutboundProxyNoNostringnone256 - Max LengthSpecifies the outbound proxy which all SIP messages will be sent through.
OutboundProxyPortNoNoint5060Possible values:
  • 0 - Minimum
  • 65535 - Maximum
If an outbound proxy is configured a port number must be provided, within the range 1024 through 65535. Otherwise a 0 may be sent.
NoChannelAvailableIdNoNoint34Possible values:
  • 1 - Minimum
  • 127 - Maximum
In case of "No Channel/Circuit available" release cause code, CCC is going to map this to the value configured against this entry in the signaling group. This cause code will be sent to the relevant protocol module.
TimerSanitySetupNoNoint255000Possible values:
  • 180000 - Minimum
  • 750000 - Maximum
Specifies the sanity timer for setup message, in milliseconds. A Call that has not received a response from the peer switch will be released after this time. This is for all call types.
ChallengeRequestNoNoint0Possible values:
  • 0 - Minimum
  • 1 - Maximum
Indicates whether incoming request messages is challenged for security purposes. If this option is set to true you must specify a realm and at least one entry in the Authorization Table.
  • True
    - all requests will be challenged for realm/user/password
  • False
    - no request messages will be challenged
NotifyCACProfileNoNoEnum0Possible values:
  • 0 - btFalse
  • 1 - btTrue
Indicates whether to send NOTIFY messages with CACProfile to the remote server.
  • True
    - SIP NOTIFY with CACProfile will be sent to remote server connected to this SG
  • False
    - no SIP NOTIFY sent to remote server connected to this SG
NonceLifetimeNoNoint600Possible values:
  • 0 - Minimum
  • 3600 - Maximum
Number of minutes a nonce will remain valid for a session. If the value is 0 there will be no expiration for session and there will be no subsuquent challenges.
Info

This option is available only if Nonce Expiry is set to Limited.

MonitorNoNoEnum2Possible values:
  • 0 - eProxyRegistrationsProxy
  • 1 - eProxyRegistrationsForward
  • 2 - eProxyRegistrationsLocal
  • 3 - eBasicCall
Specifies how the SG will process REGISTER and INVITE message:
  • eProxyRegistrationsForward
    - forwards the REGISTER request after inserting it to the loacal registrar
  • eProxyRegistrationsProxy
    - just forwards the REGISTER request (proxy mode).
  • eProxyRegistrationsLocal
    - Maintains local registrar only. Uses registrar bindings to terminate a call.
  • eBasicCall
    - Sends Invites to the selected Server table.
AuthorizationRealmNoNostringnone256 - Max Length Specifies the authorization realm used to challenge request messages.
Info

This option is available only when Challenge Request is set to True.

ProxyAuthorizationTableIDNoNoint0Possible values:
  • 0 - Minimum
  • 65534 - Maximum
Local authorization table if chalenging mode is enabled.
RegistrarIDNoNoint0Possible values:
  • 0 - Minimum
  • 65534 - Maximum
Registrar table attached to the SG for routing purpose or/and adding registration records.
RegistrarTTLNoNoint600Possible values:
  • 60 - Minimum
  • 86400 - Maximum
Minimum Time to Live for inbound registrations.
OutboundRegistrarTTLNoNoint600Possible values:
  • 60 - Minimum
  • 86400 - Maximum
Time to Live for outbound registrations.
DSCPYesNoint40Possible values:
  • 0 - Minimum
  • 63 - Maximum
DSCP value to be used in the IP header of all SIP packets from the Sonus SBC 1000/2000 system, on sockets/connections associated with this SIP SG
ListenPort_1NoNoint0Possible values:
  • 0 - Minimum
  • 65535 - Maximum
Specifies the local listen port 1 on which SG can receive message.
Info

The default TCP/UDP is 5060 and the default for TLS is 5061

Protocol_1NoNoEnum0Possible values:
  • 0 - eTrNone
  • 1 - eTrUDP
  • 2 - eTrTCP
  • 3 - eTrTCP_UDP
  • 4 - eTrTLS
  • 5 - eTrTLS_UDP
  • 6 - eTrTLS_TCP
  • 7 - eTrTLS_TCP_UDP
  • 8 - eTrCount
  • 9 - eTrSCTP
Protocol type used by the listener. Currently only 1,2 and 4 are being used.
TLSProfileID_1NoNoint0Possible values:
  • 0 - Minimum
  • 65534 - Maximum
If protocol is TLS this is the of TLS profile in use.
LocalIP_1NoNostringnone50 - Max Length Not used in the current release.
ListenPort_2NoNoint0Possible values:
  • 0 - Minimum
  • 65535 - Maximum
Specifies the local listen port 2 on which SG can receive message.
Info

The default TCP/UDP is 5060 and the default for TLS is 5061

Protocol_2NoNoEnum0Possible values:
  • 0 - eTrNone
  • 1 - eTrUDP
  • 2 - eTrTCP
  • 3 - eTrTCP_UDP
  • 4 - eTrTLS
  • 5 - eTrTLS_UDP
  • 6 - eTrTLS_TCP
  • 7 - eTrTLS_TCP_UDP
  • 8 - eTrCount
  • 9 - eTrSCTP
Protocol type used by the listener. Currently only 1,2 and 4 are being used.
TLSProfileID_2NoNoint0Possible values:
  • 0 - Minimum
  • 65534 - Maximum
If protocol is TLS this is the of TLS profile in use.
LocalIP_2NoNostringnone50 - Max Length Not used in the current release.
ListenPort_3NoNoint0Possible values:
  • 0 - Minimum
  • 65535 - Maximum
Specifies the local listen port 3 on which SG can receive message.
Info

The default TCP/UDP is 5060 and the default for TLS is 5061

Protocol_3NoNoEnum0Possible values:
  • 0 - eTrNone
  • 1 - eTrUDP
  • 2 - eTrTCP
  • 3 - eTrTCP_UDP
  • 4 - eTrTLS
  • 5 - eTrTLS_UDP
  • 6 - eTrTLS_TCP
  • 7 - eTrTLS_TCP_UDP
  • 8 - eTrCount
  • 9 - eTrSCTP
Protocol type used by the listener. Currently only 1,2 and 4 are being used.
TLSProfileID_3NoNoint0Possible values:
  • 0 - Minimum
  • 65534 - Maximum
If protocol is TLS this is the of TLS profile in use.
LocalIP_3NoNostringnone50 - Max Length Not used in the current release.
ListenPort_4NoNoint0Possible values:
  • 0 - Minimum
  • 65535 - Maximum
Specifies the local listen port 4 on which SG can receive message.
Info

The default TCP/UDP is 5060 and the default for TLS is 5061

Protocol_4NoNoEnum0Possible values:
  • 0 - eTrNone
  • 1 - eTrUDP
  • 2 - eTrTCP
  • 3 - eTrTCP_UDP
  • 4 - eTrTLS
  • 5 - eTrTLS_UDP
  • 6 - eTrTLS_TCP
  • 7 - eTrTLS_TCP_UDP
  • 8 - eTrCount
  • 9 - eTrSCTP
Protocol type used by the listener. Currently only 1,2 and 4 are being used.
TLSProfileID_4NoNoint0Possible values:
  • 0 - Minimum
  • 65534 - Maximum
If protocol is TLS this is the of TLS profile in use.
LocalIP_4NoNostringnone50 - Max Length Not used in the current release.
ListenPort_5NoNoint0Possible values:
  • 0 - Minimum
  • 65535 - Maximum
Specifies the local listen port 5 on which SG can receive message.
Info

The default TCP/UDP is 5060 and the default for TLS is 5061

Protocol_5NoNoEnum0Possible values:
  • 0 - eTrNone
  • 1 - eTrUDP
  • 2 - eTrTCP
  • 3 - eTrTCP_UDP
  • 4 - eTrTLS
  • 5 - eTrTLS_UDP
  • 6 - eTrTLS_TCP
  • 7 - eTrTLS_TCP_UDP
  • 8 - eTrCount
  • 9 - eTrSCTP
Protocol type used by the listener. Currently only 1,2 and 4 are being used.
TLSProfileID_5NoNoint0Possible values:
  • 0 - Minimum
  • 65534 - Maximum
If protocol is TLS this is the of TLS profile in use.
LocalIP_5NoNostringnone50 - Max Length Not used in the current release.
ListenPort_6NoNoint0Possible values:
  • 0 - Minimum
  • 65535 - Maximum
Specifies the local listen port 6 on which SG can receive message.
Info

The default TCP/UDP is 5060 and the default for TLS is 5061

Protocol_6NoNoEnum0Possible values:
  • 0 - eTrNone
  • 1 - eTrUDP
  • 2 - eTrTCP
  • 3 - eTrTCP_UDP
  • 4 - eTrTLS
  • 5 - eTrTLS_UDP
  • 6 - eTrTLS_TCP
  • 7 - eTrTLS_TCP_UDP
  • 8 - eTrCount
  • 9 - eTrSCTP
Protocol type used by the listener. Currently only 1,2 and 4 are being used.
TLSProfileID_6NoNoint0Possible values:
  • 0 - Minimum
  • 65534 - Maximum
If protocol is TLS this is the of TLS profile in use.
LocalIP_6NoNostringnone50 - Max Length Not used in the current release.
SIPtoQ850_TableIDNoNoint0Possible values:
  • 0 - Minimum
  • 65534 - Maximum
Specifies the SIP to Q.850 Override Table to be used for this Signaling Group.
Q850toSIP_TableIDNoNoint0Possible values:
  • 0 - Minimum
  • 65534 - Maximum
Specifies the Q.850 To SIP Override Table to be used for this Signaling Group.
NetInterfaceSignalingYesNostringnone64 - Max Length Specifies the interface name followed by -1 for primary and -2 for secondary IP. The Signaling Group will bind to this interface and use it's IP address in headers and SDP. If this field is empty (default value) then the Signaling Group will listen on all available interfaces and will auto-determine the local IP used for headers and SDP.
NATTraversalTypeYesNoEnum0Possible values:
  • 0 - eNATTypeNone
  • 1 - eNATTypeStatic
Specifies whether the Signaling Group uses a third-party entity IP address inside SIP message to support network address translation (NAT).
  • None
    - Specifies that network address translation is not used.
  • Static NAT
    - Specifies that network address translation is used.
Note

The only supported NAT type is symmetric NAT (port forwarding). This NAT configuration type means that packets received on a specific NAT server port are always forwarded to the same Sonus SBC port, for example, packets on the NAT public IP, port 5060 are forwarded to a private (SBC) IP, port 5060.

NATPublicIPAddressNoYesstringnone16 - Max Length Specifies the public IP of the NAT server visible from Internet. The NAT server's ports must be configured to allow SIP and RTP traffic, for example: port range 5060-5061 for SIP and 16000-17000 for RTP.
Note

The IP address specified in this field must be publicly accessible.

Info

This field is available when NAT Traversal is set to Static NAT.

PassthruPeerSIPRespCodeNoNoEnum1Possible values:
  • 0 - btFalse
  • 1 - btTrue
This flag is used to allow the passthrough of Peer SIP Response Code. If this flag is enabled, it overrides the Q.850/SIP Mapping Tables
SGLevelMOHServiceNoYesEnum0Possible values:
  • 0 - mohDisable
  • 1 - mohEnable
  • 2 - mohEnableNoMusic
Configures the SG level MOH service
  • Enable
    - Enable MOH feature in this SG.
  • Disable
    - Disable MOH feature in this SG.
  • mohEnableNoMusic
    - Enable MOH feature in this SG if no music.
IngressSPRMessageTableListNoNostringnone60 - Max LengthThis is a comma-separated, ordered list of SIP Protocol Manipulation Message Table references to be used on ingress. There is a maximum of 10 entries allowed."
EgressSPRMessageTableListNoNostringnone60 - Max LengthThis is a comma-separated, ordered list of SIP Protocol Manipulation Message Table references to be used on egress. There is a maximum of 10 entries allowed."
QoEReportingNoNoEnum0Possible values:
  • 0 - btFalse
  • 1 - btTrue
Indicates if signaling group will report QoE statistics at the end of each call.
RemoteHostsYesNostringnone2500 - Max Length Comma separated list of remote IPs or subnet from which SG can receive requests. Mask is mandatory. In case of FQDN after resolving it all IPs will be added to the list. If mask is empty 255.255.255.255 is assumed.
RemoteMasksYesNostringnone2500 - Max Length Comma separated list of subnet masks for the IP Addresses specified in RemoteHosts above. Mask is mandatory. In case of FQDN after resolving it all IPs will be added to the list. If mask is empty 255.255.255.255 is assumed. Mask is applied over the specified above IP in order to limit subnets intstead hosts.

Usage Example: (about cURL | requires a session token)

Code Block
languagebash
curl --cookie PHPSESSID=fsqgefadjojefv6lmdtij6lh44cuc2h83fqaispmu6m519sa5642 -s -k -i https://134.56.72.218/rest/sipsg/1 -X PUT --data "Q850toSIP_TableID=0&ListenPort_6=0&NetInterfaceSignaling=&ListenPort_5=0&ChallengeRequest=0&RTPProxyMode=1&ListenPort_4=0&ListenPort_3=0&ListenPort_2=5060&ListenPort_1=5060&ActionSetTableID=0&RTPMode=1&SGLevelMOHService=0&NATPublicIPAddress=&OutboundProxyPort=5060&MediaConfigID=1&NonceLifetime=0&ToneTableID=1&TLSProfileID_6=0&TLSProfileID_4=0&TLSProfileID_5=0&RemoteHosts=&TLSProfileID_2=0&TLSProfileID_3=0&TLSProfileID_1=0&ServerClusterId=1&QoEReporting=0&NoChannelAvailableId=34&Channels=60&IngressSPRMessageTableList=&NATTraversalType=0&TimerSanitySetup=255000&Protocol_1=1&Protocol_2=2&HuntMethod=4&Protocol_3=0&Protocol_4=0&Protocol_5=0&Protocol_6=0&Early183=0&ConfigIEState=1&RemoteMasks=&NotifyCACProfile=0&ProfileID=1&LocalIP_4=&OutboundProxy=&LocalIP_3=&LocalIP_2=&EgressSPRMessageTableList=&LocalIP_1=&RouteTableID=1&LocalIP_6=&LocalIP_5=&Direction=2&PassthruPeerSIPRespCode=1&AuthorizationRealm=&RingBack=0&Monitor=3&ProxyAuthorizationTableID=0&OutboundRegistrarTTL=600&DSCP=40&Description=REST SIPSG&SIPtoQ850_TableID=0&RegistrarID=0&RegistrarTTL=600&ServerSelection=0"

Response:

Code Block
languagehtml/xml
<?xml version="1.0"?>
<root>
 <status>
  <http_code>200</http_code>
 </status>
 <sipsg id="1" href="https://134.56.72.218/rest/sipsg/1">
  <ActionSetTableID>0</ActionSetTableID>
  <AuthorizationRealm></AuthorizationRealm>
  <ChallengeRequest>0</ChallengeRequest>
  <Channels>60</Channels>
  <ConfigIEState>1</ConfigIEState>
  <DSCP>40</DSCP>
  <Description>REST SIPSG</Description>
  <Direction>2</Direction>
  <Early183>0</Early183>
  <EgressSPRMessageTableList count="0"/>
  <HuntMethod>4</HuntMethod>
  <IngressSPRMessageTableList count="0"/>
  <ListenPort_1>5060</ListenPort_1>
  <ListenPort_2>5060</ListenPort_2>
  <ListenPort_3>0</ListenPort_3>
  <ListenPort_4>0</ListenPort_4>
  <ListenPort_5>0</ListenPort_5>
  <ListenPort_6>0</ListenPort_6>
  <LocalIP_1></LocalIP_1>
  <LocalIP_2></LocalIP_2>
  <LocalIP_3></LocalIP_3>
  <LocalIP_4></LocalIP_4>
  <LocalIP_5></LocalIP_5>
  <LocalIP_6></LocalIP_6>
  <MediaConfigID href="https://134.56.72.218/medialistprofile/1">1</MediaConfigID>
  <Monitor>3</Monitor>
  <NATPublicIPAddress></NATPublicIPAddress>
  <NATTraversalType>0</NATTraversalType>
  <NetInterfaceSignaling></NetInterfaceSignaling>
  <NoChannelAvailableId>34</NoChannelAvailableId>
  <NonceLifetime>0</NonceLifetime>
  <NotifyCACProfile>0</NotifyCACProfile>
  <OutboundProxy></OutboundProxy>
  <OutboundProxyPort>5060</OutboundProxyPort>
  <OutboundRegistrarTTL>600</OutboundRegistrarTTL>
  <PassthruPeerSIPRespCode>1</PassthruPeerSIPRespCode>
  <ProfileID href="https://134.56.72.218/sipprofile/1">1</ProfileID>
  <Protocol_1>1</Protocol_1>
  <Protocol_2>2</Protocol_2>
  <Protocol_3>0</Protocol_3>
  <Protocol_4>0</Protocol_4>
  <Protocol_5>0</Protocol_5>
  <Protocol_6>0</Protocol_6>
  <ProxyAuthorizationTableID>0</ProxyAuthorizationTableID>
  <Q850toSIP_TableID>0</Q850toSIP_TableID>
  <QoEReporting>0</QoEReporting>
  <RTPMode>1</RTPMode>
  <RTPProxyMode>1</RTPProxyMode>
  <RegistrarID>0</RegistrarID>
  <RegistrarTTL>600</RegistrarTTL>
  <RemoteHosts></RemoteHosts>
  <RemoteMasks></RemoteMasks>
  <RingBack>0</RingBack>
  <RouteTableID href="https://134.56.72.218/routingtable/1">1</RouteTableID>
  <SGLevelMOHService>0</SGLevelMOHService>
  <SIPtoQ850_TableID>0</SIPtoQ850_TableID>
  <ServerClusterId>1</ServerClusterId>
  <ServerSelection>0</ServerSelection>
  <TLSProfileID_1>0</TLSProfileID_1>
  <TLSProfileID_2>0</TLSProfileID_2>
  <TLSProfileID_3>0</TLSProfileID_3>
  <TLSProfileID_4>0</TLSProfileID_4>
  <TLSProfileID_5>0</TLSProfileID_5>
  <TLSProfileID_6>0</TLSProfileID_6>
  <TimerSanitySetup>255000</TimerSanitySetup>
  <ToneTableID href="https://134.56.72.218/tonetable/1">1</ToneTableID>
 </sipsg>
</root>