Changing Freeswitch bind IP address

Status
Not open for further replies.

Kwekkel

New Member
Jan 10, 2019
9
1
3
44
Hi,

The idea was to install a new instance of Fusionpbx on a new server and restore a database backup from the old server
and then swap ip adddresses in both server interface configuration.
Old server ip 192.168.1.233
New server ip 192.168.1.236

For some reason Freeswich still wants to bind to the old ip 192.168.1.233.

2021-06-18 12:20:31.951552 [ERR] sofia.c:3322 Error Creating SIP UA for profile: internal (sip:mod_sofia@ 192.168.1.233:5080;maddr= 192.168.1.233;transport=udp,tcp) ATTEMPT 2 (RETRY IN 5 SEC)
2021-06-18 12:20:36.951554 [ERR] sofia.c:3322 Error Creating SIP UA for profile: internal (sip:mod_sofia@ 192.168.1.233:5080;maddr= 192.168.1.233;transport=udp,tcp) ATTEMPT 3 (RETRY IN 5 SEC)
2021-06-18 12:20:36.951554 [ERR] sofia.c:3333 Error Creating SIP UA for profile: internal (sip:mod_sofia@ 192.168.1.233:5080;maddr= 192.168.1.233;transport=udp,tcp)
The likely causes for this are:
1) Another application is already listening on the specified address.
2) The IP the profile is attempting to bind to is not local to this system.

The new IP seems to be populated to Freeswitch.
freeswitch@fusionpbx> eval $${local_ip_v4}
192.168.1.236
freeswitch@fusionpbx> eval $${external_sip_ip}
192.168.1.236
freeswitch@fusionpbx> eval $${external_rtp_ip}
192.168.1.236

I did some searching and read that other users also had this problem but I still did not manage to get it working.

Any ideas?

Thanks.
 
I too am curious about this, it appears spamhaus have blacklisted a whole subnet with my vps provider, meaning email notifications won't work. I'm not relishing the idea of rebuilding and going through my settings.

A decent write up on all of this would be appreciated by many I'm sure.

A migration application would be a nice addition added to the to do list.

To the OP, you have changed /etc/hosts etc?

Thanks Steve
 

Kwekkel

New Member
Jan 10, 2019
9
1
3
44
Hi Steve,

Yes, changed /etc/hots. Finally I decided to just start with a new setup. Our implementation is not that big so copying over the data "manually" was doable.

Regards.
 
Status
Not open for further replies.