Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions mmv1/products/dialogflow/ConversationProfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,50 @@ properties:
- SSML_VOICE_GENDER_MALE
- SSML_VOICE_GENDER_FEMALE
- SSML_VOICE_GENDER_NEUTRAL
- type: NestedObject
name: 'sipConfig'
description: |
Configuration for SIP.
min_version: beta
properties:
- type: Boolean
name: 'createConversationOnTheFly'
description: |
Asks Dialogflow Telephony to create the conversation provided in the SIP header on the fly when the call comes in.
- type: Boolean
name: 'useMultiSdpPorts'
description: |
Uses multiple ports, each for one SDP media connection.
- type: Boolean
name: 'inactiveStart'
description: |
Starts the conversation with inactive SDP directives
- type: String
name: 'maxAudioRecordingDuration'
description: |
Max duration for audio recording. Overrides the default value of 15 min. Max value is 8 hours.
- type: Boolean
name: 'allowVirtualAgentInteraction'
description: |
Allows interactions with a Dialogflow virtual agent even if the call is connected for SIPREC purposes.
- type: Boolean
name: 'keepConversationRunning'
description: |
Keeps the conversation running even if the call is disconnected.
- type: Boolean
name: 'useProgress'
description: |
Use 183 Progress instead of 180 Ringing during SDP negotiation.
- type: Array
name: 'copyInboundCallLegHeaders'
description: |
List of inbound call leg headers to be copied to outbound call legs created later.
item_type:
type: String
- type: Boolean
name: 'ignoreReinviteMediaDirection'
description: |
Ingores any media direction in the reINVITE SDP offer. Reuse the previous media direction.
- type: NestedObject
name: 'newRecognitionResultNotificationConfig'
description: |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
resource "google_dialogflow_conversation_profile" "bidi_profile" {
provider = google-beta
display_name = "{{index $.Vars "profile_name"}}"
location = "global"
location = "europe-west1"
language_code = "en-US"
use_bidi_streaming = true
automated_agent_config {
agent = google_ces_app.ces_app_for_agent.id
}
sip_config {
allow_virtual_agent_interaction = true
create_conversation_on_the_fly = true
}
}

resource "google_ces_app" "ces_app_for_agent" {
Expand Down
Loading