FreeCalypso > hg > themwi-system-sw
view include/tmgw_const.h @ 176:f5c4f9a764be
osmo-bts-rtp-bfi.patch: updated version
This version of the osmo-bts patch sets the TAF bit correctly
in generated RTP BFI packets, correctly generates RTP BFI in the
case of FACCH stealing on sysmoBTS, and removes one EFR-specific
bogon from sysmoBTS code.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 17 Feb 2023 18:27:03 -0800 |
parents | f280328e7e2e |
children | f4ed6042e16c |
line wrap: on
line source
/* * This header file defines some constants for themwi-mgw, * used in the implementation, in the control interface and * throughout the architecture. */ #define TMGW_EP_TYPE_DUMMY_GSM 1 #define TMGW_EP_TYPE_DUMMY_PSTN 2 #define TMGW_EP_TYPE_GATEWAY 3 #define TMGW_EP_HAS_GSM_SOCK 1 #define TMGW_EP_HAS_PSTN_SOCK 2 #define TMGW_FWD_MODE_INACTIVE 0 #define TMGW_FWD_MODE_RECVONLY 1 #define TMGW_FWD_MODE_SENDONLY 2 #define TMGW_FWD_MODE_SENDRECV 3 #define TMGW_FWD_ENABLE_PSTN2GSM 1 #define TMGW_FWD_ENABLE_GSM2PSTN 2 #define GSM_TCHF_FRAME 0x0300 #define GSM_TCHF_FRAME_EFR 0x0301 #define GSM_TCHH_FRAME 0x0302 #define GSM_TCH_FRAME_AMR 0x0303 #define PSTN_CODEC_PCMU 0 #define PSTN_CODEC_PCMA 8