Voip Integration - Add support for integration options in the UI

Love the current voip integration however, it would be super nice if I could configure these variables within the UI that are currently hard coded into the Voip integration.

Currently, I have to run it as a custom integration just to update these variables (which means anytime there is an update I have to redo the whole thing manually just to set some flags to false):

line 149 of the voip.py

def __init__(
        self,
        hass: HomeAssistant,
        language: str,
        voip_device: VoIPDevice,
        context: Context,
        opus_payload_type: int,
   # Below variables should be in the ui
        pipeline_timeout: float = 30.0,
        audio_timeout: float = 2.0,
        buffered_chunks_before_speech: int = 100,
        listening_tone_enabled: bool = True,
        processing_tone_enabled: bool = True,
        error_tone_enabled: bool = True,
        tone_delay: float = 0.2,
        tts_extra_timeout: float = 1.0,
        silence_seconds: float = 1.0,
        rtcp_state: RtcpState | None = None,
    ) -> None:

For example, I am running an AI phone following the official HA tutorial and I don’t like hearing a tone each time I talk to my AI as it breaks the immersion, so I have to set these to false:

listening_tone_enabled and processing_tone_enabled

It would be great if I could set these variables through UI in the configuration of the integration. The current 1500 people that are using this integration wil be happier :slight_smile:

Can you give me examples of use of this Integration over Alexa or Google Assistant ?

Basically, you are not using the cloud, you can also add Ai to actually understand questions about your home. I also connected an old rotary phone and have my 3 year old dial in to talk to “Elsa” from Disney’s frozen. The AI pretends its Elsa and keeps him entertained.