diff --git a/src/sip/sipaccount.cpp b/src/sip/sipaccount.cpp index 7f2a986bd27b1f78adc12b28f04400e0cdbe7041..1cd4549fd3583ca5a5fff42083fbaea0f5d5df50 100644 --- a/src/sip/sipaccount.cpp +++ b/src/sip/sipaccount.cpp @@ -899,12 +899,13 @@ SIPAccount::onRegister(pjsip_regc_cbparam* param) return; if (param->status != PJ_SUCCESS) { - JAMI_ERROR("SIP registration error {:d}", param->status); + JAMI_ERROR("[Account {}] SIP registration error {:d}", + accountID_, param->status); destroyRegistrationInfo(); setRegistrationState(RegistrationState::ERROR_GENERIC, param->code); } else if (param->code < 0 || param->code >= 300) { - JAMI_ERR("SIP registration failed, status={:d} ({:s})", - param->code, + JAMI_ERROR("[Account {}] SIP registration failed, status={:d} ({:s})", + accountID_, param->code, sip_utils::as_view(param->reason)); destroyRegistrationInfo(); switch (param->code) {