[asterisk-users] recrding calls

Joseph syscon780 at gmail.com
Fri Jan 18 21:41:36 CST 2013


On 01/18/13 21:08, Warren Selby wrote:
>   Around version 1.4 or 1.6, TIMESTAMP was phased out and replaced with
>   STRFTIME.  See this page for details on how to properly generate a
>   timestamp:
>   [1]http://www.voip-info.org/wiki/view/Asterisk+func+strftime

Thank Warren for the pointer, yes it is working now.
Correct sequence should be:

exten => 11,n,Set(recordfilename=${EXTEN}-${STRFTIME(${EPOCH},MST,%C%y-%m-%d-%H%M)}.wav)
exten => 11,n,MixMonitor(${recordfilename},b)

-- 
Joseph



More information about the asterisk-users mailing list