Dialplan: prompt a user to record a message

I’ve been having trouble adding a context to my dialplan. When the context/extension is run, it should call an outside line, play a brief message, beep and then record until the party hangs up.

The first two parts seem easy enough to do with just the Playback command. All the recording features I’ve found googling seem to start recording when the channel is created.

But how can I start recording after a channel has already been up for awhile?

Thanks!

What’s wrong with Record()?