OPNsense Forum

Archive => 16.7 Legacy Series => Topic started by: Adamizme on December 14, 2016, 09:58:01 pm

Title: Cannot register more than one VoIP phone
Post by: Adamizme on December 14, 2016, 09:58:01 pm
I am doing some testing on a freeSwitch based PBX that I have setup with a public IP on a separate ISP. I have 4 phones that I'm attempting to test with from my office - 2 snom and 2 fanvil phones. Whichever phone of each model registers first registers fine and works great. The second phone to attempt to register does not ever receive a response from the PBX.

This issue was happening on 16.1, so I upgraded to 16.7 and it's still happening.

Static ports are enabled in outbound NAT. None of the phones would register at all without static ports.

Enabling and disabling reflection doesn't seem to make any difference.

Firewall optimization is set to conservative.

Any other ideas of what to try?
Title: Re: Cannot register more than one VoIP phone
Post by: bartjsmit on December 15, 2016, 12:17:09 pm
VoIP is notoriously sensitive to NAT. Any mileage in setting up a VPN to the pbx site?

Bart...
Title: Re: Cannot register more than one VoIP phone
Post by: Adamizme on December 15, 2016, 02:19:28 pm
The PBX has a public IP assigned to it, so VPN isn't really an option and shouldn't be necessary. Multiple phones work fine with basic routers, just not opnsense.

I have roughly a couple dozen production opnsense routers, so this could be pretty problematic. If you search the internet for "pfsense multiple sip phones", it's obviously a known issue. Is there an equivalent to siproxd for opnsense? That's the only potential fix that I've read that I haven't tried, unless someone else has any other suggestions....

Thank you in advance!
Title: Re: Cannot register more than one VoIP phone
Post by: ThuTex on December 19, 2016, 08:51:58 pm
try using a stun server?
in my case (though i currently only have 1 registered voip device) it always increased the stability of the connection.
you also might try to change port 5060 for 1 of the connections to something else and use port forwarding to have it end up where you want.