We currently have 2 carriers. Each Asterisk node has its own public IP address and local IP address routed thru eth0. Our primary carrier has also just provided us with a direct connection to their fiber network which is routed thru eth1. In sip.conf we have the public ip listed as the externip= and both carriers work flawlessly. The fiber connection has a different host address we created a new carrier entry for it and in the account entry we have specified externip= as to the address of eth1 and were able to make calls but in investigating the packets we see that RTP is using the public ip address that is routed thru eth0 and we need it routed thru eth1. How can this be accomplished and be able to keep all 3 carriers functioning?
What we have tried so far....
leaving the 2 functioning carriers account settings as is and specified externip= in the account entry of the 3rd carrier to the ip address of eth1. RTP went thru eth0. Call connected successfully thru eth1
Then we tried editing sip.conf externip= to the address of eth1 and modifying the existing working carriers account entries to externip= to the public address of eth0. What this did was make the 3rd carrier work and RTP was routed thru eth1 but the 2 other carriers failed and in packet capture saw that now those 2 carriers were not obeying the account entry externip= and instead the packets show sip routing thru the local network.
Any ideas? Thanks in advance.
Vicibox 9.0.3 from .iso | Vicidial 2.14-760a BUILD: 200701-1525 SVN 3261| CLuster setup: 4 web 1 DB 1 Slave DB 10 telephony | No Digium/Sangoma Hardware