Send "BSSMAP CommonID" to tell BSC about the IMSI

We're already sending the RANAP CommonID message to the RNC,
let's do the same using BSSMAP CommonId towards the BSC.  This
way the BSC knows about the IMSI of the served subscriber, which
is very useful for logging/debugging.

Change-Id: I2552736477663adb250c55728093500e8ae83ebb
Closes: OS#2969
Depends: libosmocore.git I353adc1aa72377f7d4b3336d2ff47791fb73d62c
diff --git a/src/libmsc/ran_msg_a.c b/src/libmsc/ran_msg_a.c
index 1fa8ccb..8158e91 100644
--- a/src/libmsc/ran_msg_a.c
+++ b/src/libmsc/ran_msg_a.c
@@ -1223,6 +1223,9 @@
 	case RAN_MSG_ASSIGNMENT_COMMAND:
 		return ran_a_make_assignment_command(caller_fi, &ran_enc_msg->assignment_command);
 
+	case RAN_MSG_COMMON_ID:
+		return gsm0808_create_common_id(ran_enc_msg->common_id.imsi, NULL, NULL);
+
 	case RAN_MSG_CIPHER_MODE_COMMAND:
 		return ran_a_make_cipher_mode_command(caller_fi, &ran_enc_msg->cipher_mode_command);