[Freeswitch-users] DUAL NIC

Tihomir Culjaga tculjaga at gmail.com
Wed May 23 10:28:13 UTC 2018


if you want FS to register to a provider you need to create a gateway.
On how to create a gateway read this:
https://freeswitch.org/confluence/display/FREESWITCH/Gateways+Configuration

if you want to dial/bridge via specific gateways from dialplan you use  <
action application="bridge" data="sofia/gateway/LocalTelco/$1"/>
On how to setup your dialplan read this:
https://freeswitch.org/confluence/display/FREESWITCH/XML+Dialplan

On 23 May 2018 at 11:20, Markus Hammerer <Markus.Hammerer at infotech.at>
wrote:

> Hi Steven,
>
>
>
> Thank you
>
> The service is now running under
>
> [root at VOFAX02 sip_profiles]# netstat -nlp | fgrep 5060
>
> tcp        0      0 10.230.11.189:5060      0.0.0.0:*
> LISTEN      20387/freeswitch
>
> udp        0      0 10.230.11.189:5060      0.0.0.0:*
> 20387/freeswitch
>
>
>
> now i have the issue that it sends no register
>
> i have edited under sip_profiles/external/infotech.xml
>
> here are the username and Password from the ISP inlcuded
>
> but how can i tell this freeswitch?
>
>
>
> Thanks
>
>
>
> Markus
>
>
>
> *Von:* FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org> *Im
> Auftrag von *Steven Ayre
> *Gesendet:* Mittwoch, 23. Mai 2018 10:03
>
> *An:* FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> *Betreff:* Re: [Freeswitch-users] DUAL NIC
>
>
>
> You need to set sip-ip and rtp-ip to tell it which interface to bind to.
> Since they have to be set to a single IP you'll need at least one sofia
> profile for each interface IP you want to listen on.
>
>
>
> Sometimes you'll also need to set ext-sip-ip and ext-rtp-ip which control
> what IPs are sent in the SIP headers and SDP, often as part of handling NAT.
>
>
>
>
>
>
>
> On 23 May 2018 at 06:15, Markus Hammerer <Markus.Hammerer at infotech.at>
> wrote:
>
> Hi, thanks for your answer,
>
>
>
> Does i do this in the file: internal.xml ?
>
> In the line:
>
> <param name="ext-sip-ip" value="auto-nat"/>
>
>
>
> To change the param from auto-nat to the ip adress?
>
>
>
> Thanks
>
> Markus
>
>
>
> *Von:* FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org> *Im
> Auftrag von *Giovanni Maruzzelli
> *Gesendet:* Dienstag, 22. Mai 2018 19:56
> *An:* FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> *Betreff:* Re: [Freeswitch-users] DUAL NIC
>
>
>
> Youmust assign the address explicitly (eg, the number) in your sip profile.
>
>
>
> Or, you can edit vars.xml to change which ethernet card use to get the
> address that is the assigned
>
>
>
> On Tue, May 22, 2018, 19:24 Markus Hammerer <Markus.Hammerer at infotech.at>
> wrote:
>
> Helo
>
>
>
> I have a Server with two nics
>
> And the freeswitch works with the wrong nic
>
> How can i configure this with the other NIC?
>
> Where i can do this?
>
> Thanks
>
>
>
> Markus
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.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
> http://www.freeswitch.org
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.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
> http://www.freeswitch.org
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.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
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180523/b91ab1ba/attachment-0001.html>


More information about the FreeSWITCH-users mailing list