File.c:1160 Ast_writefile: Unable To Open File /var/spool/asterisk/monitor/11Feb2014/_11-Feb-2014-17-44-01.wav: No Such File Or Directory

Home » Asterisk Users » File.c:1160 Ast_writefile: Unable To Open File /var/spool/asterisk/monitor/11Feb2014/_11-Feb-2014-17-44-01.wav: No Such File Or Directory
Asterisk Users 1 Comment

Dear Folks,

[Test_Context]
exten => _911.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _911.,2,Set(CALLERID(num)=xxxxxxx)
exten =>
_911.,3,Set(CALLTIME=${STRFTIME(${EPOCH},Asia/Calcutta,%d-%b-%Y-%H-%M-%S)})
exten => _911.,4,Set(RECSUBDIR=${STRFTIME(${EPOCH},Asia/Calcutta,%d%b%Y)})
exten => _911.,5,Set(${CALLERID}=${CALLERID(num)})
exten => _911.,6,Set(FILENAME=${CALLERID}_${CALLTIME}.wav)
exten => _911.,7,Set(RECORDFILENAME=${RECSUBDIR}/${FILENAME})
;exten => _911.,8,Set(SOUND_PATH=${RECORDING_KINREP}/${RECORDFILENAME})
exten => _911.,8,MixMonitor(${RECORDFILENAME},b)
exten => _911.,9,Dial(${TRUNK}/${EXTEN:3},,To)
exten => _911.,10,Hangup

Mixmont is not working ,Whenever my give code is executing i got following error:

file.c:1160 ast_writefile: Unable to open file
/var/spool/asterisk/monitor/11Feb2014/_11-Feb-2014-17-44-01.wav: No such file or directory app_mixmonitor.c:286 mixmonitor_thread: Cannot open
/var/spool/asterisk/monitor/11Feb2014/_11-Feb-2014-17-44-01.wav

Regards Akhilesh

One thought on - File.c:1160 Ast_writefile: Unable To Open File /var/spool/asterisk/monitor/11Feb2014/_11-Feb-2014-17-44-01.wav: No Such File Or Directory