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

Mike Jerris mike at freeswitch.com
Mon Jul 22 21:14:39 UTC 2019


you would use a different sip profile for each

On Mon, Jul 22, 2019 at 3:03 PM Vishal Kakkar <vishal.kakkar at gmail.com>
wrote:

> 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.
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time
> https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190722/555ea14c/attachment.html>


More information about the FreeSWITCH-users mailing list