GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2CallMatcher (google_api_dialogflow v0.56.0) View Source
Represents a call matcher that describes criteria for matching incoming SIP calls to a conversation. When Dialogflow get a SIP call from a third-party carrier, Dialogflow matches the call to an existing conversation by either: Extracting the conversation id from the Call-Info header, e.g. Call-Info: ;purpose=Goog-ContactCenter-Conversation
. Or, if that doesn't work, matching incoming SIP headers against any CallMatcher for the conversation. If an incoming SIP call without valid Call-Info
header matches to zero or multiple conversations with CallMatcher
, we reject it. A call matcher contains equality conditions for SIP headers that all have to be fulfilled in order for a SIP call to match. The matched SIP headers consist of well-known headers (To
, From
, Call-ID
) and custom headers. A CallMatcher is only valid if it specifies: At least 1 custom header, or at least 2 well-known headers.
Attributes
-
callIdHeader
(type:String.t
, default:nil
) - Value of theCall-ID
header to match. If empty or unspecified, we don't match to theCall-ID
header. -
customHeaders
(type:GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2CallMatcherCustomHeaders.t
, default:nil
) - Custom SIP headers that must match. -
fromHeader
(type:String.t
, default:nil
) - Value of theFrom
header to match. If empty or unspecified, we don't match to theFrom
header. -
name
(type:String.t
, default:nil
) - Output only. The unique identifier of this call matcher. Format:projects//locations//conversations//callMatchers/
. -
toHeader
(type:String.t
, default:nil
) - Value of theTo
header to match. If empty or unspecified, we don't match to theTo
header.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Specs
t() :: %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2CallMatcher{ callIdHeader: String.t() | nil, customHeaders: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2CallMatcherCustomHeaders.t() | nil, fromHeader: String.t() | nil, name: String.t() | nil, toHeader: String.t() | nil }
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.