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.

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

Reply via email to