Solved Weird SIP trunk behaviour

Status
Not open for further replies.

akismpa

Free User
Joined
Aug 15, 2019
Messages
4
Reaction score
1
We have an already working setup of enterprise license 3CX. We are moving offices and we have a new SIP trunk with public ip that is directly connected to an interface on the new 3CX setup.
Before we move I have setup a new 3CX to test the new SIP trunk and everything works fine (have to define Select which IP to use in 'Contact' (SIP) and 'Connection'(SDP) fields).
Before the last move I wanted to test the backup restore. The old 3cx installation has been updated to the latest version and I backup and create a new 3cx with the option to restore from FULL backup.
I create the new SIP trunk and delete the old ones set the same fields of (Select which IP to use in 'Contact' (SIP) and 'Connection'(SDP) fields) with the public ip of the SIP trunk but all the sip invites go out with the Contact Host part containing the Internet facing IP and not the SIP trunk IP. I tried even manually setting it in outbound options of the trunk but the result is the same so the SIP server replies with 480 no route (because of the internet facing public ip in the contact host part).
Is there any config file or something else that might be overriding this setting ?

Thank you
 
Your PBXs are local on premise?

Should it be possible to backup old PBX settings after sip trunk deletion and try a restore without any Trunk , and recreate SIP trunk on new PBX after restoration

in Settings , network settings , do you have the right public IP on new PBX?
 
Hello yes they are on premise.
Have tried that also.
Public ip for internet facing gateway is correctly displayed. Problem is that it sends that ip through the sip trunk which has its own public ip.
 
If i Well understand , while you 've done tests with new PBX , trunk was working fine, and since you've done a restore from old one no more, that's it?

Is your trunk a 3CX supported one? did you used 3CX template to create the SIP Trunk?

Is it a completly new trunk you set on new PBX or existing trunk coming from old PBX ?
 
Yes on the fresh installation everything was working fine.
Exactly the same setup from restore does not work.
Trunk template is supported (MTN Cyprus).
The trunk setup is completely new in both setups.
Problem is something is overriding the sip trunk configuration specially for Contact Host part and cannot figure out which config file or setting is overriding it.
 
Hi @akismpa

Do you have a second NIC on the 3CX server and you want to present a different public IP to the provider from the one the PBX has? Have tried restarting your SIP server service from the management console?
 
Thanks everyone for the help but turns out it was a misconfig that never occured to me.
After the import of the of the backup, some extensions including the test ones had a Outbound Caller ID set so probably the 3cx was trying to exit through the sip trunk that had a different caller id with the public ip because there was no match for the DID.
When I set the right Caller ID thinks went to normal.
 
  • Like
Reactions: AWS2P
Glad to see the issue has been resolved and thank you for updating the thread with your solution
 
  • Like
Reactions: akismpa
Status
Not open for further replies.

Forum statistics

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