Intro : I am trying to record each calls but I don't want to append them to a same file or overwrite it all the time. I'd like to have a file for each call. The name of the file should be the date+time when the call was made so that it is unique. I can't figure out how to do this.
My current extension.conv :
exten => 1000,1,Answer()
exten => 1000,2,MixMonitor(${DATETIME}.wav,v(0)V(0))
exten => 1000,3,Background(/var/lib/asterisk/sounds/intro2168000)
Problem:
the file is only called ".wav".
Is there a way to make it work ?