- Joined
- Apr 12, 2021
- Messages
- 10
- Reaction score
- 2
Hello everyone,
I would be thankful if someone can guide me where to find issue. So we have latest 3cx running on VM via debian 10, unregister SIP, with two modems. Once was for internet, and other was for SIP. All was working fine until we changed setup from two modems to one modem because some of issue with provider.
But once we did switch to use one mode we cant make connection to SIP trunk server. Im quite sure that issue is somewhere in interface configuration, but im not sure where to look and what to change.
To be sure we have right connection to server, we did new install with windows setup and was able to make connection to SIP trunk server, but not without issue. When we added two gateways to NIC there was conflict, so solution was found on https://www.3cx.com/docs/sip-trunk/cyta-cyprus/#h.66ylxkz8bf4y by simply adding static routes.
We did try to do same with debian version, but without luck. Im sure we need to reconfigure interface rules and add some static routes. So here is technical info
3cx: latest
running on debian 10
working on windows 10 right now
2 modems
two NIC ens192 internet and ens224 SIP trunk
Example interface file:
//SIP gateway 10.100.22.1
//sip trunk IP 10.100.22.50
SIP domain added to host files
10.100.255.228 ims.mytelecom.com
This configuration above was working fine with two different modems, where ens192 was connected to internet, and ens224 only to sip.
Any advice, or more info needed? (IPs are example, real info edited)
I would be thankful if someone can guide me where to find issue. So we have latest 3cx running on VM via debian 10, unregister SIP, with two modems. Once was for internet, and other was for SIP. All was working fine until we changed setup from two modems to one modem because some of issue with provider.
But once we did switch to use one mode we cant make connection to SIP trunk server. Im quite sure that issue is somewhere in interface configuration, but im not sure where to look and what to change.
To be sure we have right connection to server, we did new install with windows setup and was able to make connection to SIP trunk server, but not without issue. When we added two gateways to NIC there was conflict, so solution was found on https://www.3cx.com/docs/sip-trunk/cyta-cyprus/#h.66ylxkz8bf4y by simply adding static routes.
We did try to do same with debian version, but without luck. Im sure we need to reconfigure interface rules and add some static routes. So here is technical info
3cx: latest
running on debian 10
working on windows 10 right now
2 modems
two NIC ens192 internet and ens224 SIP trunk
Example interface file:
Code:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug ens192
auto ens192
iface ens192 inet static
address 192.168.10.10/21
gateway 192.168.10.1
dns-nameservers 8.8.8.8
# Interface to provider
allow-hotplug ens224
auto ens224
iface ens224 inet static
address 10.100.22.50/21
up /sbin/ip route add 10.100.254.0/23 via 10.100.22.1 dev ens224
down /sbin/ip route delete 10.100.254.0/23 via 10.100.22.1 dev ens224
//sip trunk IP 10.100.22.50
SIP domain added to host files
10.100.255.228 ims.mytelecom.com
This configuration above was working fine with two different modems, where ens192 was connected to internet, and ens224 only to sip.
Any advice, or more info needed? (IPs are example, real info edited)