FreeCalypso > hg > themwi-system-sw
comparison mgw/dlcx.c @ 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 |
comparison
equal
deleted
inserted
replaced
169:648a64b2e16b | 170:a6eb2de277f6 |
---|---|
78 { | 78 { |
79 struct endpoint *ep, *np; | 79 struct endpoint *ep, *np; |
80 | 80 |
81 for (ep = delq; ep; ep = np) { | 81 for (ep = delq; ep; ep = np) { |
82 np = ep->next; | 82 np = ep->next; |
83 if (ep->dtmf_pp) | |
84 dtmf_stop_immediate(ep); | |
85 if (ep->ep_type & TMGW_EP_HAS_GSM_SOCK) | 83 if (ep->ep_type & TMGW_EP_HAS_GSM_SOCK) |
86 free_rtp_end(&ep->rtp_gsm); | 84 free_rtp_end(&ep->rtp_gsm); |
87 if (ep->ep_type & TMGW_EP_HAS_PSTN_SOCK) | 85 if (ep->ep_type & TMGW_EP_HAS_PSTN_SOCK) |
88 free_rtp_end(&ep->rtp_pstn); | 86 free_rtp_end(&ep->rtp_pstn); |
89 if (ep->gsm_encoder_state) | 87 if (ep->gsm_encoder_state) |