comparison mgw/dlcx.c @ 95:f280328e7e2e

themwi-mgw: initial implementation of PSTN to GSM forwarding
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 25 Sep 2022 19:17:44 -0800
parents 020ba624bdd8
children f062c32a5116
comparison
equal deleted inserted replaced
94:2c22b40408fb 95:f280328e7e2e
81 np = ep->next; 81 np = ep->next;
82 if (ep->ep_type & TMGW_EP_HAS_GSM_SOCK) 82 if (ep->ep_type & TMGW_EP_HAS_GSM_SOCK)
83 free_rtp_end(&ep->rtp_gsm); 83 free_rtp_end(&ep->rtp_gsm);
84 if (ep->ep_type & TMGW_EP_HAS_PSTN_SOCK) 84 if (ep->ep_type & TMGW_EP_HAS_PSTN_SOCK)
85 free_rtp_end(&ep->rtp_pstn); 85 free_rtp_end(&ep->rtp_pstn);
86 if (ep->gsm_encoder_state)
87 free(ep->gsm_encoder_state);
88 if (ep->gsm_decoder_state)
89 free(ep->gsm_decoder_state);
86 free(ep); 90 free(ep);
87 } 91 }
88 delq = 0; 92 delq = 0;
89 } 93 }