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 the Call-ID header to match. If empty or unspecified, we don't match to the Call-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 the From header to match. If empty or unspecified, we don't match to the From 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 the To header to match. If empty or unspecified, we don't match to the To 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

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.