Event History Setup: #287

Expand Event History for EDACS to Include More Call Information; Misc Tweaks regarding;

Add watchdog and wav file closure to EOT_CC when returning from EDACS Analog or Digital Calls;

Fix local event_string size in watchdog_event_current;

Add watchdog to cleanupAndExit to catch any calls in progress when closing and push them out to event_history log;
This commit is contained in:
lwvmobile
2025-05-09 02:20:09 -04:00
parent 7a198e62f9
commit 13739b18aa
3 changed files with 81 additions and 28 deletions

View File

@@ -1723,9 +1723,21 @@
codec2_destroy(state->codec2_1600);
codec2_destroy(state->codec2_3200);
#endif
//watchdog event at this point
watchdog_event_history(opts, state, 0);
watchdog_event_current(opts, state, 0);
watchdog_event_history(opts, state, 1);
watchdog_event_current(opts, state, 1);
noCarrier (opts, state);
//watchdog event at this point
watchdog_event_history(opts, state, 0);
watchdog_event_current(opts, state, 0);
watchdog_event_history(opts, state, 1);
watchdog_event_current(opts, state, 1);
if (opts->wav_out_f != NULL)
opts->wav_out_f = close_and_rename_wav_file(opts->wav_out_f, opts->wav_out_file, opts->wav_out_dir, &state->event_history_s[0]);
if (opts->wav_out_fR != NULL)