I replaced two aging Cisco switches for two USW Pro 48 PoE switches. All the workstations operate on the default VLAN and I configured a VLAN 10 for the Yealink VoIP phones. VoIP traffic is routed over IPsec to our FreePBX box located at another site. All other configs on the USW are at their defaults. The firewalls on both ends are pfSense+.
Inbound and outbound calls work fine, but if you place a call on hold, both ends go mute. I narrowed the issue down to the USW’s by plugging a VLAN 10 tagged phone directly into the gateway, and the issue was resolved. I am thinking it is a NAT issue.
Here is a simple topology of the setup. Any ideas?
IPsec over
SITE A Internet SITE B
┌───────────────┐
│ │
┌──────┐ ┌───────┐ ┌────┴───┐ ┌───┴────┐ ┌─────────┐
│Phone ├───────►│USW Pro├──────►│Netgate │ │Netgate ├──────►│FreePBX │
└──────┘ └───────┘ └────────┘ └────────┘ └─────────┘
10.1.2.21 192.168.0.2 192.168.0.1/24 192.168.10.1/24 192.168.10.2
VLAN 10 VLAN 1 10.1.2.1/24
Trunked VLAN 10