diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-06-15 12:03:10 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-06-15 12:04:34 +0800 |
commit | 6a3d765bf97349535602ed5b2b55d2093aa18d71 (patch) | |
tree | 5b9f5ff2bf10d8973a6d1397717a2fe8f7b6f2a8 /openbsc/src/osmo_msc.c | |
parent | 43b0909394e78d908038495f98d9b51739b01213 (diff) |
bsc_api: Do not use RLL inside the SMS code, handle SAPI n REJECT
Directly send a SMS using the send method, in case of an error
we will need to find the transaction and free the SMS and the
transaction.
Diffstat (limited to 'openbsc/src/osmo_msc.c')
-rw-r--r-- | openbsc/src/osmo_msc.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/openbsc/src/osmo_msc.c b/openbsc/src/osmo_msc.c index 97f6e6fac..b5bb37152 100644 --- a/openbsc/src/osmo_msc.c +++ b/openbsc/src/osmo_msc.c @@ -25,8 +25,14 @@ #include <openbsc/bsc_api.h> #include <openbsc/debug.h> +#include <openbsc/gsm_04_11.h> + static void msc_sapi_n_reject(struct gsm_subscriber_connection* conn, int dlci) { + int sapi = dlci & 0x7; + + if (sapi == UM_SAPI_SMS) + gsm411_sapi_n_reject(conn); } static struct bsc_api msc_handler = { |