Tailscale HA & FreePBX

I just installed the Tailscale Addon for Home Assistant… Everything is running fine. I enable SUBNET ROUTES on the server so i have remote access to devices to my local network including Home Assistant server.

I Also have a Freepbx server running on the same local network for my home voip phone… everything on my PBX system is working fine aslong that its on local… the problem is when i try to make a call using a softphone app “linphone” outside my network, my local voip phone rings and can answer the call and also hear the caller from the softphone… but when i speak thru the voip phone the other end cannot hear me…

Troubleshooting i tried to connect my softphone to local wifi… then make a call… only then 2 way audio without issue… i dont know where could the problem be… i dont know if its on tailscale side or maybe the freepbx side… maybe someone here came across the same issue?

Audio issues are typically related to subnets that are specified under Settings → Asterisk SIP settings → Local networks.

Not sure how the PBX is seeing your clients going over that Tailscale VPN but those subnets would need to be specified there for it to work properly.

When i monitor the call using CLI asterisk -rvvv. My android phones ip address register as 192.168.0.175 which is the ip address of my home assistant server which is also where the tailscale vpn is running…

I guess I don’t understand where the Tailscale and Home Assistant server come into this if you are trying to dial through your android phone. Do you have 192.168.0.0/24 specified Asterisk SIP settings under Local Networks?

Yes 192.168.0.0/24 is there