comparison 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
comparison
equal deleted inserted replaced
149:cfc249906145 150:529906fddcfa
40 int g2p_err_flags; 40 int g2p_err_flags;
41 struct timeval g2p_local_time; 41 struct timeval g2p_local_time;
42 /* DTMF generation toward PSTN */ 42 /* DTMF generation toward PSTN */
43 unsigned dtmf_frames_sent; 43 unsigned dtmf_frames_sent;
44 uint32_t dtmf_last_ts; 44 uint32_t dtmf_last_ts;
45 struct timeval dtmf_last_time;
45 int16_t *dtmf_sample_ptr; 46 int16_t *dtmf_sample_ptr;
46 int dtmf_m_bit; 47 int dtmf_m_bit;
47 int dtmf_stop_req; 48 int dtmf_stop_req;
48 int dtmf_aftermath; 49 int dtmf_aftermath;
49 /* PSTN to GSM forwarding */ 50 /* PSTN to GSM forwarding */