Has anyone got Home Assistant to work with an IP phone as a local voice control?

I have a Grandstream GXP 2140, and I cannot get it talking to HA for the functionality. It doesn’t have the same settings as the Grandstream pots to IP Phone device from the article.

https://www.home-assistant.io/voice_control/worlds-most-private-voice-assistant/

I have Whisper and Piper installed, and showing up under the Wyoming protocol. I have the IP Phone addon installed, but it never detects my phone.

  • redcalcium@lemmy.institute
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    10 months ago

    Does the voip integration actually support your device though? The supported device in the doc seems to be very different from your model: https://www.home-assistant.io/integrations/voip

    Also, does the SIP port 5060 created by the integration actually accessible from your network? If you’re using a firewall, you might need to open the port there.

    • amigan@lemmy.dynatron.me
      link
      fedilink
      English
      arrow-up
      2
      ·
      10 months ago

      SIP is SIP. As I stated elsewhere, I actually have it working with asterisk initiating the call from its dialplan.

    • Banzai51OP
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 months ago

      The directions show how to take a transitional POTS phone and hook it up with a VOIP device. I do want to do that with a fancy looking old phone (but new construction). But with my existing VOIP phone I thought I could skip the conversion device.

      • redcalcium@lemmy.institute
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        10 months ago

        Have you checked the homeassistant log and see if there is any error there? It should listen to port 5060 udp. try calling any number and see if it log any error.

        In my case, I’m able to connect using ACR Phone android app and home assistant detected it but no sounds even though opus codec is selected. I haven’t investigated it further. None of other android sip apps I tried come this close because they either don’t support opus, or crash the integration with “Padding and extension headers not supported” error, or refuse to connect because the integration can’t handle SIP INVITE.