Author: may
Date: Wed Oct 15 04:59:09 2014
New Revision: 425590

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

Modified:
    branches/13/   (props changed)
    branches/13/addons/chan_ooh323.c

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

Modified: branches/13/addons/chan_ooh323.c
URL: 
http://svnview.digium.com/svn/asterisk/branches/13/addons/chan_ooh323.c?view=diff&rev=425590&r1=425589&r2=425590
==============================================================================
--- branches/13/addons/chan_ooh323.c (original)
+++ branches/13/addons/chan_ooh323.c Wed Oct 15 04:59:09 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)


-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

svn-commits mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/svn-commits

Reply via email to