asteris录音设置

[macro-recording]

exten =>s,1,Set(CALLFILENAME=${STRFTIME(${EPOCH},UTC-8,%Y-%m-%d-%H-%M-%S)}-${CALLERID(dnid)})
exten =>s,n,Set(PATH=/var/spool/asterisk/monitor/${STRFTIME(${EPOCH},UTC-8,%Y-%m-%d)}/${CALLERID(num)})
exten =>s,n,MixMonitor(${PATH}/${CALLFILENAME}.wav,W(4))

exten => _710.,n,Macro(recording)

原文地址:https://www.cnblogs.com/noobkey/p/5006388.html