Page 1 of 1

One Asterisk, one provider IP but different route

Posted: Fri Jan 17, 2014 6:18 pm
by dendzo

We have same VoIP provider in two cities. Provider is absolutely inflexible of making any changes. We have VPN connections between locations. Imagine this situation for example.

My PBX on (PBX is behind NAT).

IP assigned by our provider for our PBX at first location is
IP assigned by our provider for our PBX at second location is

Provider's VoIP server on (

Provider does not allow us to connect SIP trunk from first location on second one, and vice versa.

My idea is to use only one server for both SIP trunk.

I think I could force second trunk to go to different IP ( for example). Since the server is behind NAT, I would need to change source, and destination IP in a rule. Do you think it is possible to do that, or maybe someone has another solution?

Basically, same PBX, same VoIP server, but different routes.