Consider a setup that consist of a source that emits photon vertically downwards and a photon counter that receives the photons. Just before the photons reach the counter, they go through an absorber tuned via the Mossbauer effect to the frequency of photons when they were emitted. Consequently, peak aborption by the absorber occurs for this frequency - for any other frequency, less absorption occurs. Now, at the bottom where the absorber is, the photons have a different frequency, so peak absorption does not occur unless the absorber is moved with a speed that introduces a Doppler (red) shift that exactly compensates for the frequency (blue) shift caused by the gravitational field.
The speed of the absorber is adjusted until the counter reads a minimum, i.e., the absorber has peak absorption. The speed is known, which allows the Doppler frequency shift to be calculated, which allows the frequency shift caused by gravity to calculated.
Regards,
George