Dual Ethernet Interfaces - Multi tenant

Status
Not open for further replies.

Vincent

New Member
Apr 24, 2017
3
0
1
33
Good Day,

I have a server configured with 2 interfaces.

Interface 1 (WAN) with IP 154.126.201.1
Interface 2 to (LAN) with IP 172.16.25.1

I can register devices to the WAN IP but NOT to the LAN IP.

I think it may have something to do with the SIP Profiles.

freeswitch@fusionpbx3> sofia status profile external
=================================================================================================
Name external
Domain Name N/A
Auto-NAT false
DBName sofia_reg_external
Pres Hosts
Dialplan XML
Context public
Challenge Realm auto_to
RTP-IP 154.126.201.1
Ext-RTP-IP 154.126.201.1
SIP-IP 154.126.201.1
Ext-SIP-IP 154.126.201.1
URL sip:mod_sofia@154.126.201.1:5080
BIND-URL sip:mod_sofia@154.126.201.1:5080;maddr=154.126.201.1;transport=udp,tcp
HOLD-MUSIC local_stream://default
OUTBOUND-PROXY N/A
CODECS IN G729,G7221@32000h,G7221@16000h,G722,PCMU,PCMA,GSM
CODECS OUT G729,PCMU,PCMA,GSM
TEL-EVENT 101
DTMF-MODE rfc2833
CNG 13
SESSION-TO 0
MAX-DIALOG 0
NOMEDIA false
LATE-NEG false
PROXY-MEDIA false
ZRTP-PASSTHRU false
AGGRESSIVENAT false
CALLS-IN 0
FAILED-CALLS-IN 0
CALLS-OUT 0
FAILED-CALLS-OUT 0
REGISTRATIONS 0

freeswitch@fusionpbx3> sofia status profile internal
=================================================================================================
Name internal
Domain Name N/A
Auto-NAT false
DBName sofia_reg_external
Pres Hosts
Dialplan XML
Context public
Challenge Realm auto_to
RTP-IP 154.126.201.1
Ext-RTP-IP 154.126.201.1
SIP-IP 154.126.201.1
Ext-SIP-IP 154.126.201.1
URL sip:mod_sofia@154.126.201.1:5080
BIND-URL sip:mod_sofia@154.126.201.1:5080;maddr=154.126.201.1;transport=udp,tcp
HOLD-MUSIC local_stream://default
OUTBOUND-PROXY N/A
CODECS IN G729,G7221@32000h,G7221@16000h,G722,PCMU,PCMA,GSM
CODECS OUT G729,PCMU,PCMA,GSM
TEL-EVENT 101
DTMF-MODE rfc2833
CNG 13
SESSION-TO 0
MAX-DIALOG 0
NOMEDIA false
LATE-NEG false
PROXY-MEDIA false
ZRTP-PASSTHRU false
AGGRESSIVENAT false
CALLS-IN 0
FAILED-CALLS-IN 0
CALLS-OUT 0
FAILED-CALLS-OUT 0
REGISTRATIONS 0


I have tried changing the files using vim editor however the internal IP will never change.

How to I get this to work?

My goal is to get External client registrations (working) and Internal client registrations (not working)


 

yukon

Member
Oct 3, 2016
138
14
18
I believe you need to go to ADVANCED -> Sip profiles -> internal and change the RTP-IP and SIP-IP.
 

Vincent

New Member
Apr 24, 2017
3
0
1
33
Correct, So i have done that, I have even edited the vars.xml file. edited SIP profiles. the internal profile always displays the external profile IP. So i need to find out how to change that? is there a gateway setting?
 

yukon

Member
Oct 3, 2016
138
14
18
Why are you editing vars.xml? that should be done via the web interface. Also you are showing both internal and external running on port 5080
 
Status
Not open for further replies.