update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9521 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
51024eee9b
commit
c487d17010
|
@ -1482,7 +1482,6 @@ SWITCH_DECLARE(switch_status_t) switch_channel_perform_pre_answer(switch_channel
|
|||
|
||||
if (status == SWITCH_STATUS_SUCCESS) {
|
||||
switch_channel_perform_mark_pre_answered(channel, file, func, line);
|
||||
status = switch_ivr_sleep(channel->session, 250, NULL);
|
||||
} else {
|
||||
switch_channel_hangup(channel, SWITCH_CAUSE_INCOMPATIBLE_DESTINATION);
|
||||
}
|
||||
|
@ -1599,7 +1598,6 @@ SWITCH_DECLARE(switch_status_t) switch_channel_perform_answer(switch_channel_t *
|
|||
|
||||
if (status == SWITCH_STATUS_SUCCESS) {
|
||||
switch_channel_perform_mark_answered(channel, file, func, line);
|
||||
status = switch_ivr_sleep(channel->session, 250, NULL);
|
||||
} else {
|
||||
switch_channel_hangup(channel, SWITCH_CAUSE_INCOMPATIBLE_DESTINATION);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue