aboutsummaryrefslogtreecommitdiffstats
path: root/include/openbsc/gsm_data.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2009-02-17 15:29:33 +0000
committerHarald Welte <laforge@gnumonks.org>2009-02-17 15:29:33 +0000
commit49f48b8b77d8649ba82e34e4f1fd6d1b194e71dd (patch)
treecc7f4c85cafe084bc61805090dfb58cb05725637 /include/openbsc/gsm_data.h
parent167df88aaec83055d585a2aff8b88aaed1be1c0c (diff)
various CC updates:
* correctly lchan_put the second lchan of a call at teardown * map the RTP streams of ip.access onto each other * fix bug that prevented a CONNECt message to ever reach the 'B' side
Diffstat (limited to 'include/openbsc/gsm_data.h')
-rw-r--r--include/openbsc/gsm_data.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/openbsc/gsm_data.h b/include/openbsc/gsm_data.h
index 7c320d8ed..50a11fa85 100644
--- a/include/openbsc/gsm_data.h
+++ b/include/openbsc/gsm_data.h
@@ -61,14 +61,20 @@ enum gsm_call_state {
GSM_CSTATE_RELEASE_REQ,
};
+struct gsm_lchan;
+struct gsm_subscriber;
+
/* One end of a call */
struct gsm_call {
enum gsm_call_type type;
enum gsm_call_state state;
u_int8_t transaction_id; /* 10.3.2 */
- /* the 'local' subscriber */
- struct gsm_subscriber *subscr;
+ /* the 'local' channel */
+ struct gsm_lchan *local_lchan;
+ /* the 'remote' channel */
+ struct gsm_lchan *remote_lchan;
+
/* the 'remote' subscriber */
struct gsm_subscriber *called_subscr;
};