akhilesh chand
2014-Feb-11 07:00 UTC
[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
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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140211/4d1aa4b0/attachment.html>
Mike
2014-Feb-11 07:10 UTC
[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
On 14-02-11 03:00 AM, akhilesh chand wrote:> > 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 >Does the path to that file exist, and can asterisk write to it? -- Looking for (employment|contract) work in the Internet industry, preferably working remotely. Building / Supporting the net since 2400 baud was the hot thing. Ask for a resume! ispbuilder at gmail.com