aboutsummaryrefslogtreecommitdiffstats
path: root/src/msc_conn.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-10-06 04:39:08 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-10-06 04:39:08 +0800
commit0f349f2c6df7c73653de8ef8b9082aab7a83c085 (patch)
treeca3c4282b188280c206a07f88b41c6b4094dd288 /src/msc_conn.c
parent377ba4293abaa4cc98b7bdee57e98528acbf023f (diff)
ussd: Add the hook where we can capture the Location Updating Request
Diffstat (limited to 'src/msc_conn.c')
-rw-r--r--src/msc_conn.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/msc_conn.c b/src/msc_conn.c
index 902546f..b03dc5f 100644
--- a/src/msc_conn.c
+++ b/src/msc_conn.c
@@ -21,6 +21,7 @@
*/
#include <bsc_data.h>
+#include <bsc_ussd.h>
#include <bss_patch.h>
#include <bssap_sccp.h>
#include <ipaccess.h>
@@ -203,6 +204,8 @@ static int ipaccess_a_fd_cb(struct bsc_fd *bfd)
update_con_state(rc, &result, msg, 1, 0);
sls = sls_for_src_ref(result.destination_local_reference);
+ /* Check for Location Update Accept */
+
/* patch a possible PC */
bss_rewrite_header_to_bsc(msg, link->opc, link->dpc);
@@ -593,6 +596,8 @@ void msc_send_msg(struct bsc_data *bsc, int rc, struct sccp_parse_result *result
return;
}
+ bsc_ussd_handle_out_msg(bsc, result, _msg);
+
msg = msgb_alloc_headroom(4096, 128, "SCCP to MSC");
if (!msg) {
LOGP(DMSC, LOGL_ERROR, "Failed to alloc MSC msg.\n");