SIP + Mikrotik - URGENT! HELP!!!

Hi All,

Hope all is doing well. I need some assistance****.

We are using a Mikrotik for our PBX System. We are going to be using SIP trunking. We have two phone systems internally on 192.168.1.2 ( First one ) and the second 192.168.1.3

They’re requesting for our 192.168.1.2 - through specific wan IP address which is 165.X.40.40 and this must send it’s traffic to 207.X.X.50

They’re requesting for our 2nd PBX system 192.168.1.3 - through specific WAN IP address of 165.X.40.41 and must send it’s traffic to 207.X.X.51

How can I force the traffic from 192.168.1.2 to go out the first WAN IP?

I know there are several ways. Mangle rules I believe? Mark Routing?

Thanks,

Two trains of thought here.

  1. ensure sourcenat points to the correct WANIP for the subnet in question
  2. ensure routing points to the correct WANIP for the subnet in question.

Mangle rules add complication to a setup but may not be required.
Unfortunately I dont enough to give credible advice on this one.

Any other ideas?

How should the rules be? Can you provide an example?

Thanks,