[asterisk-commits] pabelanger: branch 1.4 r275241 - /branches/1.4/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jul 9 14:20:08 CDT 2010


Author: pabelanger
Date: Fri Jul  9 14:20:00 2010
New Revision: 275241

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=275241
Log:
Fix logging message for stale nonce.

(closes issue #17582)
Reported by: kenner
Patches:
      chan_sip.c.diff uploaded by kenner (license 1040)
Tested by: lmadsen

Modified:
    branches/1.4/channels/chan_sip.c

Modified: branches/1.4/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/channels/chan_sip.c?view=diff&rev=275241&r1=275240&r2=275241
==============================================================================
--- branches/1.4/channels/chan_sip.c (original)
+++ branches/1.4/channels/chan_sip.c Fri Jul  9 14:20:00 2010
@@ -9096,7 +9096,7 @@
 	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);




More information about the asterisk-commits mailing list