Contact Host Part IP address with Failover

Status
Not open for further replies.

Twigglett

Free User
Advanced Certified
Joined
May 29, 2019
Messages
6
Reaction score
1
Hey All,

I am attempting to setup a Telstra Enterprise SIP trunk on a server with failover and I am having trouble due to having to set an IP address in the contact field.
Basically the same as listed here.
https://www.3cx.com/community/threa...ip-trunk-wrong-contact-host-ip-address.62551/

I can get the primary 3CX server connected and working fine.
However the failover server also brings these IP settings during the scheduled restore.
The trunk is able to register on the failover server but has the internal IP address of the primary server in the contact field, I can manually change this setting but it will be overwritten when the next restore happens.

The 3CX server only has a single NIC and all routing is being done by the network equipment at the sites and it is working but is not what 3CX have as a supported network configuration as listed here:
https://www.3cx.com/blog/docs/network-configurations-supported-3cx-phone-system/
I don't have control over the network topology but should be able to request changes if it's really needed.

If I set the IP address to use under the options menu to "Local IP Address (OS Default Route)" it puts the WAN address in the header, "Use Default Settings" does the same.
I am thinking if there is there a way to have the "Contact: Host Part" to maybe use a variable of %local_ip_address% for example.
Or am I thinking about this the wrong way.

Appreciate any input.
 
Hi @Twigglett

Just wondering since you have a single NIC, why are you not using the default setting and letting the PBX decide as opposed to forcing an IP?
 
Hi John,

The SIP service is not accessible over public internet and is running off it's own dedicated gateway as outlined here:
https://www.3cx.com/docs/telstra-australian-sip-trunk/#h.cruic5grut6o

When settings are left as default it puts the public IP address of WAN connection and inbound connections attempt to connect via this address.
I get not inbound audio and cannot receive calls as a result.
To get it working correctly I need to have the trunk register with the local 10.X.X.X address.

I am starting to dislike Telstra as a provider, everything is just more difficult when they get involved.
 
1581433006427.png


Whats the network range you are working with?
What do you have in the "Outbound Proxy" field?
 
Hi John,

The server is running on a 10.x.x.x network.
The Telstra SBC (which according to Telstra's documentation) is running on a 203.44.43.160/28 network.

1581465126164.png
 
I will PM you with some details and see there is something that can be done with this network setup.
 
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
111,935
Messages
589,823
Members
164,818
Latest member
Guriqbal Singh