Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Bind to more than one ethernet interface


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
yehavi.bourvine at gma...
Guest





PostPosted: Wed Sep 23, 2009 11:19 pm    Post subject: [Freeswitch-users] Bind to more than one ethernet interface Reply with quote

Hello,
 
  I am trying to run FreeSwitch on a machine which has more than one interface, all of them should be used for SIP. The FreeSwitch binds only to the first one. I tried setting bind_server_ip to either "auto" or 0.0.0.0 but it doesn't help.
 
Any idea what to do?
 
                        Thanks! _Yehavi: 
Back to top
dujinfang at gmail.com
Guest





PostPosted: Wed Sep 23, 2009 11:57 pm    Post subject: [Freeswitch-users] Bind to more than one ethernet interface Reply with quote

sorry when I said "on profile" I want to say "one profile"

2009/9/24 Seven Du <dujinfang@gmail.com (dujinfang@gmail.com)>
Quote:
It not possible to use 0.0.0.0 for on profile. however, you can create more sip profiles for each of your interfaces. Search freeswitch-users archievs then you will find similar topics.

2009/9/24 Yehavi Bourvine <yehavi.bourvine@gmail.com (yehavi.bourvine@gmail.com)>
Quote:

Hello,
 
  I am trying to run FreeSwitch on a machine which has more than one interface, all of them should be used for SIP. The FreeSwitch binds only to the first one. I tried setting bind_server_ip to either "auto" or 0.0.0.0 but it doesn't help.
 
Any idea what to do?
 
                        Thanks! _Yehavi: 




_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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



Back to top
dujinfang at gmail.com
Guest





PostPosted: Wed Sep 23, 2009 11:59 pm    Post subject: [Freeswitch-users] Bind to more than one ethernet interface Reply with quote

It not possible to use 0.0.0.0 for on profile. however, you can create more sip profiles for each of your interfaces. Search freeswitch-users archievs then you will find similar topics.

2009/9/24 Yehavi Bourvine <yehavi.bourvine@gmail.com (yehavi.bourvine@gmail.com)>
Quote:
Hello,
 
  I am trying to run FreeSwitch on a machine which has more than one interface, all of them should be used for SIP. The FreeSwitch binds only to the first one. I tried setting bind_server_ip to either "auto" or 0.0.0.0 but it doesn't help.
 
Any idea what to do?
 
                        Thanks! _Yehavi: 


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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

Back to top
yehavi.bourvine at gma...
Guest





PostPosted: Thu Sep 24, 2009 12:15 am    Post subject: [Freeswitch-users] Bind to more than one ethernet interface Reply with quote

Thanks!
 
                __Yehavi:
 
2009/9/24 Seven Du <dujinfang@gmail.com (dujinfang@gmail.com)>
Quote:
It not possible to use 0.0.0.0 for on profile. however, you can create more sip profiles for each of your interfaces. Search freeswitch-users archievs then you will find similar topics.

2009/9/24 Yehavi Bourvine <yehavi.bourvine@gmail.com (yehavi.bourvine@gmail.com)>
Quote:

Hello,
 
  I am trying to run FreeSwitch on a machine which has more than one interface, all of them should be used for SIP. The FreeSwitch binds only to the first one. I tried setting bind_server_ip to either "auto" or 0.0.0.0 but it doesn't help.
 
Any idea what to do?
 
                        Thanks! _Yehavi: 




_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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





_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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

Back to top
gabe at gundy.org
Guest





PostPosted: Thu Sep 24, 2009 12:31 am    Post subject: [Freeswitch-users] Bind to more than one ethernet interface Reply with quote

On Wed, Sep 23, 2009 at 10:44 PM, Seven Du <dujinfang@gmail.com> wrote:
Quote:
It not possible to use 0.0.0.0 for on profile. however, you can create more
sip profiles for each of your interfaces. Search freeswitch-users archievs
then you will find similar topics.

It sure would be nice to be able to provide a list of IPs in one
profile. Seems like I run into that need often. Instead, I end up
making two profiles that are mostly the same.

Is there a reason why this is the way it is?

Regards,
Gabe

_______________________________________________
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
Back to top
aep.lists at it46.se
Guest





PostPosted: Thu Sep 24, 2009 4:33 am    Post subject: [Freeswitch-users] Bind to more than one ethernet interface Reply with quote

