On 23.05.11 10:36, Juha Heinanen wrote:
Raphael Coeffic writes:

Sorry Juha, we had to come up with something coherent for multiple
interfaces as well.
sure, no problem.  in your two interface example, both were used both
for signaling and media.  if sems is behind sip proxy for signaling
(which i common use case), there is no need to use internal interface
for media and no need to use external interface for signaling.

following your configuration style,  "null" would need to be a valid
value for sip_ip and media_ip:

default interface:
sip_ip = null
media_ip = eth0

intern interface:
sip_ip = lo
media_ip = null

I was suspecting that you had such a use-case. However, it would not work this way, as SEMS must have a valid sip_ip & media_ip for each interface. Those interfaces are more to be seen as logical entities, rather than real network interfaces. When a message is received through 'lo', we have to be able to know that we should use 'eth0' for selecting the media address (unfortunately, even if no media processing or relaying is involved). This means that 'null' is not really an option.

The case you are describing is best configured like that (without the use of additional interfaces):

sip_ip = lo
media_ip = eth0

This is in fact only one configuration line more compared to the previous situation.

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

Reply via email to