Hi,
i have to sip trunk line from my telephony company connected to my virtual machine
both sip trunk have a same spc host.
each line have a separate eth device with different gateway
when i try to connect to second sip trunk line the first one disconnect:
my VM machine is centos 7.3 with issable 4.0 and asterisk 11.25
eth1:
TYPE=Ethernet
BOOTPROTO=static
IPADDR=10.194.2.174
PREFIX=30
GATEWAY=10.194.2.173
DEFROUTE=yes
NAME=eth1
DEVICE=eth1
ONBOOT=yes
NETMASK=255.255.255.252
NOZEROCONF=yes
BROADCAST=10.194.2.175
NETWORK=10.194.2.172
eth2:
TYPE=Ethernet
BOOTPROTO=static
IPADDR=10.194.2.182
PREFIX=30
GATEWAY=10.194.2.181
DEFROUTE=yes
NAME=eth1
DEVICE=eth1
ONBOOT=yes
NETMASK=255.255.255.252
NOZEROCONF=yes
BROADCAST=10.194.2.183
NETWORK=10.194.2.180
Trunk1:
host=10.105.20.194
type=friend
insecure=port,invite
context=from-trunk
qualify=yes
dtmfmode=auto
Trunk2:
host=10.105.20.194
type=friend
insecure=port,invite
context=from-trunk
qualify=yes
dtmfmode=auto
also i have two routes:
route add 10.105.20.194 gw 10.194.2.173 dev eth1
route add 10.105.20.194 gw 10.194.2.181 dev eth2
by above configuration i have only one line, i know this is from routes but i dont know what is solution
any help appreciated.
Regards