mirror of
https://gerrit.osmocom.org/osmo-gbproxy
synced 2024-08-21 18:36:25 +00:00
bsc: Include the MCC/MNC in the location trap
It is of interest to know the MCC/MNC that is broadcasted at the specific position. Sponsored-by: On-Waves ehf
This commit is contained in:
parent
eab2a3fe08
commit
52158b8550
1 changed files with 5 additions and 1 deletions
|
@ -208,7 +208,11 @@ static void generate_location_state_trap(struct gsm_bts *bts, struct bsc_msc_con
|
|||
admin = osmo_bsc_rf_get_adminstate_name(osmo_bsc_rf_get_adminstate_by_bts(bts));
|
||||
policy = osmo_bsc_rf_get_policy_name(osmo_bsc_rf_get_policy_by_bts(bts));
|
||||
|
||||
cmd->reply = talloc_asprintf_append(cmd->reply, ",%s,%s,%s", oper, admin, policy);
|
||||
cmd->reply = talloc_asprintf_append(cmd->reply,
|
||||
",%s,%s,%s,%d,%d",
|
||||
oper, admin, policy,
|
||||
bts->network->country_code,
|
||||
bts->network->network_code);
|
||||
|
||||
osmo_bsc_send_trap(cmd, msc_con);
|
||||
talloc_free(cmd);
|
||||
|
|
Loading…
Reference in a new issue