aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/osmo_bsc.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2012-12-03 15:32:54 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2012-12-03 15:32:54 +0100
commitd2361d970af8fe5d624ed3977982c21c327ac986 (patch)
treee1db89ddfc673219c74dbbf565ae9eefe0f35b25 /openbsc/include/openbsc/osmo_bsc.h
parentf589221ed0a00c12fce0fac629475851b2680b77 (diff)
bsc: Send the USSD message after the location updating accept.
Make sure to accept the phone first before sending the USSD message.
Diffstat (limited to 'openbsc/include/openbsc/osmo_bsc.h')
-rw-r--r--openbsc/include/openbsc/osmo_bsc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/osmo_bsc.h b/openbsc/include/openbsc/osmo_bsc.h
index 0bc39dc1e..1d216ac25 100644
--- a/openbsc/include/openbsc/osmo_bsc.h
+++ b/openbsc/include/openbsc/osmo_bsc.h
@@ -5,6 +5,8 @@
#include "bsc_api.h"
+#define BSS_SEND_USSD 1
+
struct sccp_connection;
struct osmo_msc_data;
struct bsc_msc_connection;
@@ -39,6 +41,7 @@ int bsc_delete_connection(struct osmo_bsc_sccp_con *sccp);
struct osmo_msc_data *bsc_find_msc(struct gsm_subscriber_connection *conn, struct msgb *);
int bsc_scan_bts_msg(struct gsm_subscriber_connection *conn, struct msgb *msg);
int bsc_scan_msc_msg(struct gsm_subscriber_connection *conn, struct msgb *msg);
+int bsc_send_welcome_ussd(struct gsm_subscriber_connection *conn);
int bsc_handle_udt(struct osmo_msc_data *msc, struct msgb *msg, unsigned int length);
int bsc_handle_dt1(struct osmo_bsc_sccp_con *conn, struct msgb *msg, unsigned int len);