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

2009-09-25 Thread Gabriel Gunderson
On Thu, Sep 24, 2009 at 12:29 PM, Anthony Minessale
anthony.miness...@gmail.com wrote:
 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


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

2009-09-24 Thread Alberto Escudero
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

 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


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

2009-09-24 Thread Michael Collins
On Wed, Sep 23, 2009 at 10:22 PM, Gabriel Gunderson g...@gundy.org wrote:

 On Wed, Sep 23, 2009 at 10:44 PM, Seven Du dujinf...@gmail.com wrote:
  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
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


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

2009-09-24 Thread Anthony Minessale
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 m...@freeswitch.orgwrote:



 On Wed, Sep 23, 2009 at 10:22 PM, Gabriel Gunderson g...@gundy.orgwrote:

 On Wed, Sep 23, 2009 at 10:44 PM, Seven Du dujinf...@gmail.com wrote:
  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
 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_miness...@hotmail.com msn%3aanthony_miness...@hotmail.com
GTALK/JABBER/PAYPAL:anthony.miness...@gmail.compaypal%3aanthony.miness...@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:8...@conference.freeswitch.org sip%3a...@conference.freeswitch.org
iax:gu...@conference.freeswitch.org/888
googletalk:conf+...@conference.freeswitch.orggoogletalk%3aconf%2b...@conference.freeswitch.org
pstn:213-799-1400
___
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] Bind to more than one ethernet interface

2009-09-23 Thread Yehavi Bourvine
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


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

2009-09-23 Thread Seven Du
sorry when I said on profile I want to say one profile

2009/9/24 Seven Du dujinf...@gmail.com

 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.bourv...@gmail.com

 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


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

2009-09-23 Thread Seven Du
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.bourv...@gmail.com

 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


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

2009-09-23 Thread Yehavi Bourvine
 Thanks!

__Yehavi:

2009/9/24 Seven Du dujinf...@gmail.com

 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.bourv...@gmail.com

   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


___
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


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

2009-09-23 Thread Gabriel Gunderson
On Wed, Sep 23, 2009 at 10:44 PM, Seven Du dujinf...@gmail.com wrote:
 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