Disable sip::IncomingConnectionValidator::validateUri

This commit is contained in:
ajs124 2018-08-25 18:20:30 +02:00 committed by Patrik Dahlström
parent 94ca0d9072
commit 5b1a71198d

View File

@ -18,6 +18,7 @@ sip::IncomingConnectionValidator::IncomingConnectionValidator(std::string validU
} }
bool sip::IncomingConnectionValidator::validateUri(std::string uri) { bool sip::IncomingConnectionValidator::validateUri(std::string uri) {
return true;
boost::regex addressRegex("[\"\\+\\w\\. ]*<?sip:([\\+\\w\\.]+@[\\w\\.]+)>?"); boost::regex addressRegex("[\"\\+\\w\\. ]*<?sip:([\\+\\w\\.]+@[\\w\\.]+)>?");
boost::smatch s; boost::smatch s;