Index: asterisk/pbx.c =================================================================== RCS file: /usr/cvsroot/asterisk/pbx.c,v retrieving revision 1.27 diff -u -r1.27 pbx.c --- asterisk/pbx.c 24 Jun 2003 22:25:01 -0000 1.27 +++ asterisk/pbx.c 1 Jul 2003 14:25:25 -0000 @@ -2778,6 +2778,12 @@ int x; int s1, s2; int e1, e2; + + //[PHM 07/01/03] + //start disabling all times, fill the fields with 0's, as they may contain garbage + for(x=0;x<24;x++) + i->minmask[x]=0; + /* Star is all times */ if (!strlen(times) || !strcmp(times, "*")) { for (x=0;x<24;x++) @@ -4069,6 +4075,8 @@ /* Separate the Goto path */ strsep(&ts,"?"); + // [PHM 07/01/03] + // struct ast_include include contained garbage here, fixed by zeroing it on get_timerange build_timing(&include, s); if (include_valid(&include)) res = pbx_builtin_goto(chan, (void *)ts);