Calulate Curie Temperature with CASTEP or ONETEP

I have the commercial version of CASTEP and ONETEP interfacing with Materials Studio 6.  I would like to calculate the Curie temperature for ferromagnetic metal alloys.  I believe this is possible, but I have to be able to calculate the exchange interactions between the moments.  Does anyone have a procedure to obtain these values?  I find the CASTEP to be pretty amazing and highly useful, surely it can handle this relatively simple problem.