Add a sub-element: SD.sip-adv-log-trace.conditions
post
https://cloud-native-SBC-IP/config/v1/sd/sip-adv-log-trace/{ElementKey}/conditions
Add a sub-element: SD.sip-adv-log-trace.conditions
Request
Path Parameters
-
ElementKey: string
Identifier for the element
Supported Media Types
- application/json
Root Schema : schema
Type:
object
Configure conditions for matching SIP requests/sessions
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
match-procedure: string
Allowed Values:
[ "exact-match", "regex-match" ]
-
match-type(required): string
Allowed Values:
[ "request-type", "recv-agent", "recv-realm", "request-uri-user", "request-uri-host", "to-header-user", "to-header-host", "from-header-user", "from-header-host", "call-id" ]
-
match-value: string
Exact value to match or regular expression format. For match-type = request-type, Valid Values : REGISTER, INVITE, ACK, BYE, CANCEL, PRACK, OPTIONS, INFO, SUBSCRIBE, NOTIFY, REFER, UPDATE, MESSAGE, PUBLISH
Response
Supported Media Types
- application/json
200 Response
return one sub element: SipAdvancedLogCondition
Root Schema : schema
Type:
object
Configure conditions for matching SIP requests/sessions
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
match-procedure: string
Allowed Values:
[ "exact-match", "regex-match" ]
-
match-type(required): string
Allowed Values:
[ "request-type", "recv-agent", "recv-realm", "request-uri-user", "request-uri-host", "to-header-user", "to-header-host", "from-header-user", "from-header-host", "call-id" ]
-
match-value: string
Exact value to match or regular expression format. For match-type = request-type, Valid Values : REGISTER, INVITE, ACK, BYE, CANCEL, PRACK, OPTIONS, INFO, SUBSCRIBE, NOTIFY, REFER, UPDATE, MESSAGE, PUBLISH
404 Response
Not Found
Root Schema : ApiValidationError
Type:
Show Source
object
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
code: string
-
errors: array
errors
-
message: string
-
timestamp: string
Nested Schema : Errors
Type:
Show Source
object
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
attribute: string
-
code: string
-
message: string
-
type: string
Allowed Values:
[ "error", "fatal", "warn" ]
406 Response
Validation Failure
Root Schema : ApiValidationError
Type:
Show Source
object
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
code: string
-
errors: array
errors
-
message: string
-
timestamp: string
Nested Schema : Errors
Type:
Show Source
object
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
attribute: string
-
code: string
-
message: string
-
type: string
Allowed Values:
[ "error", "fatal", "warn" ]