[asterisk-commits] may: trunk r425591 - in /trunk: ./ addons/chan_ooh323.c

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


Author: may
Date: Wed Oct 15 05:03:05 2014
New Revision: 425591

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=425591
Log:
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
........

Merged revisions 425547 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 425548 from http://svn.asterisk.org/svn/asterisk/branches/11
........

Merged revisions 425589 from http://svn.asterisk.org/svn/asterisk/branches/12
........

Merged revisions 425590 from http://svn.asterisk.org/svn/asterisk/branches/13

Modified:
    trunk/   (props changed)
    trunk/addons/chan_ooh323.c

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

Modified: trunk/addons/chan_ooh323.c
URL: http://svnview.digium.com/svn/asterisk/trunk/addons/chan_ooh323.c?view=diff&rev=425591&r1=425590&r2=425591
==============================================================================
--- trunk/addons/chan_ooh323.c (original)
+++ trunk/addons/chan_ooh323.c Wed Oct 15 05:03:05 2014
@@ -2988,7 +2988,7 @@
 			gNat = ast_true(v->value);
 		} 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