diff --git a/daemon/src/ip_utils.cpp b/daemon/src/ip_utils.cpp index eba799165e1f9efe095cb875c01380857b585f4d..fde9b5547ae5df2dbced1d1a7c843ea396541024 100644 --- a/daemon/src/ip_utils.cpp +++ b/daemon/src/ip_utils.cpp @@ -143,7 +143,6 @@ ip_utils::getLocalAddr(pj_uint16_t family) pj_sockaddr ip_utils::getInterfaceAddr(const std::string &interface, pj_uint16_t family) { - ERROR("getInterfaceAddr: %s %d", interface.c_str(), family); if (interface == DEFAULT_INTERFACE) return getLocalAddr(family); diff --git a/daemon/src/sip/sipvoiplink.cpp b/daemon/src/sip/sipvoiplink.cpp index 1a3acd452caea67630d7273baf6c5d5c059fd406..cd6d094da2d868c257063fdfaaa49105bccd7fe4 100644 --- a/daemon/src/sip/sipvoiplink.cpp +++ b/daemon/src/sip/sipvoiplink.cpp @@ -489,7 +489,6 @@ pj_bool_t transaction_request_cb(pjsip_rx_data *rdata) } // contactStr must stay in scope as long as tdata - ERROR("transaction_request_cb getContactHeader"); const pj_str_t contactStr(account->getContactHeader()); sip_utils::addContactHeader(&contactStr, tdata); @@ -1061,7 +1060,6 @@ SIPVoIPLink::answer(Call *call) updateSDPFromSTUN(*sipCall, *account, *SIPVoIPLink::instance().sipTransport); } - ERROR("answer getContactHeader"); pj_str_t contact(account->getContactHeader()); sipCall->setContactHeader(&contact); sipCall->answer(); @@ -1125,7 +1123,6 @@ SIPVoIPLink::hangup(const std::string& id, int reason) return; // contactStr must stay in scope as long as tdata - ERROR("hangup getContactHeader"); const pj_str_t contactStr(account->getContactHeader()); sip_utils::addContactHeader(&contactStr, tdata); @@ -1655,7 +1652,9 @@ SIPVoIPLink::SIPStartCall(SIPCall *call) pj_str_t pjContact(account->getContactHeader()); - ERROR("SIPStartCall getContactHeader %s / %s -> %s", std::string(pj_strbuf(&pjContact), pj_strlen(&pjContact)).c_str(), from.c_str(), toUri.c_str()); + const std::string debugContactHeader(pj_strbuf(&pjContact), pj_strlen(&pjContact)); + DEBUG("contact header: %s / %s -> %s", + debugContactHeader.c_str(), from.c_str(), toUri.c_str()); pjsip_dialog *dialog = NULL; @@ -2474,8 +2473,6 @@ void setCallMediaLocal(SIPCall* call, const pj_sockaddr& localIP) if (!account) return; - ERROR("setCallMediaLocal %s", ip_utils::addrToStr(localIP).c_str()); - // Reference: http://www.cs.columbia.edu/~hgs/rtp/faq.html#ports // We only want to set ports to new values if they haven't been set if (call->getLocalAudioPort() == 0) {