Add a new config element: SD.sip-interface

post

https://cloud-native-SBC-IP/config/v1/sd/sip-interface

Add a new config element: SD.sip-interface

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
configure SIP interfaces
Show Source
Nested Schema : add-sdp-in-msg
Type: array
Insert SDP in sip message
Show Source
Nested Schema : add-sdp-profiles
Type: array
list of media profiles
Show Source
Nested Schema : add-sdp-profiles-in-msg
Type: array
list of media profiles
Show Source
Nested Schema : carriers
Type: array
list of carriers
Show Source
Nested Schema : p-early-media-direction
Type: array
Configure early-media-direction parameter for P-Early-Media header
Show Source
  • Allowed Values: [ "sendrecv", "sendonly", "recvonly", "inactive" ]
Nested Schema : sip-ports
Type: array
list of SIP ports
Show Source
Nested Schema : sti-as
Type: array
group name or list of STI authentication server (up to four allowed). STG:<STI-group-name> (for STI Server Group) <STI-name> (for single STI Server)
Show Source
Nested Schema : sti-vs
Type: array
group name or list of STI validation server (up to four allowed). STG:<STI-group-name> (for STI Server Group) <STI-name> (for single STI Server)
Show Source
Nested Schema : SipPort
Type: object
list of sip-ports
Show Source
  • Read Only: true
    Identifier for the element or sub-element
  • Minimum Length: 1
    Pattern: ^(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|0?[1-9][0-9]?|0?[0-9]?[1-9])(\.(25[0-5]|2[0-4][0-9]|[0-1]?[0-9]?[0-9])){2}\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|0?[0-9][0-9]?|0?[0-9]?[0-9])(:(?:53|102[5-9]|10[3-9][0-9]|[1-9][0-9]{3}|[1-5][0-9]{4}|6[0-5]{2}[0-3][0-5]))?$|^\[(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\]?(:(?:53|102[5-9]|10[3-9][0-9]|[1-9][0-9]{3}|[1-5][0-9]{4}|6[0-5]{2}[0-3][0-5]))?$|^(?:[1-9a-fA-F]{1,4}:){7}[1-9a-fA-F]{1,4}$|^(\:\:)?[1-9a-fA-F]{1,4}(\:\:?[0-9a-fA-F]{1,4}){0,7}(\:\:)?$|^([0-9A-Fa-f]{0,4}:){2,7}([0-9A-Fa-f]{1,4}$|((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(\.|$)){4})$|^([0-9A-Fa-f]{0,4}:){2,7}([0-9A-Fa-f]{1,4}$|[0-9a-fA-F]{0,4}(\:[0-9a-fA-F]{0,4}){0,5}(::?)|[0-9a-fA-F]{1,4}|6[0-5]{2}[0-4]\d|6[0-4]{2}\d{2}|6553[0-5]|655[0-2]\d|65[0-4]\d{2}|6[0-4]{2}\d{3})$
    IP Address
  • Allowed Values: [ "all", "agents-only", "realm-prefix" ]
  • Minimum Value: 1
    Maximum Value: 65535
    port
  • tls profile name
  • Allowed Values: [ "UDP", "TCP", "TLS", "SCTP" ]
Back to Top

Response

Supported Media Types

200 Response

return one config element: SipInterface
Body ()
Root Schema : schema
Type: object
configure SIP interfaces
Show Source
Nested Schema : add-sdp-in-msg
Type: array
Insert SDP in sip message
Show Source
Nested Schema : add-sdp-profiles
Type: array
list of media profiles
Show Source
Nested Schema : add-sdp-profiles-in-msg
Type: array
list of media profiles
Show Source
Nested Schema : carriers
Type: array
list of carriers
Show Source
Nested Schema : p-early-media-direction
Type: array
Configure early-media-direction parameter for P-Early-Media header
Show Source
  • Allowed Values: [ "sendrecv", "sendonly", "recvonly", "inactive" ]
Nested Schema : sip-ports
Type: array
list of SIP ports
Show Source
Nested Schema : sti-as
Type: array
group name or list of STI authentication server (up to four allowed). STG:<STI-group-name> (for STI Server Group) <STI-name> (for single STI Server)
Show Source
Nested Schema : sti-vs
Type: array
group name or list of STI validation server (up to four allowed). STG:<STI-group-name> (for STI Server Group) <STI-name> (for single STI Server)
Show Source
Nested Schema : SipPort
Type: object
list of sip-ports
Show Source
  • Read Only: true
    Identifier for the element or sub-element
  • Minimum Length: 1
    Pattern: ^(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|0?[1-9][0-9]?|0?[0-9]?[1-9])(\.(25[0-5]|2[0-4][0-9]|[0-1]?[0-9]?[0-9])){2}\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|0?[0-9][0-9]?|0?[0-9]?[0-9])(:(?:53|102[5-9]|10[3-9][0-9]|[1-9][0-9]{3}|[1-5][0-9]{4}|6[0-5]{2}[0-3][0-5]))?$|^\[(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\]?(:(?:53|102[5-9]|10[3-9][0-9]|[1-9][0-9]{3}|[1-5][0-9]{4}|6[0-5]{2}[0-3][0-5]))?$|^(?:[1-9a-fA-F]{1,4}:){7}[1-9a-fA-F]{1,4}$|^(\:\:)?[1-9a-fA-F]{1,4}(\:\:?[0-9a-fA-F]{1,4}){0,7}(\:\:)?$|^([0-9A-Fa-f]{0,4}:){2,7}([0-9A-Fa-f]{1,4}$|((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(\.|$)){4})$|^([0-9A-Fa-f]{0,4}:){2,7}([0-9A-Fa-f]{1,4}$|[0-9a-fA-F]{0,4}(\:[0-9a-fA-F]{0,4}){0,5}(::?)|[0-9a-fA-F]{1,4}|6[0-5]{2}[0-4]\d|6[0-4]{2}\d{2}|6553[0-5]|655[0-2]\d|65[0-4]\d{2}|6[0-4]{2}\d{3})$
    IP Address
  • Allowed Values: [ "all", "agents-only", "realm-prefix" ]
  • Minimum Value: 1
    Maximum Value: 65535
    port
  • tls profile name
  • Allowed Values: [ "UDP", "TCP", "TLS", "SCTP" ]

404 Response

Not Found
Body ()
Root Schema : ApiValidationError
Type: object
Show Source
Nested Schema : errors
Type: array
Show Source
Nested Schema : Errors
Type: object
Show Source

406 Response

Validation Failure
Body ()
Root Schema : ApiValidationError
Type: object
Show Source
Nested Schema : errors
Type: array
Show Source
Nested Schema : Errors
Type: object
Show Source
Back to Top