[asterisk-commits] kpfleming: trunk r37951 - in /trunk: ./ channels/chan_iax2.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Jul 19 10:16:26 MST 2006


Author: kpfleming
Date: Wed Jul 19 12:16:25 2006
New Revision: 37951

URL: http://svn.digium.com/view/asterisk?rev=37951&view=rev
Log:
Merged revisions 37949 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r37949 | kpfleming | 2006-07-19 12:10:10 -0500 (Wed, 19 Jul 2006) | 2 lines

ensure that global 'maxauthreq' is reset to zero during 'reload'

........

Modified:
    trunk/   (props changed)
    trunk/channels/chan_iax2.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.

Modified: trunk/channels/chan_iax2.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_iax2.c?rev=37951&r1=37950&r2=37951&view=diff
==============================================================================
--- trunk/channels/chan_iax2.c (original)
+++ trunk/channels/chan_iax2.c Wed Jul 19 12:16:25 2006
@@ -145,7 +145,7 @@
 static char language[MAX_LANGUAGE] = "";
 static char regcontext[AST_MAX_CONTEXT] = "";
 
-static int maxauthreq = 0;
+static int maxauthreq = 3;
 static int max_retries = 4;
 static int ping_time = 20;
 static int lagrq_time = 10;
@@ -8703,6 +8703,8 @@
 	min_reg_expire = IAX_DEFAULT_REG_EXPIRE;
 	max_reg_expire = IAX_DEFAULT_REG_EXPIRE;
 
+	maxauthreq = 3;
+
 	v = ast_variable_browse(cfg, "general");
 
 	/* Seed initial tos value */



More information about the asterisk-commits mailing list