add args to sleep

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8930 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2008-07-08 17:27:02 +00:00
parent d53d96fd73
commit 32bbdb74a8
18 changed files with 294 additions and 16 deletions

View File

@@ -501,7 +501,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_menu_execute(switch_core_session_t *s
}
errs++;
if (status == SWITCH_STATUS_SUCCESS) {
status = switch_ivr_sleep(session, 1000);
status = switch_ivr_sleep(session, 1000, NULL);
}
/* breaks are ok too */
if (SWITCH_STATUS_IS_BREAK(status)) {