MixMonitor ${CHANNEL} Problem

Hi,

I use MixMonitor to record calls.
My current dialplan is following and it works.

exten => _X.,n,Set(CALLFILENAME=${UNIQUEID}-${EXTEN:1})
exten => _X.,n,MixMonitor(${CALLFILENAME}.wav,b)

But I want to add channel name to the file name. And when I add {CHANNEL} variable it doesn’t record.
exten => _X.,n,Set(CALLFILENAME=${UNIQUEID}-${EXTEN:1}-[b][color=#FF0000]${CHANNEL}[/[/color]b])

Any idea?
Thanks,
Salim

${CHANNEL} can contains / characters
first take a look how its looks.