asterisk record ไม่เจอ file record

Asterisk Opensource IP Pbx

asterisk record ไม่เจอ file record

โพสต์โดย uptooyou » 27 ก.ย. 2014 16:53

เจอปัญหา เมื่อเข้าไปที่ /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>
uptooyou
Bronz Member
 
โพสต์: 13
ลงทะเบียนเมื่อ: 17 มิ.ย. 2012 10:35

Re: asterisk record ไม่เจอ file record

โพสต์โดย nuiz » 27 ก.ย. 2014 17:20

มีฟ้องบรรทัดนี้

[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?

ใน dialplan ให้แก้เครื่องหมาย | เป็น , ครับ แล้วรันคำสั่ง asterisk -rx "dialplan reload" บน linux prompt

ลองดู
** หากมีปัญหากับอุปกรณ์ที่ซื้อมาเองหรือบริการที่ทำขึ้นมาเอง ให้โพสต์ถามในเว็บบอร์ดนี้นะครับ **
** งานเร่งด่วนติดต่อว่าจ้างที่เบอร์ 08-5161-9439 อีเมล์ iamaladin@gmail.com ไลน์ NuizVoip ครับ **
nuiz
Diamond Member
 
โพสต์: 6995
ลงทะเบียนเมื่อ: 24 มี.ค. 2010 09:33

Re: asterisk record ไม่เจอ file record

โพสต์โดย uptooyou » 28 ก.ย. 2014 21:58

nuiz เขียน:มีฟ้องบรรทัดนี้

[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?

ใน dialplan ให้แก้เครื่องหมาย | เป็น , ครับ แล้วรันคำสั่ง asterisk -rx "dialplan reload" บน linux prompt

ลองดู



หลังจากเปลี่ยน | เป็น , ใช้ได้แล้วครับ ขอบคุณมาก แต่รู้สึกว่าเสียงจะเบาไปสักนิด พอจะเพิ่มได้ไม่ครับ
uptooyou
Bronz Member
 
โพสต์: 13
ลงทะเบียนเมื่อ: 17 มิ.ย. 2012 10:35

Re: asterisk record ไม่เจอ file record

โพสต์โดย nuiz » 28 ก.ย. 2014 22:03

ลองดูออปชั่นของคำสั่ง MixMonitor เพิ่มครับ มีให้ปรับระดับเสียงอยู่นะ
** หากมีปัญหากับอุปกรณ์ที่ซื้อมาเองหรือบริการที่ทำขึ้นมาเอง ให้โพสต์ถามในเว็บบอร์ดนี้นะครับ **
** งานเร่งด่วนติดต่อว่าจ้างที่เบอร์ 08-5161-9439 อีเมล์ iamaladin@gmail.com ไลน์ NuizVoip ครับ **
nuiz
Diamond Member
 
โพสต์: 6995
ลงทะเบียนเมื่อ: 24 มี.ค. 2010 09:33

Re: asterisk record ไม่เจอ file record

โพสต์โดย uptooyou » 04 ต.ค. 2014 21:09

nuiz เขียน:ลองดูออปชั่นของคำสั่ง MixMonitor เพิ่มครับ มีให้ปรับระดับเสียงอยู่นะ


Ok.ครับ ถ้าเพิ่มเสียง ก็จะได้ยินเสียงสะท้อนเพิ่มขึ้น
ผมสอบถามเพิ่มเติม
สมมุติว่ามี softphone โทรคุยพร้อมกัน 3 หมายเลข (ประชุมสาย) ก็จะมีการสร้างไฟล์บันทึกขึ้นมา 3 ไฟล์
ถ้าผมต้องการให้ไฟล์ที่บันทึกสร้างขึ้นมาแค่ 1 ไฟล์ สามารถทำได้ไม่ครับ
uptooyou
Bronz Member
 
โพสต์: 13
ลงทะเบียนเมื่อ: 17 มิ.ย. 2012 10:35

Re: asterisk record ไม่เจอ file record

โพสต์โดย nuiz » 05 ต.ค. 2014 17:51

ลองดูในเว็บนี้ครับ ไม่รู้จะมีหรือเปล่า หามาให้แต่ยังไม่ได้ลอง
http://www.voip-info.org/wiki/view/MixMonitor

อีกคำสั่งที่บันทึกได้คือ Record ลองดูในเว็บนี้
http://www.voip-info.org/wiki/view/Asterisk+cmd+Record

ยังไม่ได้ลองอีกเช่นกันครับ
** หากมีปัญหากับอุปกรณ์ที่ซื้อมาเองหรือบริการที่ทำขึ้นมาเอง ให้โพสต์ถามในเว็บบอร์ดนี้นะครับ **
** งานเร่งด่วนติดต่อว่าจ้างที่เบอร์ 08-5161-9439 อีเมล์ iamaladin@gmail.com ไลน์ NuizVoip ครับ **
nuiz
Diamond Member
 
โพสต์: 6995
ลงทะเบียนเมื่อ: 24 มี.ค. 2010 09:33

Re: asterisk record ไม่เจอ file record

โพสต์โดย uptooyou » 25 พ.ค. 2015 10:53

ก่อนหน้านี่ก็ใช้งานได้ปกติ แต่ทำไมอยู่ดีๆไม่มีไฟล์เสียง เข้าไปเช็คใน /tmp ไม่มีไฟล์เสียง แบบนี่เกิดจากสาเหตุอะไรเหรอครับ

Reloading SIP
== Parsing '/etc/asterisk/sip.conf': == Found
== Parsing '/etc/asterisk/sip_clients.conf': == Found
== Parsing '/etc/asterisk/users.conf': == Found
== Using SIP CoS mark 4
== Parsing '/etc/asterisk/sip_notify.conf': == Found
== Using SIP RTP CoS mark 5
-- Executing [33333@internal:1] Answer("SIP/1009-00000006", "") in new stack
-- Executing [33333@internal:2] Authenticate("SIP/1009-00000006", "1234") in new stack
-- <SIP/1009-00000006> Playing 'agent-pass.gsm' (language 'en')
-- <SIP/1009-00000006> Playing 'auth-thankyou.gsm' (language 'en')
-- Executing [33333@internal:3] MixMonitor("SIP/1009-00000006", "/tmp/record-1009-33333-25052015-103300.WAV,bW(0)") in new stack
-- Executing [33333@internal:4] Dial("SIP/1009-00000006", "SIP/mcuWeb/33333") in new stack
== Using SIP RTP CoS mark 5
-- Called mcuWeb/33333
== Begin MixMonitor Recording SIP/1009-00000006
-- SIP/mcuWeb-00000007 is ringing
-- SIP/mcuWeb-00000007 answered SIP/1009-00000006
[May 25 10:33:00] WARNING[3902]: res_rtp_asterisk.c:2017 ast_rtp_read: RTP Read too short
[May 25 10:33:00] WARNING[3902]: res_rtp_asterisk.c:2017 ast_rtp_read: RTP Read too short
ubuntu*CLI>
uptooyou
Bronz Member
 
โพสต์: 13
ลงทะเบียนเมื่อ: 17 มิ.ย. 2012 10:35


ย้อนกลับไปยัง Asterisk SIP Server

ผู้ใช้งานขณะนี้

กำลังดูบอร์ดนี้: ไม่มีสมาชิกใหม่ และ บุคคลทั่วไป 0 ท่าน

cron