diff mgw/struct.h @ 150:529906fddcfa

mgw DTMF timing fix in the corner case of no speech arriving between the end of one DTMF and the start of next
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 11 Oct 2022 14:10:29 -0800
parents f062c32a5116
children 8c28426abef0
line wrap: on
line diff
--- a/mgw/struct.h	Tue Oct 11 13:48:39 2022 -0800
+++ b/mgw/struct.h	Tue Oct 11 14:10:29 2022 -0800
@@ -42,6 +42,7 @@
 	/* DTMF generation toward PSTN */
 	unsigned	dtmf_frames_sent;
 	uint32_t	dtmf_last_ts;
+	struct timeval	dtmf_last_time;
 	int16_t		*dtmf_sample_ptr;
 	int		dtmf_m_bit;
 	int		dtmf_stop_req;