diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-10-06 06:20:35 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-10-06 06:20:35 +0800 |
commit | dfcf2df69869bd026fa4adcf6672db5a2196e9a8 (patch) | |
tree | e74e7a6f6011d54e3943cee0597a732a191354f2 /src | |
parent | a4ca6d3947bb6063ac4c5c64064f6f7a93f9857f (diff) |
ussd: Create the hook where packages from the MSC pass by
Diffstat (limited to 'src')
-rw-r--r-- | src/bsc_ussd.c | 9 | ||||
-rw-r--r-- | src/msc_conn.c | 1 |
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); |