diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-05-18 10:00:03 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-05-24 12:32:23 +0800 |
commit | 8ee13e293739870364e83ea54d61818fb5e44381 (patch) | |
tree | ce3115b6ade0d7ced838163efa5b9e9f2627378b /openbsc/include/openbsc/gprs_sgsn.h | |
parent | 10c0f56a0e109054a480d4affcde73dc6affbb56 (diff) |
sgsn: Extract the hlr Number into the mm context
Include the hlr-Number of the subscriber in the CDR. This is useful
for debugging and understanding which equipment was used during the
test. In contrast to the MSISDN the '+' is emitted as the number
must be in international format already.
Diffstat (limited to 'openbsc/include/openbsc/gprs_sgsn.h')
-rw-r--r-- | openbsc/include/openbsc/gprs_sgsn.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gprs_sgsn.h b/openbsc/include/openbsc/gprs_sgsn.h index 06187f083..8abe97c51 100644 --- a/openbsc/include/openbsc/gprs_sgsn.h +++ b/openbsc/include/openbsc/gprs_sgsn.h @@ -136,6 +136,9 @@ struct sgsn_mm_ctx { enum sgsn_auth_state auth_state; int is_authenticated; + /* the string representation of the current hlr */ + char hlr[GSM_EXTENSION_LENGTH]; + struct gsm_subscriber *subscr; }; |