Index: channels/chan_sip.c =================================================================== --- channels/chan_sip.c (revision 159472) +++ channels/chan_sip.c (working copy) @@ -14400,7 +14400,7 @@ ast_log(LOG_NOTICE, "Sending fake auth rejection for user %s\n", get_header(req, "From")); transmit_fake_auth_response(p, req, 1); } else { - ast_log(LOG_NOTICE, "Failed to authenticate user %s\n", get_header(req, "From")); + ast_log(LOG_NOTICE, "Failed to authenticate user %s, returned %d\n", get_header(req, "From"), res); transmit_response_reliable(p, "403 Forbidden", req); } p->invitestate = INV_COMPLETED;