- Joined
- Sep 20, 2017
- Messages
- 81
- Reaction score
- 12
We have a client who has been provided with two SIP trunks from their VOIP provider. As there no supported VOIP providers in our country we have to use the Generic VOIP Provider option in 3CX. The provider uses IP based authentication as the trunks are brought directly to the client using a fiber connection. Each trunk is on its own point to point network i.e. the provider assigns the trunk an IP with a /30 subnet mask. The server has three network cards, one for the LAN and the other two for the SIP trunks.
Based on the following post:
https://www.3cx.com/blog/docs/network-configurations-supported-3cx-phone-system/
I have configured the LAN network card with a default gateway and the other two network cards have the IPs assigned by the service provider without a default gateway. The signalling servers and media servers for the two trunks are the same. Therefore, I have created static routes to the signalling and media servers to the default gateway of each trunk. The routes all have the same metric.
Inbound calls work fine and have I two way audio for both trunks. However, outbound calls only work on one trunk because routing is going with one connection. Is there a way for 3CX to choose the route for a call based on the SIP trunk being used in the outbound rule?
Based on the following post:
https://www.3cx.com/blog/docs/network-configurations-supported-3cx-phone-system/
I have configured the LAN network card with a default gateway and the other two network cards have the IPs assigned by the service provider without a default gateway. The signalling servers and media servers for the two trunks are the same. Therefore, I have created static routes to the signalling and media servers to the default gateway of each trunk. The routes all have the same metric.
Inbound calls work fine and have I two way audio for both trunks. However, outbound calls only work on one trunk because routing is going with one connection. Is there a way for 3CX to choose the route for a call based on the SIP trunk being used in the outbound rule?