osmo-msc/include/osmocom/msc
Neels Hofmeyr 1fbf45c291 enrich context for vlr_subscr_name and ran_conn fi name
Include all available information in vlr_subscr_name(); instead of either IMSI
or MSISDN or TMSI, print all of them when present. Instead of a short log,
rather have more valuable context.

A context info would now look like:

  Process_Access_Request_VLR(GERAN-A-3_IMSI-901700000014706_MSISDN-2023_TMSI-0x08bde4ec_PAGING_RESP)

It does get quite long, but ensures easy correlation of any BSSAP / IuCS
messages with log output, especially if multiple subscribers are busy at the
same time.

When showing the RAN conn id, instead of

  GERAN_A-00000017

write

  GERAN-A-23

- We usually write the conn_id in decimal.
- Leading zeros are clutter.
- Don't mix - and _ separators.

These changes are combined to produce only one burst of humungous amounts of
msc_vlr_tests expected output. That is definitely a weak point of these tests:
blowing up the git history. OTOH they do show logging changes nicely.

Change-Id: I66a68ce2eb8957a35855a3743d91a86299900834
2018-12-24 15:45:51 +01:00
..
Makefile.am combine several small .h in msc_common.h 2018-11-30 22:46:15 +01:00
a_iface.h rename gsm_subscriber_connection to ran_conn 2018-11-30 22:45:42 +01:00
a_iface_bssap.h Don't answer to BSC-originated RESET with another RESET 2018-02-09 02:20:51 +01:00
a_reset.h a_reset: cleanup + remove dead code 2018-05-17 20:14:01 +00:00
db.h cosmetic: drop some unused opaque struct defs 2018-11-30 22:46:15 +01:00
debug.h dissolve libcommon: drop debug.c 2018-03-22 17:05:42 +01:00
gsm_04_08.h rename gsm_subscriber_connection to ran_conn 2018-11-30 22:45:42 +01:00
gsm_04_11.h rename gsm_subscriber_connection to ran_conn 2018-11-30 22:45:42 +01:00
gsm_04_14.h rename gsm_subscriber_connection to ran_conn 2018-11-30 22:45:42 +01:00
gsm_04_80.h rename gsm_subscriber_connection to ran_conn 2018-11-30 22:45:42 +01:00
gsm_09_11.h rename gsm_subscriber_connection to ran_conn 2018-11-30 22:45:42 +01:00
gsm_data.h make gsup ipa name configurable in osmo-msc.cfg 2018-12-11 13:08:00 +00:00
gsm_data_shared.h combine several small .h in msc_common.h 2018-11-30 22:46:15 +01:00
gsm_subscriber.h move gsm_cbfn to gsm_subscriber.h, the only user 2018-11-30 22:46:15 +01:00
iu_dummy.h cosmetic: drop some unused opaque struct defs 2018-11-30 22:46:15 +01:00
iucs.h move ran_conn declarations to new ran_conn.h 2018-11-30 22:46:15 +01:00
iucs_ranap.h rename include/openbsc to include/osmocom/msc 2017-09-06 16:41:25 +02:00
mncc.h MNCC: Add input validation 2018-01-23 17:03:05 +00:00
mncc_int.h rename include/openbsc to include/osmocom/msc 2017-09-06 16:41:25 +02:00
msc_common.h add VTY commands: mncc internal / external (== -M) 2018-12-05 19:35:11 +00:00
msc_ifaces.h rename gsm_subscriber_connection to ran_conn 2018-11-30 22:45:42 +01:00
msc_mgcp.h abort assignment on Assignment Failure 2018-12-24 15:45:51 +01:00
ran_conn.h enrich context for vlr_subscr_name and ran_conn fi name 2018-12-24 15:45:51 +01:00
rrlp.h RRLP: migrate and share mode definitions from msc_vty.c 2018-08-05 11:33:20 +00:00
signal.h rename gsm_subscriber_connection to ran_conn 2018-11-30 22:45:42 +01:00
silent_call.h rename gsm_subscriber_connection to ran_conn 2018-11-30 22:45:42 +01:00
smpp.h rename include/openbsc to include/osmocom/msc 2017-09-06 16:41:25 +02:00
sms_queue.h Add a VTY command which deletes all expired SMS. 2018-01-25 16:16:15 +00:00
transaction.h move trans->assignment_done to cc.assignment_started 2018-12-24 15:45:51 +01:00
vlr.h Remove redundancy in LAC processing 2018-12-19 11:48:33 +01:00
vty.h use vty->type instead of local variable 2018-12-21 12:38:47 +00:00