Replace a config element: SD.sip-nat

put

https://cloud-native-SBC-IP/config/v1/sd/sip-nat/{ElementKey}

Replace a config element: SD.sip-nat

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
configure sip nat across realms
Show Source
  • Read Only: true
    Identifier for the element or sub-element
  • Pattern: ^((([0-1]{0,1}[0-9]{0,1}|2[0-4])[0-9]|25[0-5])[.]){3}(([0-1]{0,1}[0-9]{0,1}|2[0-4])[0-9]|25[0-5])(/([0-2]?[0-9]|3[0-2]))?$|^(\*)$
    address prefix subject to SIP-NAT encoding <ipv4>[/<num-bits>] (e.g., 10.0.0.1/24) OR '*' to use the Realm's address prefix OR '0.0.0.0' to use the inverse of Home Realm's prefix
  • Minimum Length: 1
    domain suffix to use in external realm (e.g., '.acme.com')
  • Minimum Length: 1
    Pattern: $|^(?:(?:[0-9]{1,3}.){3}[0-9]{1,3}(?:/(?:[0-9]|[12][0-9]|3[0-2]))?|(?:[0-9a-fA-F]{1,4}:){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}|::)(?:/(?:[0-9]|[1-9][0-9]|1[0-1][0-9]|12[0-8]))?$
    external realm IPv4 address
  • Minimum Length: 1
    Pattern: $|^(?:(?:[0-9]{1,3}.){3}[0-9]{1,3}(?:/(?:[0-9]|[12][0-9]|3[0-2]))?|(?:[0-9a-fA-F]{1,4}:){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}|::)(?:/(?:[0-9]|[1-9][0-9]|1[0-1][0-9]|12[0-8]))?$
    external realm proxy IPv4 address
  • Minimum Value: 1025
    Maximum Value: 65535
    external realm proxy port
  • headers
    Unique Items Required: true
    list of SIP Header names to be NAT'd
  • Minimum Length: 1
    Pattern: $|^(?:(?:[0-9]{1,3}.){3}[0-9]{1,3}(?:/(?:[0-9]|[12][0-9]|3[0-2]))?|(?:[0-9a-fA-F]{1,4}:){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}|::)(?:/(?:[0-9]|[1-9][0-9]|1[0-1][0-9]|12[0-8]))?$
    home realm IPv4 address
  • 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])$
    home realm proxy IPv4 address
  • Minimum Value: 0
    Maximum Value: 65535
    home realm proxy port
  • Pattern: ^[A-Za-z0-9-]{1,63}$
    URL host tag for NAT disambiguation. Default: ACME-
  • URL parameter name for NAT encoding
  • Minimum Length: 1
    Pattern: ^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$
    external realm identifier
  • Allowed Values: [ "disabled", "enabled", "forced" ]
  • pass back Contact URIs unchanged in redirect response
  • Allowed Values: [ "none", "from-to", "phone", "all" ]
  • URL user tag for NAT disambiguation. Default: -acme-
Nested Schema : headers
Type: array
Unique Items Required: true
list of SIP Header names to be NAT'd
Show Source
Back to Top

Response

Supported Media Types

200 Response

return one config element: SipNatConfig
Body ()
Root Schema : schema
Type: object
configure sip nat across realms
Show Source
  • Read Only: true
    Identifier for the element or sub-element
  • Pattern: ^((([0-1]{0,1}[0-9]{0,1}|2[0-4])[0-9]|25[0-5])[.]){3}(([0-1]{0,1}[0-9]{0,1}|2[0-4])[0-9]|25[0-5])(/([0-2]?[0-9]|3[0-2]))?$|^(\*)$
    address prefix subject to SIP-NAT encoding <ipv4>[/<num-bits>] (e.g., 10.0.0.1/24) OR '*' to use the Realm's address prefix OR '0.0.0.0' to use the inverse of Home Realm's prefix
  • Minimum Length: 1
    domain suffix to use in external realm (e.g., '.acme.com')
  • Minimum Length: 1
    Pattern: $|^(?:(?:[0-9]{1,3}.){3}[0-9]{1,3}(?:/(?:[0-9]|[12][0-9]|3[0-2]))?|(?:[0-9a-fA-F]{1,4}:){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}|::)(?:/(?:[0-9]|[1-9][0-9]|1[0-1][0-9]|12[0-8]))?$
    external realm IPv4 address
  • Minimum Length: 1
    Pattern: $|^(?:(?:[0-9]{1,3}.){3}[0-9]{1,3}(?:/(?:[0-9]|[12][0-9]|3[0-2]))?|(?:[0-9a-fA-F]{1,4}:){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}|::)(?:/(?:[0-9]|[1-9][0-9]|1[0-1][0-9]|12[0-8]))?$
    external realm proxy IPv4 address
  • Minimum Value: 1025
    Maximum Value: 65535
    external realm proxy port
  • headers
    Unique Items Required: true
    list of SIP Header names to be NAT'd
  • Minimum Length: 1
    Pattern: $|^(?:(?:[0-9]{1,3}.){3}[0-9]{1,3}(?:/(?:[0-9]|[12][0-9]|3[0-2]))?|(?:[0-9a-fA-F]{1,4}:){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}|::)(?:/(?:[0-9]|[1-9][0-9]|1[0-1][0-9]|12[0-8]))?$
    home realm IPv4 address
  • 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])$
    home realm proxy IPv4 address
  • Minimum Value: 0
    Maximum Value: 65535
    home realm proxy port
  • Pattern: ^[A-Za-z0-9-]{1,63}$
    URL host tag for NAT disambiguation. Default: ACME-
  • URL parameter name for NAT encoding
  • Minimum Length: 1
    Pattern: ^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$
    external realm identifier
  • Allowed Values: [ "disabled", "enabled", "forced" ]
  • pass back Contact URIs unchanged in redirect response
  • Allowed Values: [ "none", "from-to", "phone", "all" ]
  • URL user tag for NAT disambiguation. Default: -acme-
Nested Schema : headers
Type: array
Unique Items Required: true
list of SIP Header names to be NAT'd
Show Source

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