Register on 2 IP

Status
Not open for further replies.

farhaadn

New Member
Sep 20, 2020
24
0
1
Hi,
I have debian 10 and fusionpbx last version,
I have 2 network interface for debian
ens1 > 192.168.1.2
ens2 > 192.168.10.2

I install fusionpbx with the quick install, now I can see on "SIP Status" below row
internalProfilesip:mod_sofia@192.168.1.2:5060RUNNING (0)

on internal profile
sip-ip$${local_ip_v4}True

I want to be able to register on both IP or change that to 192.168.10.2
what can I do?
 

Adrian Fretwell

Well-Known Member
Aug 13, 2017
1,417
376
83
In the SIP profile you can change the reference to the local_ip_v4 variable and put in the actual IP address that you want to use.

If you want to listen on both IPs internally, then create another internal SIP profile (e.g. internal-2) and set the other IP in this profile.
 
  • Like
Reactions: farhaadn

farhaadn

New Member
Sep 20, 2020
24
0
1
In the SIP profile you can change the reference to the local_ip_v4 variable and put in the actual IP address that you want to use.

If you want to listen on both IPs internally, then create another internal SIP profile (e.g. internal-2) and set the other IP in this profile.
I create new row in "SIP Profile"
local_ip_v4192.168.10.2True

and then restart the server
but nothing changed
any idea?
am I do right?
 

Adrian Fretwell

Well-Known Member
Aug 13, 2017
1,417
376
83
No, forget local_ip_v4 just set:
sip-ip to 192.168.10.2
rtp-ip to 192.168.10.2

You only need to edit your SIP profiles(s), leave variables alone.

Perhaps you misunderstood my first reply, when I said "In the SIP profile you can change the reference to the local_ip_v4 variable and put in the actual IP address that you want to use." what I meant was change:
sip-ip = $$(local_ip_v4) to sip-ip = 192.168.10.2. Do the same for rtp-ip also.
 
  • Like
Reactions: farhaadn

farhaadn

New Member
Sep 20, 2020
24
0
1
No, forget local_ip_v4 just set:
sip-ip to 192.168.10.2
rtp-ip to 192.168.10.2

You only need to edit your SIP profiles(s), leave variables alone.

Perhaps you misunderstood my first reply, when I said "In the SIP profile you can change the reference to the local_ip_v4 variable and put in the actual IP address that you want to use." what I meant was change:
sip-ip = $$(local_ip_v4) to sip-ip = 192.168.10.2. Do the same for rtp-ip also.
oh ok,
but another parameter use local_ip_v4 variable in "sip profile" and its "presence-hosts $${domain},$${local_ip_v4}"
change that too?
I afraid missed something in the configuration that it uses local_ip_v4
there is no way to change that variable? so all of them will be change perfectly
 
Status
Not open for further replies.