Unable to change Internal profile ip

Status
Not open for further replies.

Boe

New Member
Oct 10, 2017
2
0
1
124
I can change the external profile ip address....
But no matter what I do , I can't change the internal profiles IP address

external profile sip:mod_sofia@89.17.x.y:5080 RUNNING (0)
internal profile sip:mod_sofia@89.17.x.y:5060 RUNNING (0)

the internal should be on 192.168.30.25
This leads to dropped phone calls going out.

This is what I have tried to fiddle with
internal profile
sip_ip = $${local_ip_v4} and 192.168.30.25
rtp_ip = $${local_ip_v4} and 192.168.30.25
internal_sip_ip -//-
int_sip_ip -//-

system variables
local_ip_v4 = 192.168.30.25
domain = 192.168.30.25

and yes I restart, reset, reload, etc ...

What does freeswitch use to set this thing ?
 

Adrian Fretwell

Well-Known Member
Aug 13, 2017
1,415
376
83
local_ip_v4 is a global variable within Freeswitch. Freeswitch populates it at start up time with your machines IP address, I'm not sure what takes priority if you have more than one IP address but I think it is the address associated with eth0. In Freeswitch it can be overidded in vars.xml. /etc/freeswitch/vars.xml gets written to by FusionPBX so I would not recommend manual editing. Setting the sip_ip in the internal SIP profile to your required IP address rather than the global variable $$local_ip_v4 should do the trick. Not something I have ever tried BTW.
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,044
565
113
It may be as simple as doing a memcache flush BEFORE restarting profiles or freeswitch,

Also be aware, restarting freeswitch DOES NOT flush memcache, memcache survives a freeswitch restart.
 
Status
Not open for further replies.