Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class SipConfig.
Defines the SIP configuration.
Generated from protobuf message google.cloud.dialogflow.v2.SipConfig
Namespace
Google \ Cloud \ Dialogflow \ V2Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ create_conversation_on_the_fly |
bool
Asks Dialogflow Telephony to create the conversation provided in the SIP header on the fly when the call comes in. |
↳ inactive_start |
bool
Starts the conversation with inactive SDP directives |
↳ max_audio_recording_duration |
Google\Protobuf\Duration
Max duration for audio recording. Overrides the default value of 15 min. Max value is 8 hours. |
↳ allow_virtual_agent_interaction |
bool
Allows interactions with a Dialogflow virtual agent even if the call is connected for SIPREC purposes. |
↳ keep_conversation_running |
bool
Keeps the conversation running even if the call is disconnected. |
↳ copy_inbound_call_leg_headers |
string[]
List of inbound call leg headers to be copied to outbound call legs created later. |
↳ ignore_reinvite_media_direction |
bool
Ignores any media direction in the reINVITE SDP offer. Reuse the previous media direction. |
getCreateConversationOnTheFly
Asks Dialogflow Telephony to create the conversation provided in the SIP header on the fly when the call comes in.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setCreateConversationOnTheFly
Asks Dialogflow Telephony to create the conversation provided in the SIP header on the fly when the call comes in.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getInactiveStart
Starts the conversation with inactive SDP directives
| Returns | |
|---|---|
| Type | Description |
bool |
|
setInactiveStart
Starts the conversation with inactive SDP directives
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMaxAudioRecordingDuration
Max duration for audio recording.
Overrides the default value of 15 min. Max value is 8 hours.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Duration|null |
|
hasMaxAudioRecordingDuration
clearMaxAudioRecordingDuration
setMaxAudioRecordingDuration
Max duration for audio recording.
Overrides the default value of 15 min. Max value is 8 hours.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Duration
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAllowVirtualAgentInteraction
Allows interactions with a Dialogflow virtual agent even if the call is connected for SIPREC purposes.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setAllowVirtualAgentInteraction
Allows interactions with a Dialogflow virtual agent even if the call is connected for SIPREC purposes.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getKeepConversationRunning
Keeps the conversation running even if the call is disconnected.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setKeepConversationRunning
Keeps the conversation running even if the call is disconnected.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCopyInboundCallLegHeaders
List of inbound call leg headers to be copied to outbound call legs created later.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<string> |
|
setCopyInboundCallLegHeaders
List of inbound call leg headers to be copied to outbound call legs created later.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getIgnoreReinviteMediaDirection
Ignores any media direction in the reINVITE SDP offer. Reuse the previous media direction.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setIgnoreReinviteMediaDirection
Ignores any media direction in the reINVITE SDP offer. Reuse the previous media direction.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|