- Joined
- May 6, 2019
- Messages
- 74
- Reaction score
- 25
3CX v16 Update 2 running on Debian. The issue really started under Update 1 but since I upgraded to Update 2 last week the problem is really hitting us hard. Under Update 1 our secondary SIP Trunk would drop off and become Red/Unusable due to the generic event logged as:
Registration at SIP.US Secondary has failed. Destination (sip:[email protected]:5060) is not reachable, DNS error resolving FQDN, or service is not available.
If I hard-code the IP address or leave it FQDN formatted, the same message, so it's not a DNS issue. The service is always pingable and a tcpdump on the SIP.us provider side shows no packet activity on their end from my 3CX server.
After a few hours this same secondary service would suddenly reappear and function for several more hours until it failed again. The times appeared to be purely random, the secondary trunk would cylce on/off. The secondary would just randomly go down and then back up again a few times per day. Enter v16 Update 2.
Since the Update 2 upgrade the primary and secondary trunks flip between Active and Deactivated, again randomly. Last evening at 7:26pm I received this e-mail from the 3CX Server:
Trunk L:10001(SIP.US Secondary) has changed status to registered.
Followed immediately by this second e-mail:
Trunk L:10000(SIP.US Primary) has changed status to unregistered. This means that no more calls will pass via this trunk
The Primary was running but the Secondary suddenly tripped back active, triggering the Primary to then become disabled, immediately. I have removed/deleted the secondary trunk definition, rebooted, and entered it back in again but nothing changes. Again, the trunk provider never sees any traffic from my 3CX server to their secondary IP address when it is disabled and tries logging in every minute.
The 3CX firewall checker passes fully green and the firewall is a Sonicwall TZ500 with the latest firmware loaded.
For a week now I see these two trunks flipping back and forth and I've reached the limits of what else I can think to try, and the trunk provider has no options since I'm not even hitting their server when the trunk is down. When the primary trunk fails due to the secondary coming online that shows the networking and firewall must be fine, but there is something deep inside 3CX that isn't happy. The trunk provider is 3CX supported so I'm using their default templates. Just to be sure the Sonicwall firewall and Debian server were both rebooted.
Since the Update 2 I have tried removing the secondary Trunk and adding it back again, but each time it fails to register.
The IP BlackList is clear on the 3CX server and has never indicated being connected to the problem.
This morning when the active trunk was the Secondary and it was showing "Green" status, we were unable to place any outgoing calls. Restarting the SIP server services brought the primary back online and the secondary remained disabled.


Something I have not tried yet is do delete both primary and secondary trunks and reload them back in again. If I remove the primary will that also remove any dialing rules or other settings?
Any other suggestions out there? I tried to purchase a support ticket from the 3CX customer portal but all I get is a spinning set of circles, nothing ever displays allowing me to purchase a ticket.
Registration at SIP.US Secondary has failed. Destination (sip:[email protected]:5060) is not reachable, DNS error resolving FQDN, or service is not available.
If I hard-code the IP address or leave it FQDN formatted, the same message, so it's not a DNS issue. The service is always pingable and a tcpdump on the SIP.us provider side shows no packet activity on their end from my 3CX server.
After a few hours this same secondary service would suddenly reappear and function for several more hours until it failed again. The times appeared to be purely random, the secondary trunk would cylce on/off. The secondary would just randomly go down and then back up again a few times per day. Enter v16 Update 2.
Since the Update 2 upgrade the primary and secondary trunks flip between Active and Deactivated, again randomly. Last evening at 7:26pm I received this e-mail from the 3CX Server:
Trunk L:10001(SIP.US Secondary) has changed status to registered.
Followed immediately by this second e-mail:
Trunk L:10000(SIP.US Primary) has changed status to unregistered. This means that no more calls will pass via this trunk
The Primary was running but the Secondary suddenly tripped back active, triggering the Primary to then become disabled, immediately. I have removed/deleted the secondary trunk definition, rebooted, and entered it back in again but nothing changes. Again, the trunk provider never sees any traffic from my 3CX server to their secondary IP address when it is disabled and tries logging in every minute.
The 3CX firewall checker passes fully green and the firewall is a Sonicwall TZ500 with the latest firmware loaded.
For a week now I see these two trunks flipping back and forth and I've reached the limits of what else I can think to try, and the trunk provider has no options since I'm not even hitting their server when the trunk is down. When the primary trunk fails due to the secondary coming online that shows the networking and firewall must be fine, but there is something deep inside 3CX that isn't happy. The trunk provider is 3CX supported so I'm using their default templates. Just to be sure the Sonicwall firewall and Debian server were both rebooted.
Since the Update 2 I have tried removing the secondary Trunk and adding it back again, but each time it fails to register.
The IP BlackList is clear on the 3CX server and has never indicated being connected to the problem.
This morning when the active trunk was the Secondary and it was showing "Green" status, we were unable to place any outgoing calls. Restarting the SIP server services brought the primary back online and the secondary remained disabled.
Something I have not tried yet is do delete both primary and secondary trunks and reload them back in again. If I remove the primary will that also remove any dialing rules or other settings?
Any other suggestions out there? I tried to purchase a support ticket from the 3CX customer portal but all I get is a spinning set of circles, nothing ever displays allowing me to purchase a ticket.

