โดย pakasuz » 26 ธ.ค. 2011 17:02
สวัสดีครับผม ผมได้ลองทำตามวิธีข้างบนแล้วครับ แต่ว่า....ในข้อที่
"2.3 กดฟังเสียงที่บันทึก กด *99 (เบอร์นี้เป็นเบอร์ใน Feature Codes) จะได้ยินเสียง "To listen to press 1, to leave recording press star" กด 1 เพื่อฟังเสียง ถ้าพอใจแล้วก็กดปุ่ม * ถ้าไม่พอใจก็วางสายแล้วกด *77 อัดใหม่"
พอผมกด 1 เพื่อจะฟัง มันกลับพูดซ้ำไปซ้ำมา ในข้อความนี้นะครับ ไม่ยอมให้ผมฟังเสียงที่อัดไว้สักที ??? ส่วนใน Asterisk CLI มันขึ้นข้อมความแบบนี้นะครับ
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [*77@from-internal:1] Macro("SIP/531-00000019", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/531-00000019", "AMPUSER=531") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/531-00000019", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/531-00000019", "1?Set(REALCALLERIDNUM=531)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/531-00000019", "AMPUSER=531") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/531-00000019", "AMPUSERCIDNAME=GENG") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/531-00000019", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/531-00000019", "AMPUSERCID=531") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/531-00000019", "CALLERID(all)="GENG" <531>") in new stack
-- Executing [s@macro-user-callerid:9] ExecIf("SIP/531-00000019", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/531-00000019", "0?continue") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/531-00000019", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/531-00000019", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] Set("SIP/531-00000019", "CALLERID(number)=531") in new stack
-- Executing [s@macro-user-callerid:20] Set("SIP/531-00000019", "CALLERID(name)=GENG") in new stack
-- Executing [s@macro-user-callerid:21] NoOp("SIP/531-00000019", "Using CallerID "GENG" <531>") in new stack
-- Executing [*77@from-internal:2] Wait("SIP/531-00000019", "2") in new stack
-- Executing [*77@from-internal:3] Macro("SIP/531-00000019", "systemrecording,dorecord") in new stack
-- Executing [s@macro-systemrecording:1] Set("SIP/531-00000019", "RECFILE=/var/spool/asterisk/tmp/531-ivrrecording") in new stack
-- Executing [s@macro-systemrecording:2] ExecIf("SIP/531-00000019", "0?Authenticate()") in new stack
-- Executing [s@macro-systemrecording:3] Goto("SIP/531-00000019", "dorecord,1") in new stack
-- Goto (macro-systemrecording,dorecord,1)
-- Executing [dorecord@macro-systemrecording:1] System("SIP/531-00000019", "rm /var/lib/asterisk/sounds//var/spool/asterisk/tmp/531-ivrrecording.*") in new stack
-- Executing [dorecord@macro-systemrecording:2] Record("SIP/531-00000019", "/var/spool/asterisk/tmp/531-ivrrecording:wav") in new stack
-- <SIP/531-00000019> Playing 'beep.gsm' (language 'en')
== Spawn extension (macro-systemrecording, dorecord, 2) exited non-zero on 'SIP/531-00000019' in macro 'systemrecording'
== Spawn extension (from-internal, *77, 3) exited non-zero on 'SIP/531-00000019'
-- Executing [h@from-internal:1] Macro("SIP/531-00000019", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/531-00000019", "1?endmixmoncheck") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] NoOp("SIP/531-00000019", "End of MIXMON check") in new stack
-- Executing [s@macro-hangupcall:10] GotoIf("SIP/531-00000019", "1?nomeetmemon") in new stack
-- Goto (macro-hangupcall,s,15)
-- Executing [s@macro-hangupcall:15] NoOp("SIP/531-00000019", "MEETME_RECORDINGFILE=") in new stack
-- Executing [s@macro-hangupcall:16] GotoIf("SIP/531-00000019", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,18)
-- Executing [s@macro-hangupcall:18] NoOp("SIP/531-00000019", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:19] GotoIf("SIP/531-00000019", "1?noautomon2") in new stack
-- Goto (macro-hangupcall,s,25)
-- Executing [s@macro-hangupcall:25] NoOp("SIP/531-00000019", "MONITOR_FILENAME=") in new stack
-- Executing [s@macro-hangupcall:26] GotoIf("SIP/531-00000019", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,29)
-- Executing [s@macro-hangupcall:29] GotoIf("SIP/531-00000019", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,32)
-- Executing [s@macro-hangupcall:32] GotoIf("SIP/531-00000019", "1?theend") in new stack
-- Goto (macro-hangupcall,s,34)
-- Executing [s@macro-hangupcall:34] Hangup("SIP/531-00000019", "") in new stack
== Spawn extension (macro-hangupcall, s, 34) exited non-zero on 'SIP/531-00000019' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/531-00000019'
ส่วนในตอนที่ผมกด *99 เพื่อเข้าไปฟัง มันขึ้นแบบนี้ครับ
-- <SIP/531-0000001b> Playing 'to-listen-to-it.gsm' (language 'en')
-- <SIP/531-0000001b> Playing 'press-1.gsm' (language 'en')
-- <SIP/531-0000001b> Playing 'to-rerecord-it.gsm' (language 'en')
-- <SIP/531-0000001b> Playing 'press-star.gsm' (language 'en')
-- <SIP/531-0000001b> Playing 'astcc-followed-by-pound.gsm' (language 'en')
-- Executing [confmenu@macro-systemrecording:2] Read("SIP/531-0000001b", "RECRESULT,,1,,,4") in new stack
-- Accepting a maximum of 1 digits.
-- User entered nothing.
-- Executing [confmenu@macro-systemrecording:3] GotoIf("SIP/531-0000001b", "0?dorecord,1") in new stack
-- Executing [confmenu@macro-systemrecording:4] GotoIf("SIP/531-0000001b", "0?docheck,2") in new stack
-- Executing [confmenu@macro-systemrecording:5] Goto("SIP/531-0000001b", "1") in new stack
-- Goto (macro-systemrecording,confmenu,1)
-- Executing [confmenu@macro-systemrecording:1] BackGround("SIP/531-0000001b", "to-listen-to-it&press-1&to-rerecord-it&press-star&astcc-followed-by-pound,m,en,macro-systemrecording") in new stack
ไม่รู้ว่าทำไมมันถึงไม่ยอมให้ผมฟังเสียงที่อัดไว้นะครับ ผมไล่ดูแล้วก็ยังไม่เข้าใจครับผม รบกวนช่วยแนะนำทีนะครับ ขอบคุณมากๆ ครับ