L3_Templates: ts_Bcap_voice(): Include speech version octets

Change-Id: Iff48bff6df6fa7dae3bc8467be4d75b0305f68ad
diff --git a/library/L3_Templates.ttcn b/library/L3_Templates.ttcn
index 7836555..5816ab9 100644
--- a/library/L3_Templates.ttcn
+++ b/library/L3_Templates.ttcn
@@ -435,6 +435,19 @@
 	digits := digits
 }
 
+type integer SpeechVer;
+
+template (value) Speech_AuxiliarySpeech ts_SpeechAux(SpeechVer ver, BIT1 suffix) := {
+	speechVersionIndication := int2bit(ver-1,3) & suffix,
+	spare1_1 := '0'B,
+	cTM_or_Spare := '0'B,
+	coding := '0'B,
+	extension_octet_3a_3b := '0'B
+}
+
+template (value) Speech_AuxiliarySpeech ts_SpeechAuxFR(SpeechVer ver) := ts_SpeechAux(ver, '0'B);
+template (value) Speech_AuxiliarySpeech ts_SpeechAuxHR(SpeechVer ver) := ts_SpeechAux(ver, '1'B);
+
 template (value) BearerCapability_TLV ts_Bcap_voice := {
 	elementIdentifier := '04'O,
 	lengthIndicator := 0, /* overwritten */
@@ -444,7 +457,13 @@
 		codingStandard := '0'B,
 		radioChannelRequirement := '11'B, /* FR preferred */
 		extension_octet_3 := '0'B,	/* overwritten */
-		speech_aux_3a_3b := omit
+		speech_aux_3a_3b := {
+			valueof(ts_SpeechAuxHR(3)),
+			valueof(ts_SpeechAuxFR(3)),
+			valueof(ts_SpeechAuxFR(2)),
+			valueof(ts_SpeechAuxFR(1)),
+			valueof(ts_SpeechAuxHR(1))
+		}
 	},
 	octet4 := omit,
 	octet5 := omit,