Worked for me :) Thank you very much. What about the name of files? I tried this function:
http://www.3cx.com/blog/docs/emails-from-vad/
CONCATENATE(‘CallFrom_’,session.ani,’.wav’)
Wrote it like this:
CONCATENATE(‘..\\DataFolder\\','CallFrom_',’.wav’)
I want the record function to save .wav...