FreeCalypso > hg > themwi-system-sw
annotate include/tmgw_const.h @ 167:2ebad02adbe5
themwi-mncc: route outbound calls to themwi-sip-out
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 12 Oct 2022 18:08:34 -0800 |
parents | f280328e7e2e |
children | f4ed6042e16c |
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 |
95
f280328e7e2e
themwi-mgw: initial implementation of PSTN to GSM forwarding
Mychaela Falconia <falcon@freecalypso.org>
parents:
30
diff
changeset
|
19 #define TMGW_FWD_ENABLE_PSTN2GSM 1 |
f280328e7e2e
themwi-mgw: initial implementation of PSTN to GSM forwarding
Mychaela Falconia <falcon@freecalypso.org>
parents:
30
diff
changeset
|
20 #define TMGW_FWD_ENABLE_GSM2PSTN 2 |
f280328e7e2e
themwi-mgw: initial implementation of PSTN to GSM forwarding
Mychaela Falconia <falcon@freecalypso.org>
parents:
30
diff
changeset
|
21 |
30
496f359226ab
include: constant and interface headers for themwi-mgw
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 #define GSM_TCHF_FRAME 0x0300 |
496f359226ab
include: constant and interface headers for themwi-mgw
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 #define GSM_TCHF_FRAME_EFR 0x0301 |
496f359226ab
include: constant and interface headers for themwi-mgw
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 #define GSM_TCHH_FRAME 0x0302 |
496f359226ab
include: constant and interface headers for themwi-mgw
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 #define GSM_TCH_FRAME_AMR 0x0303 |
496f359226ab
include: constant and interface headers for themwi-mgw
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 |
496f359226ab
include: constant and interface headers for themwi-mgw
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 #define PSTN_CODEC_PCMU 0 |
496f359226ab
include: constant and interface headers for themwi-mgw
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28 #define PSTN_CODEC_PCMA 8 |