aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc
diff options
context:
space:
mode:
authorSergey Kostanbaev <sergey.kostanbaev@gmail.com>2015-10-23 20:34:25 +0300
committerIvan Kluchnikov <kluchnikovi@gmail.com>2017-02-07 18:59:53 +0300
commitf5fe345dbb21f78319f60d4bbc45fcb482a7ac92 (patch)
tree55bd60034a8a1094ce82b0be5aa3530a13d3cb45 /openbsc/include/openbsc
parent07a5b120e9d7e306190738b159e84c5be1c0aae0 (diff)
USSD MAP external interface over SUP
Diffstat (limited to 'openbsc/include/openbsc')
-rw-r--r--openbsc/include/openbsc/gsm_04_80.h4
-rw-r--r--openbsc/include/openbsc/gsm_sup.h5
-rw-r--r--openbsc/include/openbsc/sip.h4
-rw-r--r--openbsc/include/openbsc/ussd.h3
4 files changed, 14 insertions, 2 deletions
diff --git a/openbsc/include/openbsc/gsm_04_80.h b/openbsc/include/openbsc/gsm_04_80.h
index 3be96e98b..959eb7bff 100644
--- a/openbsc/include/openbsc/gsm_04_80.h
+++ b/openbsc/include/openbsc/gsm_04_80.h
@@ -8,8 +8,8 @@
struct gsm_subscriber_connection;
int gsm0480_send_ussd_response(struct gsm_subscriber_connection *conn,
- const struct msgb *in_msg, const char* response_text,
- const struct ussd_request *req);
+ const struct msgb *in_msg, const char* response_text,
+ const struct ussd_request *req, uint8_t code, uint8_t ctype, uint8_t mtype);
int gsm0480_send_ussd_reject(struct gsm_subscriber_connection *conn,
const struct msgb *msg,
const struct ussd_request *request);
diff --git a/openbsc/include/openbsc/gsm_sup.h b/openbsc/include/openbsc/gsm_sup.h
index d14b036b2..fbfb2f9df 100644
--- a/openbsc/include/openbsc/gsm_sup.h
+++ b/openbsc/include/openbsc/gsm_sup.h
@@ -3,6 +3,7 @@
#include <openbsc/debug.h>
#include <openbsc/gsm_subscriber.h>
+#include <osmocom/gsm/gsm0480.h>
#define LOGGSUBSCRP(level, subscr, fmt, args...) \
LOGP(DSUP, level, "SUBSCR(%s) " fmt, \
@@ -13,4 +14,8 @@ int subscr_query_auth_info(struct gsm_subscriber *subscr);
int subscr_location_update(struct gsm_subscriber *subscr);
int sup_init(struct gsm_network *net);
+
+int subscr_tx_uss_message(struct ss_request *req,
+ struct gsm_subscriber *subscr);
+
#endif /* _GSM_SUP_H */
diff --git a/openbsc/include/openbsc/sip.h b/openbsc/include/openbsc/sip.h
index 8a7a56264..581f3f3c5 100644
--- a/openbsc/include/openbsc/sip.h
+++ b/openbsc/include/openbsc/sip.h
@@ -4,6 +4,10 @@
#include <openbsc/sip_client.h>
#include <openbsc/reg_proxy.h>
#include <osip2/osip.h>
+#include <osmocom/gsm/gsm0480.h>
+
+int tx_ss_handle(struct sip_client *sip_client, osip_t *osip, struct ss_request *ss,
+ const char *extention);
int tx_sip_register(struct sip_client *sip_client, osip_t *osip, char *imsi);
diff --git a/openbsc/include/openbsc/ussd.h b/openbsc/include/openbsc/ussd.h
index 266546811..a84f51fbd 100644
--- a/openbsc/include/openbsc/ussd.h
+++ b/openbsc/include/openbsc/ussd.h
@@ -7,4 +7,7 @@
int handle_rcv_ussd(struct gsm_subscriber_connection *conn, struct msgb *msg);
+
+int on_ussd_response(const struct ss_request* req, const char* extention);
+
#endif