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
You tell a sofia profile or what ever technology you're using to bind to the IP bound to that NIC. FreeSWITCH by default will NOT bind to INADDR_ANY. /b On Tue, May 22, 2018 at 12:16 AM, Markus Hammerer < Markus.Hammerer@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Brian West | Co-founder and Developer Need Commercial support? email sales@freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g> Email: brian@freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/> [image: https://www.facebook.com/signalwireinc?src=email] <https://www.facebook.com/freeswitch> [image: https://twitter.com/freeswitch] <https://twitter.com/freeswitch>
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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@lists.freeswitch.org> Im Auftrag von Giovanni Maruzzelli Gesendet: Dienstag, 22. Mai 2018 19:56 An: FreeSWITCH Users Help <freeswitch-users@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@infotech.at<mailto:Markus.Hammerer@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@freeswitch.org<mailto:consulting@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@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@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@lists.freeswitch.org> *Im Auftrag von *Giovanni Maruzzelli *Gesendet:* Dienstag, 22. Mai 2018 19:56 *An:* FreeSWITCH Users Help <freeswitch-users@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hi Steven, Thank you The service is now running under [root@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@lists.freeswitch.org> Im Auftrag von Steven Ayre Gesendet: Mittwoch, 23. Mai 2018 10:03 An: FreeSWITCH Users Help <freeswitch-users@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@infotech.at<mailto:Markus.Hammerer@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@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org>> Im Auftrag von Giovanni Maruzzelli Gesendet: Dienstag, 22. Mai 2018 19:56 An: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org<mailto:freeswitch-users@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@infotech.at<mailto:Markus.Hammerer@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@freeswitch.org<mailto:consulting@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@lists.freeswitch.org<mailto:FreeSWITCH-users@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@freeswitch.org<mailto:consulting@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@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@infotech.at> wrote:
Hi Steven,
Thank you
The service is now running under
[root@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@lists.freeswitch.org> *Im Auftrag von *Steven Ayre *Gesendet:* Mittwoch, 23. Mai 2018 10:03
*An:* FreeSWITCH Users Help <freeswitch-users@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@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@lists.freeswitch.org> *Im Auftrag von *Giovanni Maruzzelli *Gesendet:* Dienstag, 22. Mai 2018 19:56 *An:* FreeSWITCH Users Help <freeswitch-users@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@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hi The example i had edited but i seams there will be missing I want to use the freeswitch for the ICTFAX solution Here are not extensions (Users) behind the number There are seperate Numbers for every User So i have to add for every user one number And every number has to register on the ISP Does here someone use this constellation? I m looking for the default files for this one thanks Von: FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org> Im Auftrag von Tihomir Culjaga Gesendet: Mittwoch, 23. Mai 2018 12:28 An: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Betreff: Re: [Freeswitch-users] DUAL NIC 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@infotech.at<mailto:Markus.Hammerer@infotech.at>> wrote: Hi Steven, Thank you The service is now running under [root@VOFAX02 sip_profiles]# netstat -nlp | fgrep 5060 tcp 0 0 10.230.11.189:5060<http://10.230.11.189:5060> 0.0.0.0:* LISTEN 20387/freeswitch udp 0 0 10.230.11.189:5060<http://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@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org>> Im Auftrag von Steven Ayre Gesendet: Mittwoch, 23. Mai 2018 10:03 An: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org<mailto:freeswitch-users@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@infotech.at<mailto:Markus.Hammerer@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@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org>> Im Auftrag von Giovanni Maruzzelli Gesendet: Dienstag, 22. Mai 2018 19:56 An: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org<mailto:freeswitch-users@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@infotech.at<mailto:Markus.Hammerer@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@freeswitch.org<mailto:consulting@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@lists.freeswitch.org<mailto:FreeSWITCH-users@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@freeswitch.org<mailto:consulting@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@lists.freeswitch.org<mailto:FreeSWITCH-users@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@freeswitch.org<mailto:consulting@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@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (5)
-
Brian West
-
Giovanni Maruzzelli
-
Markus Hammerer
-
Steven Ayre
-
Tihomir Culjaga