diff mgw/struct.h @ 170:a6eb2de277f6

mgw: massive simplification for continuous RTP stream from BTS
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 20 Nov 2022 01:58:47 -0800
parents 8c28426abef0
children 0047c4c08d9e
line wrap: on
line diff
--- a/mgw/struct.h	Sat Nov 19 23:08:49 2022 -0800
+++ b/mgw/struct.h	Sun Nov 20 01:58:47 2022 -0800
@@ -39,15 +39,9 @@
 	uint16_t	g2p_out_seq;
 	int		g2p_drop_flag;
 	int		g2p_err_flags;
-	struct timeval	g2p_local_time;
 	/* DTMF generation toward PSTN */
+	int16_t		*dtmf_sample_ptr;
 	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;
-	int		dtmf_aftermath;
 	/* PSTN to GSM forwarding */
 	int		p2g_state;
 	uint32_t	p2g_ssrc;
@@ -59,8 +53,6 @@
 	/* linked list management */
 	unsigned	ep_id;
 	struct endpoint	*next;
-	struct endpoint	*dtmf_next;
-	struct endpoint	**dtmf_pp;
 };
 
 struct ctrl_conn {