Recording a video call

I know this is possible as I have done it in the past. What is the best way about doing this in the asterisk dialplan? I tried using Record(somefile.gsm) and Record(somefile.h263) but I keep getting a “Unsupported Media Type” error in the terminal.

Has anybody figured out a way to do this reliably? Thanks!