o Jeremy A [07/27/09 09:53]:
Stefan Sayer wrote:
it's the first one (both 1.1 and trunk):
http://ftp.iptel.org/pub/sems/doc/current/sems.conf.sample.html

############################################################
# Network configuration

# optional parameter: media_ip=<ip_address>|<device>
#
# - this informs SEMS about the IP address or interface that
#   SEMS uses to send and receive media.  If not set, defaults
#   to first non-loopback interface.
#
# Examples:
#  media_ip=10.0.0.34
#  media_ip=eth0


Thanks, I just kept updating my legacy sems.conf so missed the new (?)
well, new ...

$ svn blame etc/sems.conf.sample |grep media_ip
  1229      sayer # optional parameter: media_ip=<ip_address>|<device>
  1229      sayer #  media_ip=10.0.0.34
  1229      sayer #  media_ip=eth0
$ svn log etc/sems.conf.sample |grep 1229
r1229 | sayer | 2009-01-20 15:23:53 +0100 (Tue, 20 Jan 2009) | 1 line

parameter.

A supplementary question is how this works in dual homed machines? I
guess that it would be very helpful if the advertised media IP matched
the interface it was being used on?
the advertised IP used is the configured "public_ip", and if this is not set, then the "media_ip" is used. the interface used is always the "media_ip". Some days ago Andreas posted a patch for media server behind static NAT, and advertised SIP/media IP to be configured separately. See the email with subject "public_ip has no effect".


I have a dual homed machine - but that is also a gateway, so  the public
IP media address advertised internally still routes to the server. If
the server is not the gateway then special routing may be necessary?
hm, I don't know if I get you right, but if your media server is on a private network, then you definitely need special routing; if you have e.g. static NAT, then the advertised IP address needs to match the publicly visible one.

Stefan



Jeremy

_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems

--
Stefan Sayer
VoIP Services

[email protected]
www.iptego.com

IPTEGO GmbH
Wittenbergplatz 1
10789 Berlin
Germany

Amtsgericht Charlottenburg, HRB 101010
Geschaeftsfuehrer: Alexander Hoffmann
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems

Reply via email to