diff options
author | Harald Welte <laforge@gnumonks.org> | 2018-07-29 16:14:48 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-07-30 17:43:10 +0200 |
commit | dab544e14bedb990a3cbcc0df53a97d1bb24e973 (patch) | |
tree | 5a892918ab5c4e1c001c2361f8957b63ac615082 /src/hlr.c | |
parent | 7d29d59292c5357537665fdf3a1f2022c79ae604 (diff) |
USSD: Add support for internal USSD handlers
There are some requests that are best served inside the HLR, as it
has access to subscriber information such as MSISDN and IMSI.
This unfortunately required quite some restructuring of the USSD
related structures including the VTY syntax for adding routes.
The default config file has been updated to replicate the *#100#
built-in behavior of old OsmoNITB.
Closes: OS#2566
Change-Id: I1d09fab810a6bb9ab02904de72dbc9e8a414f9f9
Diffstat (limited to 'src/hlr.c')
-rw-r--r-- | src/hlr.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -568,7 +568,9 @@ int main(int argc, char **argv) g_hlr = talloc_zero(hlr_ctx, struct hlr); INIT_LLIST_HEAD(&g_hlr->euse_list); + INIT_LLIST_HEAD(&g_hlr->iuse_list); INIT_LLIST_HEAD(&g_hlr->ss_sessions); + INIT_LLIST_HEAD(&g_hlr->ussd_routes); rc = osmo_init_logging2(hlr_ctx, &hlr_log_info); if (rc < 0) { |