[asterisk-commits] file: trunk r197697 - /trunk/channels/chan_iax2.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu May 28 13:45:14 CDT 2009


Author: file
Date: Thu May 28 13:45:11 2009
New Revision: 197697

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=197697
Log:
Fix a bug where the trunkmtu setting was not set to the default value of 1240 on load but was on reload.

Modified:
    trunk/channels/chan_iax2.c

Modified: trunk/channels/chan_iax2.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/channels/chan_iax2.c?view=diff&rev=197697&r1=197696&r2=197697
==============================================================================
--- trunk/channels/chan_iax2.c (original)
+++ trunk/channels/chan_iax2.c Thu May 28 13:45:11 2009
@@ -11413,7 +11413,6 @@
 	strcpy(language, "");
 	strcpy(mohinterpret, "default");
 	strcpy(mohsuggest, "");
-	global_max_trunk_mtu = MAX_TRUNK_MTU;
 	trunkmaxsize = MAX_TRUNKDATA;
 	amaflags = 0;
 	delayreject = 0;
@@ -11490,6 +11489,7 @@
 
 	min_reg_expire = IAX_DEFAULT_REG_EXPIRE;
 	max_reg_expire = IAX_DEFAULT_REG_EXPIRE;
+	global_max_trunk_mtu = MAX_TRUNK_MTU;
 
 	maxauthreq = 3;
 




More information about the asterisk-commits mailing list