[Freeswitch-users] How to configure External Gateway with Multiple NICs

Vishal Kakkar vishal.kakkar at gmail.com
Wed Jul 10 17:12:17 UTC 2019


Hi all,

My freeswitch server has two NICs eth0 and eth1.
eth0 - Connected to internet for public/remote SIP Gateways
eth1 - Connected to ISP(non internet) SIP server directly.

Now to have all external gateways working together i need to specify which
sip-ip, rtp-ip to be used in each gateway. But i can see these settings can
be done only in external.xml

So if i specify IP of any eth0 or eth1, all external gateways (be public or
local ISP) registrations go using VIA tag of that very IP address, which is
causing failed registrations.

If i give eth0 IP then public SIP gateways work, but not local SIP SIP.
If i give eth1 IP then local ISP SIP gateway work, but not public/remote
gateways.

How can such situations be handled. Is there any way to specify via
header/sip,rtp-ip per gateway.

Thanks
Vishal.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190710/e4d8a3da/attachment-0001.html>


More information about the FreeSWITCH-users mailing list