Hi Juha,

On 22.05.11 12:26, Juha Heinanen wrote:
this explains why media_ip is wrong, when sip_ip has been set, but
media_ip is not:

   if(cfg.hasParameter("media_ip" + suffix)) {
     intf.LocalIP = cfg.getParameter("media_ip" + suffix);
   }
   else if(!intf.LocalSIPIP.empty()) {
     DBG("media_ip%s parameter is missing: using same as sip_ip%s",
        suffix.c_str(),suffix.c_str());
     intf.LocalIP = intf.LocalSIPIP;
   }

the two should have no relationship with each other.
yes, if we tried to make the comments in sems.conf true ;-)

However, it remembers me that the new multi-interface support (introduced in 1.4.0) made it necessary to somehow relate both. Else, we would have to set it up explicitly, as soon as multiple interfaces are used.

I realize that this changes the behavior compared with 1.2, but it should be still acceptable, isn't it?

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

Reply via email to