Support multiple lines in VoIP integration

I followed the instructions here, World's Most Private Voice Assistant - Home Assistant, and managed to get a phone connected to my Home Assistant instance. Yay!

However… I actually spent the extra $10 and got the Grandstream HT802, which supports two lines. The idea was that I could use two phones (or a phone supporting two lines) to access different voice assistants.

The good news is that this adapter works with one line. HOWEVER, the instructions only provide a single port on Home Assistant so there is no way to connect different lines to different voice assistants… that I can see.

I also want to connect various other things over VoIP, for different purposes (e.g. door answering service, phone answering service) and these need to be configured differently, so I need multiple “ports” or “extensions” for different lines for that, too.

I should mention that I’m setting up an instance of FreePBX on a different computer so may be able to work around these using a PBX to route calls, but I still would rather Home Assistant support multiple ports so I can, for example, give different authorities to different access points.

I connected 2 separate soft phones to the voip integration. Mizudroid on my phone and on my tablet. They of course have different ip addresses.

So I just go ahead and configure it (on the ATA) using the same HA IP address and port and it will figure it out? If that’s the case, great! Will try and confirm that works in my situation… the HT802 only has one IP address, so…