WAN IP change - not connecting to trunk

Status
Not open for further replies.

chris83

Forum User
Joined
Aug 31, 2019
Messages
1
Reaction score
0
Hi all,

Currently running 3CX on Debian - version 15.5.15502.
This has been running successfully with no issues for the past 12 months.
We transitioned this internet to a new fibre service resulting in a new public IP.

There was no firewall change.
The only thing which was updated on the firewall was the new WAN IP details.

The 3CX PABX has not been successful in connecting to SIP trunk since. Keeps giving the following error.
Registration at "TRUNKNAME" has failed. Destination (sip:[email protected]:5060) is not reachable, DNS error resolving FQDN, or service is not available.

From looking at the packet captures on the firewall. The old WAN IP appears to still be showing when communicating to SIP server even though the SIP message headers in the packet show the new WAN IP

I did a bit of a search on the 3CX forums and they mentioned there is a particular way the WAN IP needs to be changed.
For eg:

Last link mentions the following:
...
"First thing to be aware of is that if you are using a 3CX Supported FQDN (which by your 3cx.fr you are) then your FQDN, Licence and Public IP are now bound together:
https://www.3cx.com/docs/fqdn-management-allocation/"
...

i can ping domain.3cx.com.au however and it shows the correct new IP.

I’ve also tried the suggestions in the above article about changing IP to dynamic IP. Then changing back to Static then waiting a long period. This will still not connect to trunk and packet capture continues to show old WAN IP.

Is there anything else within the 3CX PABX that needs updating regarding public IP's?

help appreciated
 
Check your firewall rules, objects to see if anything has the old ip

Reboot your firewall, in case it has cached the info and using the old info

Is your sip trunk locked down to certain ip’s

What are the dns settings, for some reasons changing to google 8.8.8.8 resolves a lot of issues
 
Last edited:
  • Like
Reactions: AWS2P
Hi all,

Currently running 3CX on Debian - version 15.5.15502.
This has been running successfully with no issues for the past 12 months.
We transitioned this internet to a new fibre service resulting in a new public IP.

There was no firewall change.
The only thing which was updated on the firewall was the new WAN IP details.

The 3CX PABX has not been successful in connecting to SIP trunk since. Keeps giving the following error.
Registration at "TRUNKNAME" has failed. Destination (sip:[email protected]:5060) is not reachable, DNS error resolving FQDN, or service is not available.

From looking at the packet captures on the firewall. The old WAN IP appears to still be showing when communicating to SIP server even though the SIP message headers in the packet show the new WAN IP

I did a bit of a search on the 3CX forums and they mentioned there is a particular way the WAN IP needs to be changed.
For eg:
Last link mentions the following:
...
"First thing to be aware of is that if you are using a 3CX Supported FQDN (which by your 3cx.fr you are) then your FQDN, Licence and Public IP are now bound together:
https://www.3cx.com/docs/fqdn-management-allocation/"
...

i can ping domain.3cx.com.au however and it shows the correct new IP.

I’ve also tried the suggestions in the above article about changing IP to dynamic IP. Then changing back to Static then waiting a long period. This will still not connect to trunk and packet capture continues to show old WAN IP.

Is there anything else within the 3CX PABX that needs updating regarding public IP's?

help appreciated
Try and go into the sip trunk, click options and if "Put Public IP in SIP VIA Header" is checked then put the new WAN IP in there.
 
  • Like
Reactions: CentrexJ
Are you sure your SIP Provider doesnt need to add your new WAN IP to the "allowed" list? They may have it locked down to your previous WAN for security purposes.
 
  • Like
Reactions: nub
Status
Not open for further replies.

Forum statistics

Threads
111,933
Messages
589,812
Members
164,808
Latest member
jsbjsb