aboutsummaryrefslogtreecommitdiffstats
path: root/include/openbsc/gsm_04_08.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2009-02-17 01:43:01 +0000
committerHarald Welte <laforge@gnumonks.org>2009-02-17 01:43:01 +0000
commit7ccf77810b603d2c70004311e30a757af057e31b (patch)
tree5fe72efbec256d5e260c36a8320c99cb602e2215 /include/openbsc/gsm_04_08.h
parent75a1fa834ce34da2165de2de0b89cdebc8c87e77 (diff)
slightly more complete GSM 04.08 CC, we can now
* initiate phone calls from one MS * look-up the subscriber based on dialled extension * page the called subscriber * send the SETUP to the called subscriber, including CLIP/CLIR * get ALERTING notification back to caller * relay DISCONNECT from either side to the other This is still far from being complete, but it at least works for the most common case
Diffstat (limited to 'include/openbsc/gsm_04_08.h')
-rw-r--r--include/openbsc/gsm_04_08.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/openbsc/gsm_04_08.h b/include/openbsc/gsm_04_08.h
index edff7691f..ddf55357c 100644
--- a/include/openbsc/gsm_04_08.h
+++ b/include/openbsc/gsm_04_08.h
@@ -328,7 +328,7 @@ struct gsm48_system_information_type_6 {
#define GSM48_MT_CC_DISCONNECT 0x25
#define GSM48_MT_CC_RELEASE 0x2d
-#define GSM48_MT_CC_RELEASE_COMPL 0xea
+#define GSM48_MT_CC_RELEASE_COMPL 0x2a
#define GSM48_MT_CC_CONG_CTRL 0x39
#define GSM48_MT_CC_NOTIFY 0x3e
@@ -489,7 +489,8 @@ void gsm0408_set_reject_cause(int cause);
int gsm0408_rcvmsg(struct msgb *msg);
void gsm0408_generate_lai(struct gsm48_loc_area_id *lai48, u_int16_t mcc,
u_int16_t mnc, u_int16_t lac);
-int gsm48_cc_tx_setup(struct gsm_lchan *lchan, struct gsm_subscriber *calling);
+int gsm48_cc_tx_setup(struct gsm_lchan *lchan, struct gsm_subscriber *called,
+ struct gsm_subscriber *calling);
enum gsm_chan_t get_ctype_by_chreq(struct gsm_bts *bts, u_int8_t ra);
enum gsm_chreq_reason_t get_reason_by_chreq(struct gsm_bts *bts, u_int8_t ra);