Browse Source

Disable sip::IncomingConnectionValidator::validateUri

ajs124 4 years ago
parent
commit
5b1a71198d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      IncomingConnectionValidator.cpp

+ 1 - 0
IncomingConnectionValidator.cpp

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