# Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::SipConfig (v1.16.1)

1.16.1 (latest) 1.16.0 1.15.0 1.14.0 1.13.0 1.12.1 1.11.0 1.10.1 1.9.1 1.8.0 1.7.0 1.6.0 1.5.0 1.4.1 1.3.0 1.2.0 1.1.1 1.0.0 0.34.0 0.33.0 0.32.2 0.31.0 0.30.0 0.29.0 0.28.0 0.27.0 0.26.2 0.25.0 0.24.0 0.23.0 0.22.0 0.21.0 0.20.0 0.19.0 0.18.0 0.17.1 0.16.0 0.15.2 0.14.0 0.13.0 0.12.0 Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::SipConfig.

Defines the SIP configuration.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #allow_virtual_agent_interaction

    def allow_virtual_agent_interaction() -> ::Boolean

**Returns**

- (::Boolean) --- Allows interactions with a Dialogflow virtual agent even if the call is connected for SIPREC purposes.

### #allow_virtual_agent_interaction=

    def allow_virtual_agent_interaction=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Allows interactions with a Dialogflow virtual agent even if the call is connected for SIPREC purposes.
**Returns**

- (::Boolean) --- Allows interactions with a Dialogflow virtual agent even if the call is connected for SIPREC purposes.

### #copy_inbound_call_leg_headers

    def copy_inbound_call_leg_headers() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- List of inbound call leg headers to be copied to outbound call legs created later.

### #copy_inbound_call_leg_headers=

    def copy_inbound_call_leg_headers=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::String\>) --- List of inbound call leg headers to be copied to outbound call legs created later.
**Returns**

- (::Array\<::String\>) --- List of inbound call leg headers to be copied to outbound call legs created later.

### #create_conversation_on_the_fly

    def create_conversation_on_the_fly() -> ::Boolean

**Returns**

- (::Boolean) --- Asks Dialogflow Telephony to create the conversation provided in the SIP header on the fly when the call comes in.

### #create_conversation_on_the_fly=

    def create_conversation_on_the_fly=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Asks Dialogflow Telephony to create the conversation provided in the SIP header on the fly when the call comes in.
**Returns**

- (::Boolean) --- Asks Dialogflow Telephony to create the conversation provided in the SIP header on the fly when the call comes in.

### #ignore_reinvite_media_direction

    def ignore_reinvite_media_direction() -> ::Boolean

**Returns**

- (::Boolean) --- Ignores any media direction in the reINVITE SDP offer. Reuse the previous media direction.

### #ignore_reinvite_media_direction=

    def ignore_reinvite_media_direction=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Ignores any media direction in the reINVITE SDP offer. Reuse the previous media direction.
**Returns**

- (::Boolean) --- Ignores any media direction in the reINVITE SDP offer. Reuse the previous media direction.

### #inactive_start

    def inactive_start() -> ::Boolean

**Returns**

- (::Boolean) --- Starts the conversation with inactive SDP directives

### #inactive_start=

    def inactive_start=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Starts the conversation with inactive SDP directives
**Returns**

- (::Boolean) --- Starts the conversation with inactive SDP directives

### #keep_conversation_running

    def keep_conversation_running() -> ::Boolean

**Returns**

- (::Boolean) --- Keeps the conversation running even if the call is disconnected.

### #keep_conversation_running=

    def keep_conversation_running=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Keeps the conversation running even if the call is disconnected.
**Returns**

- (::Boolean) --- Keeps the conversation running even if the call is disconnected.

### #max_audio_recording_duration

    def max_audio_recording_duration() -> ::Google::Protobuf::Duration

**Returns**

- ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-v2/latest/Google-Protobuf-Duration)) --- Max duration for audio recording. Overrides the default value of 15 min. Max value is 8 hours.

### #max_audio_recording_duration=

    def max_audio_recording_duration=(value) -> ::Google::Protobuf::Duration

**Parameter**

- **value** ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-v2/latest/Google-Protobuf-Duration)) --- Max duration for audio recording. Overrides the default value of 15 min. Max value is 8 hours.
**Returns**

- ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-v2/latest/Google-Protobuf-Duration)) --- Max duration for audio recording. Overrides the default value of 15 min. Max value is 8 hours.