this post was submitted on 02 Feb 2024
13 points (100.0% liked)

homeassistant

11828 readers
218 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io

founded 1 year ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 7 months ago* (last edited 7 months ago) (2 children)

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.

[–] [email protected] 2 points 7 months ago

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

[–] [email protected] 1 points 7 months ago (1 children)

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.

[–] [email protected] 2 points 7 months ago* (last edited 7 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.