annotate include/tmgw_const.h @ 63:e5aee661e3b2

sip-in: beginning to handle incoming MNCC messages from themwi-mncc
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 18 Sep 2022 15:01:11 -0800
parents 496f359226ab
children f280328e7e2e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
30
496f359226ab include: constant and interface headers for themwi-mgw
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 /*
496f359226ab include: constant and interface headers for themwi-mgw
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 * This header file defines some constants for themwi-mgw,
496f359226ab include: constant and interface headers for themwi-mgw
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 * used in the implementation, in the control interface and
496f359226ab include: constant and interface headers for themwi-mgw
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 * throughout the architecture.
496f359226ab include: constant and interface headers for themwi-mgw
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 */
496f359226ab include: constant and interface headers for themwi-mgw
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6
496f359226ab include: constant and interface headers for themwi-mgw
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 #define TMGW_EP_TYPE_DUMMY_GSM 1
496f359226ab include: constant and interface headers for themwi-mgw
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 #define TMGW_EP_TYPE_DUMMY_PSTN 2
496f359226ab include: constant and interface headers for themwi-mgw
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 #define TMGW_EP_TYPE_GATEWAY 3
496f359226ab include: constant and interface headers for themwi-mgw
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10
496f359226ab include: constant and interface headers for themwi-mgw
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 #define TMGW_EP_HAS_GSM_SOCK 1
496f359226ab include: constant and interface headers for themwi-mgw
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 #define TMGW_EP_HAS_PSTN_SOCK 2
496f359226ab include: constant and interface headers for themwi-mgw
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13
496f359226ab include: constant and interface headers for themwi-mgw
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 #define TMGW_FWD_MODE_INACTIVE 0
496f359226ab include: constant and interface headers for themwi-mgw
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 #define TMGW_FWD_MODE_RECVONLY 1
496f359226ab include: constant and interface headers for themwi-mgw
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 #define TMGW_FWD_MODE_SENDONLY 2
496f359226ab include: constant and interface headers for themwi-mgw
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 #define TMGW_FWD_MODE_SENDRECV 3
496f359226ab include: constant and interface headers for themwi-mgw
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18
496f359226ab include: constant and interface headers for themwi-mgw
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 #define GSM_TCHF_FRAME 0x0300
496f359226ab include: constant and interface headers for themwi-mgw
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 #define GSM_TCHF_FRAME_EFR 0x0301
496f359226ab include: constant and interface headers for themwi-mgw
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 #define GSM_TCHH_FRAME 0x0302
496f359226ab include: constant and interface headers for themwi-mgw
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 #define GSM_TCH_FRAME_AMR 0x0303
496f359226ab include: constant and interface headers for themwi-mgw
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23
496f359226ab include: constant and interface headers for themwi-mgw
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 #define PSTN_CODEC_PCMU 0
496f359226ab include: constant and interface headers for themwi-mgw
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 #define PSTN_CODEC_PCMA 8