allow network interface name for sip_ip* parameters.

sayer/1.4-spce2.6
Raphael Coeffic 15 years ago
parent 204d680cf8
commit e7740239da

@ -778,6 +778,9 @@ int AmConfig::finalizeIPConfig()
if (AmConfig::Ifs[i].LocalSIPIP.empty()) {
AmConfig::Ifs[i].LocalSIPIP = AmConfig::Ifs[i].LocalIP;
}
else {
AmConfig::Ifs[i].LocalSIPIP = getLocalIP(AmConfig::Ifs[i].LocalSIPIP);
}
AmConfig::LocalSIPIP2If.insert(std::make_pair(AmConfig::Ifs[i].LocalSIPIP,i));
}

@ -30,7 +30,7 @@
# media_ip=10.0.0.34
# media_ip=eth0
# optional parameter: sip_ip=<ip_address>
# optional parameter: sip_ip=<ip_address>|<device>
#
# - this informs SEMS about the SIP IP where its SIP stack is
# bound to or should be bound to. This also sets
@ -42,6 +42,7 @@
#
# Example:
# sip_ip=10.0.0.34
# sip_ip=en0
#
# optional parameter: public_ip=<ip_address>

Loading…
Cancel
Save