[asterisk-commits] may: branch 1.8 r425547 - /branches/1.8/addons/chan_ooh323.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Oct 15 03:39:22 CDT 2014


Author: may
Date: Wed Oct 15 03:39:12 2014
New Revision: 425547

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=425547
Log:
: Resolve module reference leak caused by reserved sessions
chan_ooh323: fix rtptimeout general value checking

correct condition to check rtptimeout in [general] config section

ASTERISK-24393 #close
Reported by:  Dmitry Melekhov
Tested by:  Dmitry Melekhov
Patches:
  ASTERISK-24393.patch


Modified:
    branches/1.8/addons/chan_ooh323.c

Modified: branches/1.8/addons/chan_ooh323.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/addons/chan_ooh323.c?view=diff&rev=425547&r1=425546&r2=425547
==============================================================================
--- branches/1.8/addons/chan_ooh323.c (original)
+++ branches/1.8/addons/chan_ooh323.c Wed Oct 15 03:39:12 2014
@@ -2724,7 +2724,7 @@
                                                       gContext);
 		} else if (!strcasecmp(v->name, "rtptimeout")) {
 			gRTPTimeout = atoi(v->value);
-			if (gRTPTimeout <= 0)
+			if (gRTPTimeout < 0)
 				gRTPTimeout = 60;
 		} else if (!strcasecmp(v->name, "tos")) {
 			if (sscanf(v->value, "%30i", &format) == 1)




More information about the asterisk-commits mailing list