Dismiss Notice
We would like to remind you that we’re updating our login process for all 3CX forums whereby you will be able to login with the same credentials you use for the Partner or Customer Portal. Click here to read more.

Using 4G backup / ngix Web Service fails shortly after it starts when 4G connection enabled

Discussion in '3CX Phone System - General' started by sysadmin_at_lca, Nov 3, 2017.

Thread Status:
Not open for further replies.
  1. sysadmin_at_lca

    Jul 8, 2014
    Likes Received:
    Can anyone advise how they handle failover for 3CX phone systems, for the Internet connection?

    My cunning plan, when a customer had a line fault that caused their ADSL to drop to put a 4G connection in place so that the phone system could still work via 4G, and the desk phones could reach the PC. That way ONLY the phone system data would work across the 4G and the kids/users trying to use Netflix/YouTube wouldn't kill the limited amount of data on the 4G service.

    However on deploying this and getting access back to the PC with 3CX on it I found I couldn't reach the web interface (locally) and noted that the ngix web service had stopped.

    I could start it, but within seconds it would stop with warning event log saying the service had stopped (code 2?).

    I then thought the phone system had an issue at the same time as the ADSL service and proceeded to perform all kinds of troubleshooting on the 3CX system, to the point where I've uninstalled and reinstalled 3CX a LOT of times. Now I'm stuck that I'm getting a generic "licence activation failed" regarding an adaptor issue, but having completed fresh installs, etc, it's not related to restoring a backup or installing fresh, etc.

    • root cause: primary internet not available, so attempted to setup a local 4G connection
    • secondary cause: ngix doesn't seem to like having a cabled (but not internet active) connection and a 4G connection running at the same time
    Any hints would be great.

    I think for the moment I may just need to setup the 4G attached to the router in some way for failover purposes, once I actually manage to get the phone system reinstalled.
  2. accentlogic

    accentlogic New Member

    Nov 14, 2013
    Likes Received:
    Yes, I think you will need to have the router handle the failover. 3CX does not like multiple net work adapters or multiple gateways. Be sure to test your SIP trunk failover if you don't have local dial tone, and you might need tell 3CX that you are using a dynamic IP address. Failover won't be immediate, but will take a few minutes.

    Because you are using your local router for failover, you will need some additional rules to deny non 3CX traffic when using 4G.
  3. sip.bg

    sip.bg Active Member

    Nov 7, 2016
    Likes Received:
    If you have network cards with dynamic MAC addresses, you may have license issues, contact 3CX sales in such case.
    Generally: on a system with several network interfaces, you may have as many as you want, there should be only one default gateway, the traffic through other interfaces should be routed using static routes with different metric. The address on primary interface can't be changed without reinstalling the 3CX.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Thread Status:
Not open for further replies.