If I am correct you need to create a sip profile per interface and
hardcode/set the IP address of each interface correctly in the SIP RTP
fields of the profile.

Then you need to set carefully the correct NAT and auth options for each
profile

/aep


--
Stopping junk mailers is good for the environment

Quote:
Hello,

I am trying to run FreeSwitch on a machine which has more than one
interface, all of them should be used for SIP. The FreeSwitch binds only
to
the first one. I tried setting bind_server_ip to either "auto" or 0.0.0.0
but it doesn't help.

Any idea what to do?

Thanks! _Yehavi:
_______________________________________________
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




_______________________________________________
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
Back to top
msc at freeswitch.org
Guest





PostPosted: Thu Sep 24, 2009 12:58 pm    Post subject: [Freeswitch-users] Bind to more than one ethernet interface Reply with quote

On Wed, Sep 23, 2009 at 10:22 PM, Gabriel Gunderson <gabe@gundy.org (gabe@gundy.org)> wrote:
Quote:
On Wed, Sep 23, 2009 at 10:44 PM, Seven Du <dujinfang@gmail.com (dujinfang@gmail.com)> wrote:
Quote:
It not possible to use 0.0.0.0 for on profile. however, you can create more
sip profiles for each of your interfaces. Search freeswitch-users archievs
then you will find similar topics.


It sure would be nice to be able to provide a list of IPs in one
profile.  Seems like I run into that need often.  Instead, I end up
making two profiles that are mostly the same.

Is there a reason why this is the way it is?

A SIP profile is a user agent. By design it services exactly one IP/Port combo. If you are finding that you need to have multiple IP's or ports in a single SIP profile then that suggests to me that you might be trying to use the wrong tool for the job. What are the scenarios where you feel you need a single profile to handle multiple IP addresses? My guess is that bkw and the gang will have suggestions for an elegant solution that will fit your needs.

-MC
Back to top
anthony.minessale at g...
Guest





PostPosted: Thu Sep 24, 2009 1:51 pm    Post subject: [Freeswitch-users] Bind to more than one ethernet interface Reply with quote

if you bind the same profile to more than one ip, all your traffic would come in one ip and out another and cause tremendous confusion.
To see a working example of this problem see asterisk https://issues.asterisk.org/view.php?id=2358

(note bkw and mikej contribute to this bug)

Here is me reporting a similar issue in IAX (my only negative karma ever on that site)
https://issues.asterisk.org/view.php?id=7315

moral of the story is, it's unwise to bind multiple ip to a server interface that uses UDP signalling and the SIP spec requires
a UA to have one specific URL


On Thu, Sep 24, 2009 at 12:42 PM, Michael Collins <msc@freeswitch.org (msc@freeswitch.org)> wrote:
Quote:


On Wed, Sep 23, 2009 at 10:22 PM, Gabriel Gunderson <gabe@gundy.org (gabe@gundy.org)> wrote:
Quote:
On Wed, Sep 23, 2009 at 10:44 PM, Seven Du <dujinfang@gmail.com (dujinfang@gmail.com)> wrote:
Quote:
It not possible to use 0.0.0.0 for on profile. however, you can create more
sip profiles for each of your interfaces. Search freeswitch-users archievs
then you will find similar topics.


It sure would be nice to be able to provide a list of IPs in one
profile.  Seems like I run into that need often.  Instead, I end up
making two profiles that are mostly the same.

Is there a reason why this is the way it is?


A SIP profile is a user agent. By design it services exactly one IP/Port combo. If you are finding that you need to have multiple IP's or ports in a single SIP profile then that suggests to me that you might be trying to use the wrong tool for the job. What are the scenarios where you feel you need a single profile to handle multiple IP addresses? My guess is that bkw and the gang will have suggestions for an elegant solution that will fit your needs.

-MC




_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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




--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
gabe at gundy.org
Guest





PostPosted: Fri Sep 25, 2009 12:13 pm    Post subject: [Freeswitch-users] Bind to more than one ethernet interface Reply with quote

On Thu, Sep 24, 2009 at 12:29 PM, Anthony Minessale
<anthony.minessale@gmail.com> wrote:
Quote:
moral of the story is, it's unwise to bind multiple ip to a server interface
that uses UDP signalling and the SIP spec requires
a UA to have one specific URL

Yeah, I see that now. I wasn't thinking about it as carefully as I
should have been. Thanks for the clarification.

Best,
Gabe

_______________________________________________
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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services