git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3213
d0543943-73ff-0310-b7d9-
9358b9ac24b2
if ((time(NULL) - start) > (time_t)timelimit_sec) {
to++;
- break;
+ idx = IDX_CANCEL;
+ goto notready;
}
switch_yield(1000);
}
check_channel_status(peer_channels, peer_sessions, and_argc, &idx, file, key)) {
if ((to = (uint8_t)((time(NULL) - start) >= (time_t)timelimit_sec))) {
- break;
+ idx = IDX_CANCEL;
+ goto notready;
}
if (session && or_argc == 1 && and_argc == 1) { /* when there is only 1 channel to call and bridge */