FreePBX | Register | Issues | Wiki | Portal | Support

Freepbx setup with Vodafone

configuration
Tags: #<Tag:0x00007fdf99e700d8>

(FAK) #1

Hi Guys,

I have to setup freepbx with vodafone in romania as a provider.

it’s a strange setup they have given us a modem with their

SIP CONFIG

Local IP: 192.168.30.2
Local IP CPE intern: 192.168.30.1
Local hostname: ims.vodafone.ro
IP Route: public ip/29 through 192.168.30.1
SIP Gateway primary: public ip
SIP Gateway secondary: public ip

now we have two different networks in the same pbx one with internet and the second with vodafone sip.

I am able to setup the VM with two network adapters but all the traffic is going from one gateway which is for internet not for sip.

how can I setup this with separate gateway for vodafone traffic and separate for internet.

both internet and sip have different subnets.

Anyone can help me with this.


#2

you need to add a static route to the vodafone network.
This must be done in Centos

search google permanent route in centos (route-ethx file in etc/sysconfig/network-scrips)


(FAK) #3

I did this but it replaces the default gateway and to sip one for all the traffic