comparison sip-in/call.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 75b7a7b61824
children 0d6435808bcd
comparison
equal deleted inserted replaced
62:75b7a7b61824 63:e5aee661e3b2
34 uint32_t mgw_state; 34 uint32_t mgw_state;
35 uint32_t mgw_ep_id; 35 uint32_t mgw_ep_id;
36 uint32_t mgw_xact; 36 uint32_t mgw_xact;
37 uint32_t mgw_xact_id; 37 uint32_t mgw_xact_id;
38 uint32_t sdp_addend; 38 uint32_t sdp_addend;
39 uint32_t mncc_state;
40 uint32_t mncc_callref;
39 char invite_fail[80]; 41 char invite_fail[80];
40 unsigned sip_tx_count; 42 unsigned sip_tx_count;
41 int mncc_active;
42 uint32_t mncc_callref;
43 }; 43 };
44 44
45 #define OVERALL_STATE_CRCX 1 45 #define OVERALL_STATE_CRCX 1
46 #define OVERALL_STATE_CALL_GSM 2 46 #define OVERALL_STATE_CALL_GSM 2
47 #define OVERALL_STATE_ALERTING 3 47 #define OVERALL_STATE_ALERTING 3
58 #define SIP_STATE_BYE_SENT 6 58 #define SIP_STATE_BYE_SENT 6
59 #define SIP_STATE_INVITE_ERR 7 59 #define SIP_STATE_INVITE_ERR 7
60 #define SIP_STATE_ENDED 8 60 #define SIP_STATE_ENDED 8
61 #define SIP_STATE_MSG_SIZE_ERR 9 61 #define SIP_STATE_MSG_SIZE_ERR 9
62 62
63 #define MNCC_STATE_NO_EXIST 0
64 #define MNCC_STATE_STARTED 1
65 #define MNCC_STATE_ALERTING 2
66 #define MNCC_STATE_ANSWERED 3
67 #define MNCC_STATE_CONNECTED 4
68 #define MNCC_STATE_DISCONNECT 5
69 #define MNCC_STATE_RELEASE 6
70
63 #define MGW_STATE_NO_EXIST 0 71 #define MGW_STATE_NO_EXIST 0
64 #define MGW_STATE_ALLOCATED 1 72 #define MGW_STATE_ALLOCATED 1
65 #define MGW_STATE_CONNECTING 2 73 #define MGW_STATE_CONNECTING 2
66 #define MGW_STATE_COMPLETE 3 74 #define MGW_STATE_COMPLETE 3
67 #define MGW_STATE_DELETING 4 75 #define MGW_STATE_DELETING 4