add last callback run stamp to device records

This commit is contained in:
Anthony Minessale committed 2013-06-06 13:09:13 -05:00
1 parent 75fab9b0f2
commit 860ed3f9a6
2 files changed
+3

No files matched your search

+2
View File
@@ -4810,6 +4810,8 @@ static void switch_channel_check_device_state(switch_channel_t *channel, switch_
}
}
drec->last_call_time = switch_micro_time_now();
drec->last_state = drec->state;
switch_mutex_unlock(drec->mutex);