diff --git a/conf/dialplan/default.xml b/conf/dialplan/default.xml index 4bc1676023..dfd0fd0fe6 100644 --- a/conf/dialplan/default.xml +++ b/conf/dialplan/default.xml @@ -29,7 +29,7 @@ week = 1-52 wday = 1-7 hour = 0-23 - minute = 1-60 + minute = 0-59 minute-of-day = 1-1440 Example: diff --git a/src/mod/dialplans/mod_dialplan_xml/mod_dialplan_xml.c b/src/mod/dialplans/mod_dialplan_xml/mod_dialplan_xml.c index c5c3bb4950..64dbecaa09 100644 --- a/src/mod/dialplans/mod_dialplan_xml/mod_dialplan_xml.c +++ b/src/mod/dialplans/mod_dialplan_xml/mod_dialplan_xml.c @@ -119,7 +119,7 @@ static int parse_exten(switch_core_session_t *session, switch_caller_profile_t * } if (time_match && xminute) { - time_match = switch_number_cmp(xminute, tm.tm_min + 1); + time_match = switch_number_cmp(xminute, tm.tm_min); } if (time_match && xminday) {