FreeCalypso > hg > themwi-system-sw
comparison mgw/struct.h @ 103:3b3f07b112f3
mgw: implement GSM to PSTN forwarding
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 26 Sep 2022 20:46:19 -0800 |
parents | 1579ec0e9fb9 |
children | f062c32a5116 |
comparison
equal
deleted
inserted
replaced
102:d26d97974c8a | 103:3b3f07b112f3 |
---|---|
28 unsigned pstn_payload_type; | 28 unsigned pstn_payload_type; |
29 unsigned fwd_mode; | 29 unsigned fwd_mode; |
30 /* gateway functionality */ | 30 /* gateway functionality */ |
31 void *gsm_encoder_state; | 31 void *gsm_encoder_state; |
32 void *gsm_decoder_state; | 32 void *gsm_decoder_state; |
33 /* GSM to PSTN forwarding */ | |
34 int g2p_state; | |
35 uint32_t g2p_ssrc; | |
36 uint32_t g2p_last_ts; | |
37 uint16_t g2p_last_seq; | |
38 uint16_t g2p_out_seq; | |
39 int g2p_drop_flag; | |
40 int g2p_err_flags; | |
41 /* PSTN to GSM forwarding */ | |
33 int p2g_state; | 42 int p2g_state; |
34 uint32_t p2g_ssrc; | 43 uint32_t p2g_ssrc; |
35 uint32_t p2g_last_ts; | 44 uint32_t p2g_last_ts; |
36 uint16_t p2g_last_seq; | 45 uint16_t p2g_last_seq; |
37 uint16_t p2g_out_seq; | 46 uint16_t p2g_out_seq; |