Hi,<br><br>Please help me create macro for this extension?<br><br>[globals]<br>VOIP=SIP/voip<br>PREFIX=19001<br><br>[outbound]<br>exten => _9NXXNXXXXXX,1,Set(DIREC=/tmp/asterisk/recordings)<br>exten => _9NXXNXXXXXX,n,Set(CALLFILENAME=${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S)}_${CALLERID(num)}_${EXTEN})<br>
exten => _9NXXNXXXXXX,n,MixMonitor(${DIREC}/${CALLFILENAME}.wav|W(2)|v(3)|b)<br>exten => _9NXXNXXXXXX,n,Dial(${VOIP}/${PREFIX}${EXTEN:1})<br>exten => _9NXXNXXXXXX,n,Hangup()<br><br>Thank you<br><br clear="all"><br>
-- <br>Richard R. Cahilig<br>Blog: <a href="http://www.chr05210084.com">http://www.chr05210084.com</a><br>AKLUG: <a href="http://www.aklan-linux.org">http://www.aklan-linux.org</a><br>Email: <a href="mailto:r.cahilig@gmail.com">r.cahilig@gmail.com</a><br>