aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/bsc_ussd.h2
-rw-r--r--src/bsc_ussd.c9
-rw-r--r--src/msc_conn.c1
3 files changed, 12 insertions, 0 deletions
diff --git a/include/bsc_ussd.h b/include/bsc_ussd.h
index 69ad93c..5484efa 100644
--- a/include/bsc_ussd.h
+++ b/include/bsc_ussd.h
@@ -24,4 +24,6 @@
int bsc_ussd_handle_out_msg(struct bsc_data *bsc, struct sccp_parse_result *result, struct msgb *msg);
+int bsc_ussd_handle_in_msg(struct mtp_link *link, struct sccp_parse_result *res, struct msgb *msg);
+
#endif
diff --git a/src/bsc_ussd.c b/src/bsc_ussd.c
index 5c7e962..e0989b9 100644
--- a/src/bsc_ussd.c
+++ b/src/bsc_ussd.c
@@ -37,3 +37,12 @@ int bsc_ussd_handle_out_msg(struct bsc_data *bsc, struct sccp_parse_result *resu
return 0;
}
+
+/*
+ * Check the message if it contains a location update request...
+ */
+int bsc_ussd_handle_in_msg(struct mtp_link *link, struct sccp_parse_result *res,
+ struct msgb *msg)
+{
+ return 0;
+}
diff --git a/src/msc_conn.c b/src/msc_conn.c
index 1cee1f9..2dfc7e7 100644
--- a/src/msc_conn.c
+++ b/src/msc_conn.c
@@ -220,6 +220,7 @@ static int ipaccess_a_fd_cb(struct bsc_fd *bfd)
sls = sls_for_src_ref(result.destination_local_reference);
/* Check for Location Update Accept */
+ bsc_ussd_handle_in_msg(link, &result, msg);
/* patch a possible PC */
bss_rewrite_header_to_bsc(msg, link->opc, link->dpc);