diff options
author | Keith <keith@rhizomatica.org> | 2018-08-31 15:44:30 +0200 |
---|---|---|
committer | Keith <keith@rhizomatica.org> | 2018-08-31 19:11:45 +0200 |
commit | 008915ee41900c34ec0fd8df0c9f1d7c2cbdb3b2 (patch) | |
tree | 59a214a2e404a5a9717ce75ab4bd16cdaf325045 /src/call.h | |
parent | 503d8fdb64140061d7e64c64d0478de6acb2a7b7 (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.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; |