comparison include/tmgw_const.h @ 182:f4ed6042e16c

include/tmgw_const.h: expanded architectural point of view
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 11 Mar 2023 21:44:40 -0800
parents f280328e7e2e
children
comparison
equal deleted inserted replaced
181:9ebd89257ae1 182:f4ed6042e16c
1 /* 1 /*
2 * This header file defines some constants for themwi-mgw, 2 * This header file defines some constants for themwi-mgw,
3 * used in the implementation, in the control interface and 3 * used in the implementation, in the control interface and
4 * throughout the architecture. 4 * throughout the architecture.
5 *
6 * Some of these constants (specifically those dealing with
7 * RTP endpoint types) are now also used in themwi-rtp-mgr
8 * and other RTP-touching tools beyond the original themwi-mgw
9 * design.
5 */ 10 */
6 11
7 #define TMGW_EP_TYPE_DUMMY_GSM 1 12 #define TMGW_EP_TYPE_GSM_ONLY 1
8 #define TMGW_EP_TYPE_DUMMY_PSTN 2 13 #define TMGW_EP_TYPE_PSTN_ONLY 2
9 #define TMGW_EP_TYPE_GATEWAY 3 14 #define TMGW_EP_TYPE_GATEWAY 3
15
16 /* backward compatibility, from themwi-mgw perspective */
17 #define TMGW_EP_TYPE_DUMMY_GSM TMGW_EP_TYPE_GSM_ONLY
18 #define TMGW_EP_TYPE_DUMMY_PSTN TMGW_EP_TYPE_PSTN_ONLY
10 19
11 #define TMGW_EP_HAS_GSM_SOCK 1 20 #define TMGW_EP_HAS_GSM_SOCK 1
12 #define TMGW_EP_HAS_PSTN_SOCK 2 21 #define TMGW_EP_HAS_PSTN_SOCK 2
13 22
14 #define TMGW_FWD_MODE_INACTIVE 0 23 #define TMGW_FWD_MODE_INACTIVE 0