เจอปัญหา เมื่อเข้าไปที่ /tmp/ไม่มี file record
exten => _1XXX,1,answer()
exten => _1XXX,n,MixMonitor(/tmp/record-${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%d%m%Y-%H%M%S)}.WAV|bW(0))
exten => _1XXX,n,wait(10)
exten => _1XXX,n,hangup
_____________________________________________________________________
root@ubuntu:/# asterisk -rvvv
Asterisk 1.8.4.4~dfsg-2ubuntu1.1, Copyright (C) 1999 - 2010 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
== Parsing '/etc/asterisk/asterisk.conf': == Found
== Parsing '/etc/asterisk/extconfig.conf': == Found
Connected to Asterisk 1.8.4.4~dfsg-2ubuntu1.1 currently running on ubuntu (pid = 5146)
Verbosity is at least 3
== Using SIP RTP CoS mark 5
-- Executing [1003@internal:1] Answer("SIP/1005-00000003", "") in new stack
-- Executing [1003@internal:2] MixMonitor("SIP/1005-00000003", "/tmp/record-1005-1003-27092014-021343.WAV|bW(0)") in new stack
[Sep 27 02:13:43] WARNING[5238]: pbx.c:1402 pbx_exec: The application delimiter is now the comma, not the pipe. Did you forget to convert your dialplan? (MixMonitor(/tmp/record-1005-1003-27092014-021343.WAV|bW(0)))
-- Executing [1003@internal:3] Wait("SIP/1005-00000003", "10") in new stack
== Begin MixMonitor Recording SIP/1005-00000003
-- Executing [1003@internal:4] Hangup("SIP/1005-00000003", "") in new stack
== Spawn extension (internal, 1003, 4) exited non-zero on 'SIP/1005-00000003'
== End MixMonitor Recording SIP/1005-00000003
ubuntu*CLI>