aboutsummaryrefslogtreecommitdiffstats
path: root/src/call.h
diff options
context:
space:
mode:
authorKeith <keith@rhizomatica.org>2018-08-31 15:44:30 +0200
committerKeith <keith@rhizomatica.org>2018-08-31 19:11:45 +0200
commit008915ee41900c34ec0fd8df0c9f1d7c2cbdb3b2 (patch)
tree59a214a2e404a5a9717ce75ab4bd16cdaf325045 /src/call.h
parent503d8fdb64140061d7e64c64d0478de6acb2a7b7 (diff)
Implement Cause Mapping
Adds cause field to the call_leg and sip_call_leg structs. Translates the SIP status to MNCC cause and vice versa and uses this information in the SIP/MNCC messages at call leg release time. Change-Id: Ic1b80dff7e583cd6fff2b662bc6cc4bad3f81cd4
Diffstat (limited to 'src/call.h')
-rw-r--r--src/call.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/call.h b/src/call.h
index 5a11f6c..de92a24 100644
--- a/src/call.h
+++ b/src/call.h
@@ -43,6 +43,8 @@ struct call_leg {
struct call *call;
bool in_release;
+ /* Field to hold GSM 04.08 Cause Value. Section 10.5.4.11 Table 10.86 */
+ int cause;
/**
* RTP data
@@ -130,6 +132,8 @@ struct mncc_call_leg {
int rsp_wanted;
struct mncc_connection *conn;
+ /* Field to hold GSM 04.08 Cause Value. Section 10.5.4.11 Table 10.86 */
+ int cause;
};
extern struct llist_head g_call_list;