forgot some code
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8933 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
01a8724312
commit
0606f993fd
|
@ -56,6 +56,12 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_sleep(switch_core_session_t *session,
|
|||
break;
|
||||
}
|
||||
|
||||
if (switch_channel_test_flag(channel, CF_BREAK)) {
|
||||
switch_channel_clear_flag(channel, CF_BREAK);
|
||||
status = SWITCH_STATUS_BREAK;
|
||||
break;
|
||||
}
|
||||
|
||||
if (now > done || left <= 0) {
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue