MGCP_Test: Some templates to encode MGCP messages
diff --git a/mgw/MGCP_CodecPort.ttcn b/mgw/MGCP_CodecPort.ttcn
index 22f71cf..d1b1d19 100644
--- a/mgw/MGCP_CodecPort.ttcn
+++ b/mgw/MGCP_CodecPort.ttcn
@@ -11,6 +11,15 @@
 		HostName	locName,
 		PortNumber	locPort,
 		MgcpMessage	msg
+	};
+
+	template MGCP_RecvFrom t_MGCP_RecvFrom(template MgcpMessage msg) := {
+		connId := ?,
+		remName := ?,
+		remPort := ?,
+		locName := ?,
+		locPort := ?,
+		msg := msg
 	}
 
 	type record MGCP_Send {
@@ -18,6 +27,11 @@
 		MgcpMessage	msg
 	}
 
+	template MGCP_Send t_MGCP_Send(template ConnectionId connId, template MgcpMessage msg) := {
+		connId := connId,
+		msg := msg
+	}
+
 	private function IPL4_to_MGCP_RecvFrom(in ASP_RecvFrom pin, out MGCP_RecvFrom pout) {
 		pout.connId := pin.connId;
 		pout.remName := pin.remName;