OPNsense Forum

English Forums => General Discussion => Topic started by: idscomm on February 03, 2024, 06:26:26 PM

Title: VoIP phones behind Opnsense
Post by: idscomm on February 03, 2024, 06:26:26 PM
Hello,

Just switched from the other sense and I'm trying to figure out how to configure my 2 IP phones. I have a VLAN for the VoIP phones (2 devices), I have a NAT rule and can make 1 phone work but not both. I created an Alias but I don't think I can NAT to 2 different IPs ...

I tried the SIP proxy since I was using it on pfsense but it doesn't work as well ..... doesn't work at all I should say.

Anyone managed to configure more than 1 VoIP phone behind Opnsense? I am not using a PBX, each phone registered online through my VoIP provider.

Any input appreciated.

Thanks!!
Title: Re: VoIP phones behind Opnsense
Post by: bartjsmit on February 04, 2024, 09:11:49 AM
How many public IP addresses do you get from your ISP? Do your VoIP provider and ISP support IPv6? You need two inbound paths for calls to be routed.

I run FreePBX with six internal extensions plus Lenny https://www.crosstalksolutions.com/howto-pwn-telemarketers-with-lenny/

The trunk to the VoIP does not have a concurrency limit on it, so all six phones can call simultaneously.

Bart...
Title: Re: VoIP phones behind Opnsense
Post by: idscomm on February 04, 2024, 11:14:09 AM
Yeah I thought about setting up a FreePBX as I used to have one but since I was running pfSense with the sip proxy and my 2 phones were working (I only have 1 public IP) I was hoping there was a solution for opnSense. I tried the sip proxy plug-in but it didn't work ... not sure if I misconfigured it or it was just not working ...  :(

I guess I'll have to see if I want to setup another FreePBX or simply return to pfSense  :-\