diff --git a/addons/chan_ooh323.c b/addons/chan_ooh323.c index 1a9ab38908791507752f72c31514d8deb3e0ccdc..da63f03c5b51f8f6a9abe102e869bec8996d5158 100644 --- a/addons/chan_ooh323.c +++ b/addons/chan_ooh323.c @@ -2988,7 +2988,7 @@ int reload_config(int reload) 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)