diff options
-rw-r--r-- | channels/chan_sip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index a93dea2b8..2abec0b2b 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -12927,7 +12927,7 @@ static enum check_auth_result check_auth(struct sip_pvt *p, struct sip_request * if (wrongnonce) { if (good_response) { if (sipdebug) - ast_log(LOG_NOTICE, "Correct auth, but based on stale nonce received from '%s'\n", get_header(req, "To")); + ast_log(LOG_NOTICE, "Correct auth, but based on stale nonce received from '%s'\n", get_header(req, "From")); /* We got working auth token, based on stale nonce . */ set_nonce_randdata(p, 0); transmit_response_with_auth(p, response, req, p->randdata, reliable, respheader, TRUE); |