提交 b5d53b63 authored 作者: Anthony Minessale's avatar Anthony Minessale

remove_debug

上级 30f7480c
...@@ -4920,7 +4920,6 @@ static void switch_channel_check_device_state(switch_channel_t *channel, switch_ ...@@ -4920,7 +4920,6 @@ static void switch_channel_check_device_state(switch_channel_t *channel, switch_
if (!drec->active_start) { if (!drec->active_start) {
drec->active_start = switch_micro_time_now(); drec->active_start = switch_micro_time_now();
drec->active_stop = 0; drec->active_stop = 0;
switch_log_printf(SWITCH_CHANNEL_CHANNEL_LOG(channel), SWITCH_LOG_CRIT, "SET START start:%ld stop:%ld\n", drec->active_start, drec->active_stop);
} }
break; break;
case SDS_HELD: case SDS_HELD:
...@@ -4935,7 +4934,6 @@ static void switch_channel_check_device_state(switch_channel_t *channel, switch_ ...@@ -4935,7 +4934,6 @@ static void switch_channel_check_device_state(switch_channel_t *channel, switch_
if (drec->active_start && drec->state != SDS_ACTIVE && drec->state != SDS_ACTIVE_MULTI) { if (drec->active_start && drec->state != SDS_ACTIVE && drec->state != SDS_ACTIVE_MULTI) {
drec->active_stop = switch_micro_time_now(); drec->active_stop = switch_micro_time_now();
switch_log_printf(SWITCH_CHANNEL_CHANNEL_LOG(channel), SWITCH_LOG_CRIT, "SET STOP start:%ld stop:%ld\n", drec->active_start, drec->active_stop);
} }
if (drec->ring_start && !drec->ring_stop && drec->state != SDS_RINGING) { if (drec->ring_start && !drec->ring_stop && drec->state != SDS_RINGING) {
...@@ -4997,7 +4995,6 @@ static void switch_channel_check_device_state(switch_channel_t *channel, switch_ ...@@ -4997,7 +4995,6 @@ static void switch_channel_check_device_state(switch_channel_t *channel, switch_
if (drec->state == SDS_ACTIVE || drec->state == SDS_ACTIVE_MULTI) { if (drec->state == SDS_ACTIVE || drec->state == SDS_ACTIVE_MULTI) {
drec->active_start = switch_micro_time_now(); drec->active_start = switch_micro_time_now();
} }
switch_log_printf(SWITCH_CHANNEL_CHANNEL_LOG(channel), SWITCH_LOG_CRIT, "SET START start:%ld stop:%ld\n", drec->active_start, drec->active_stop);
} }
if (drec->hold_stop) { if (drec->hold_stop) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论