MGCP_Emulation: More complete implementation

* re-introduce connection table
* introduce unitdata_cb for connectionless MGCP messages (like AUEP)
* rename MGCP_Emulation_CT members to avoid clashes with other similar
  component names when using "multiple inheritance"
* Use HostName/PortNumber types on MGCP_conn_parameters
* allow "bind to local UDP port only, permit any UDP source port" behavior
* implement expect matching criteria + expect matching only on CRCX
* add helper function f_create_mgcp_expect() like in other Emulations

Change-Id: I953a91e663648715fa4fe98acacca393c8747001
diff --git a/library/MGCP_Templates.ttcn b/library/MGCP_Templates.ttcn
index f4c6e0f..c0c827f 100644
--- a/library/MGCP_Templates.ttcn
+++ b/library/MGCP_Templates.ttcn
@@ -268,4 +268,18 @@
 		return int2hex(float2int(rnd()*2147483647.0), 8);
 	}
 
+	/* those verbs that related to a connection (and hence have ConnectionId) */
+	template MgcpVerb tr_MgcpVerb_ConnectionOriented := ("CRCX", "MDCX", "DLCX", "AUCX");
+	/* entire command template matching only connection oriented verbs */
+	template MgcpCommand tr_MgcpCommand_CO := {
+		line := {
+			verb := tr_MgcpVerb_ConnectionOriented,
+			trans_id := ?,
+			ep := ?,
+			ver := ?
+		},
+		params := *,
+		sdp := *
+	}
+
 }