CreateSipRuleRequest
¶
Source code in docs_src/capo_chime_sdk_voice/types/create_sip_rule_request.py
disabled
instance-attribute
¶
disabled: NotRequired[NullableBoolean]
Disables or enables a SIP rule. You must disable SIP rules before you can delete them.
target_applications
instance-attribute
¶
target_applications: SipRuleTargetApplicationList
List of SIP media applications, with priority and AWS Region. Only one SIP application per AWS Region can be used.
trigger_type
instance-attribute
¶
trigger_type: SipRuleTriggerType
The type of trigger assigned to the SIP rule in TriggerValue, currently RequestUriHostname or ToPhoneNumber.
trigger_value
instance-attribute
¶
trigger_value: NonEmptyString
If TriggerType is RequestUriHostname, the value can be the outbound host name of a Voice Connector. If TriggerType is ToPhoneNumber, the value can be a customer-owned phone number in the E164 format. The SipMediaApplication specified in the SipRule is triggered if the request URI in an incoming SIP request matches the RequestUriHostname, or if the To header in the incoming SIP request matches the ToPhoneNumber value.