FS-5772 improve odds a little more but the phone is broken here

This commit is contained in:
Anthony Minessale committed 2013-09-11 02:55:31 +05:00
1 parent 38cd508a12
commit ce4cfc97c4
3 files changed
+7 -3

No files matched your search

+5 -1
View File
@@ -740,7 +740,11 @@ SWITCH_DECLARE(void) switch_channel_perform_presence(switch_channel_t *channel,
if (channel->direction == SWITCH_CALL_DIRECTION_OUTBOUND) {
call_info_state = "progressing";
} else {
call_info_state = "alerting";
if (switch_channel_test_flag(channel, CF_SLA_INTERCEPT)) {
call_info_state = "idle";
} else {
call_info_state = "alerting";
}
}
}