FreeCalypso > hg > themwi-system-sw
comparison include/tmgw_const.h @ 30:496f359226ab
include: constant and interface headers for themwi-mgw
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 06 Jul 2022 22:26:09 -0800 |
parents | |
children | f280328e7e2e |
comparison
equal
deleted
inserted
replaced
29:dffcae9bc8a3 | 30:496f359226ab |
---|---|
1 /* | |
2 * This header file defines some constants for themwi-mgw, | |
3 * used in the implementation, in the control interface and | |
4 * throughout the architecture. | |
5 */ | |
6 | |
7 #define TMGW_EP_TYPE_DUMMY_GSM 1 | |
8 #define TMGW_EP_TYPE_DUMMY_PSTN 2 | |
9 #define TMGW_EP_TYPE_GATEWAY 3 | |
10 | |
11 #define TMGW_EP_HAS_GSM_SOCK 1 | |
12 #define TMGW_EP_HAS_PSTN_SOCK 2 | |
13 | |
14 #define TMGW_FWD_MODE_INACTIVE 0 | |
15 #define TMGW_FWD_MODE_RECVONLY 1 | |
16 #define TMGW_FWD_MODE_SENDONLY 2 | |
17 #define TMGW_FWD_MODE_SENDRECV 3 | |
18 | |
19 #define GSM_TCHF_FRAME 0x0300 | |
20 #define GSM_TCHF_FRAME_EFR 0x0301 | |
21 #define GSM_TCHH_FRAME 0x0302 | |
22 #define GSM_TCH_FRAME_AMR 0x0303 | |
23 | |
24 #define PSTN_CODEC_PCMU 0 | |
25 #define PSTN_CODEC_PCMA 8 |