[asterisk-commits] russell: branch russell/messaging r299191 - /team/russell/messaging/channels/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Dec 20 20:39:15 UTC 2010
Author: russell
Date: Mon Dec 20 14:39:11 2010
New Revision: 299191
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=299191
Log:
Return once we determine that the max retries on auth has been reached.
Modified:
team/russell/messaging/channels/chan_sip.c
Modified: team/russell/messaging/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/russell/messaging/channels/chan_sip.c?view=diff&rev=299191&r1=299190&r2=299191
==============================================================================
--- team/russell/messaging/channels/chan_sip.c (original)
+++ team/russell/messaging/channels/chan_sip.c Mon Dec 20 14:39:11 2010
@@ -22856,6 +22856,7 @@
if ((p->authtries == MAX_AUTHTRIES)) {
ast_log(LOG_NOTICE, "Failed to authenticate on MESSAGE to '%s'\n", get_header(&p->initreq, "From"));
pvt_set_needdestroy(p, "MESSAGE authentication failed");
+ return;
}
p->authtries++;
More information about the asterisk-commits
mailing list