Skip to content

Commit

Permalink
add logging
Browse files Browse the repository at this point in the history
  • Loading branch information
davehorton committed Feb 5, 2024
1 parent f7a83e9 commit a706ce8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1115,6 +1115,9 @@ namespace drachtio {
if (!m_bRejectRegisterWithNoRealm) {
m_bRejectRegisterWithNoRealm = m_Config->rejectRegisterWithNoRealm();
}
if (m_bRejectRegisterWithNoRealm) {
DR_LOG(log_notice) << "DrachtioController::run: rejecting REGISTER requests with no realm in the SIP URI" ;
}

// tls files
string tlsKeyFile, tlsCertFile, tlsChainFile, dhParam ;
Expand Down

0 comments on commit a706ce8

Please sign in to comment.