FreeCalypso > hg > themwi-system-sw
diff 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 |
line wrap: on
line diff
--- a/sip-in/call.h Sat Sep 17 18:43:08 2022 -0800 +++ b/sip-in/call.h Sun Sep 18 15:01:11 2022 -0800 @@ -36,10 +36,10 @@ uint32_t mgw_xact; uint32_t mgw_xact_id; uint32_t sdp_addend; + uint32_t mncc_state; + uint32_t mncc_callref; char invite_fail[80]; unsigned sip_tx_count; - int mncc_active; - uint32_t mncc_callref; }; #define OVERALL_STATE_CRCX 1 @@ -60,6 +60,14 @@ #define SIP_STATE_ENDED 8 #define SIP_STATE_MSG_SIZE_ERR 9 +#define MNCC_STATE_NO_EXIST 0 +#define MNCC_STATE_STARTED 1 +#define MNCC_STATE_ALERTING 2 +#define MNCC_STATE_ANSWERED 3 +#define MNCC_STATE_CONNECTED 4 +#define MNCC_STATE_DISCONNECT 5 +#define MNCC_STATE_RELEASE 6 + #define MGW_STATE_NO_EXIST 0 #define MGW_STATE_ALLOCATED 1 #define MGW_STATE_CONNECTING 2