aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-10-06 06:20:35 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-10-06 06:20:35 +0800
commitdfcf2df69869bd026fa4adcf6672db5a2196e9a8 (patch)
treee74e7a6f6011d54e3943cee0597a732a191354f2 /src
parenta4ca6d3947bb6063ac4c5c64064f6f7a93f9857f (diff)
ussd: Create the hook where packages from the MSC pass by
Diffstat (limited to 'src')
-rw-r--r--src/bsc_ussd.c9
-rw-r--r--src/msc_conn.c1
2 files changed, 10 insertions, 0 deletions
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);