Я полный нуб. Но таки надо решить проблему, так как freePBX перестал фиксировать звонки в мониторинге.
Начало. Возникла некоторая странная проблема. На выходных отвалилась запись разговоров (причем только исходящих и никто 100% настройки сервера не трогал). В мониторинге freePBX отражалисть только входящие звонки, да и то, как я понимаю, не все (их было меньше чем файлов с ацудиозаписями). Поковырялся, не смог понять в чем причина, решил на всякий случай накатить обновления через Webmin (всяло многое, но asterisk, asterisk-sounds-es, asterisk-sounds-fr, elastix, elastix-my_extension, elastix-pbx, elastix-system, freePBX отказались устанавливаться).
Перезагрузил сервер.
Обнаружилось, что теперь в мониторинге freePBX не оражаются любые звонки. Файлы с записями входящих звонков есть. Файлов с записями исходящих - нет.
У extension стоят Record Incoming = Always и Record Outgoing = Always. Пробовал менять папку (в папке накопилось уже более 35 000 файлов), менять права на папку, запускать asterisk под рутом - безрезультатно.
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER: Лог исходящего звонка выдает следующее
Connected to Asterisk 11.7.0 currently running on asterisk (pid = 2803)
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [89998887766@from-internal:1] Macro("SIP/189-00000008", "user-callerid,LIMIT,EXTERNAL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/189-00000008", "AMPUSER=189") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/189-00000008", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/189-00000008", "1?Set(REALCALLERIDNUM=189)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/189-00000008", "AMPUSER=189") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/189-00000008", "AMPUSERCIDNAME=Dima - Mendeleevskaya") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/189-00000008", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/189-00000008", "AMPUSERCID=189") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/189-00000008", "CALLERID(all)="Dima - Mendeleevskaya" <189>") in new stack
-- Executing [s@macro-user-callerid:9] ExecIf("SIP/189-00000008", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/189-00000008", "0?continue") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/189-00000008", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/189-00000008", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] Set("SIP/189-00000008", "CALLERID(number)=189") in new stack
-- Executing [s@macro-user-callerid:20] Set("SIP/189-00000008", "CALLERID(name)=Dima - Mendeleevskaya") in new stack
-- Executing [s@macro-user-callerid:21] NoOp("SIP/189-00000008", "Using CallerID "Dima - Mendeleevskaya" <189>") in new stack
-- Executing [89998887766@from-internal:2] Set("SIP/189-00000008", "MOHCLASS=default") in new stack
-- Executing [89998887766@from-internal:3] Set("SIP/189-00000008", "_NODEST=") in new stack
-- Executing [89998887766@from-internal:4] Macro("SIP/189-00000008", "dialout-trunk,1,89998887766,,on") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/189-00000008", "DIAL_TRUNK=1") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/189-00000008", "0?sub-pincheck,s,1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/189-00000008", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/189-00000008", "DIAL_NUMBER=89998887766") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/189-00000008", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/189-00000008", "OUTBOUND_GROUP=OUT_1") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/189-00000008", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/189-00000008", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/189-00000008", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/189-00000008", "outbound-callerid,1") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/189-00000008", "0?Set(CALLERPRES()=)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/189-00000008", "0?Set(REALCALLERIDNUM=189)") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/189-00000008", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/189-00000008", "USEROUTCID=189") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/189-00000008", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/189-00000008", "TRUNKOUTCID=4951112233") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/189-00000008", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/189-00000008", "1?Set(CALLERID(all)=4951112233)") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/189-00000008", "1?Set(CALLERID(all)=189)") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/189-00000008", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/189-00000008", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/189-00000008", "0?sub-flp-1,s,1") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("SIP/189-00000008", "OUTNUM=89998887766") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/189-00000008", "custom=SIP/4951112233") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/189-00000008", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
-- Executing [s@macro-dialout-trunk:16] Macro("SIP/189-00000008", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/189-00000008", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/189-00000008", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/189-00000008", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:19] Dial("SIP/189-00000008", "SIP/4951112233/89998887766,300,") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/4951112233/89998887766
-- SIP/4951112233-00000009 is making progress passing it to SIP/189-00000008
> 0x1f89ffd0 -- Probation passed - setting RTP source address to 192.168.123.189:10356
> 0x2b3ff0014230 -- Probation passed - setting RTP source address to 217.28.210.19:15930
-- SIP/4951112233-00000009 is ringing
-- SIP/4951112233-00000009 answered SIP/189-00000008
-- Locally bridging SIP/189-00000008 and SIP/4951112233-00000009
-- Executing [h@macro-dialout-trunk:1] Macro("SIP/189-00000008", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/189-00000008", "1?endmixmoncheck") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] NoOp("SIP/189-00000008", "End of MIXMON check") in new stack
-- Executing [s@macro-hangupcall:10] GotoIf("SIP/189-00000008", "1?nomeetmemon") in new stack
-- Goto (macro-hangupcall,s,28)
-- Executing [s@macro-hangupcall:28] NoOp("SIP/189-00000008", "End of MEETME check") in new stack
-- Executing [s@macro-hangupcall:29] GotoIf("SIP/189-00000008", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,34)
-- Executing [s@macro-hangupcall:34] NoOp("SIP/189-00000008", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:35] GotoIf("SIP/189-00000008", "1?noautomon2") in new stack
-- Goto (macro-hangupcall,s,41)
-- Executing [s@macro-hangupcall:41] NoOp("SIP/189-00000008", "MONITOR_FILENAME=") in new stack
-- Executing [s@macro-hangupcall:42] GotoIf("SIP/189-00000008", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,45)
-- Executing [s@macro-hangupcall:45] GotoIf("SIP/189-00000008", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,48)
-- Executing [s@macro-hangupcall:48] GotoIf("SIP/189-00000008", "1?theend") in new stack
-- Goto (macro-hangupcall,s,50)
-- Executing [s@macro-hangupcall:50] AGI("SIP/189-00000008", "hangup.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
-- <SIP/189-00000008>AGI Script hangup.agi completed, returning 0
-- Executing [s@macro-hangupcall:51] Hangup("SIP/189-00000008", "") in new stack
== Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'SIP/189-00000008' in macro 'hangupcall'
== Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/189-00000008'
== Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'SIP/189-00000008' in macro 'dialout-trunk'
== Spawn extension (from-internal, 89998887766, 4) exited non-zero on 'SIP/189-00000008'
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [89998887766@from-internal:1] Macro("SIP/189-00000008", "user-callerid,LIMIT,EXTERNAL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/189-00000008", "AMPUSER=189") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/189-00000008", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/189-00000008", "1?Set(REALCALLERIDNUM=189)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/189-00000008", "AMPUSER=189") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/189-00000008", "AMPUSERCIDNAME=Dima - Mendeleevskaya") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/189-00000008", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/189-00000008", "AMPUSERCID=189") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/189-00000008", "CALLERID(all)="Dima - Mendeleevskaya" <189>") in new stack
-- Executing [s@macro-user-callerid:9] ExecIf("SIP/189-00000008", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/189-00000008", "0?continue") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/189-00000008", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/189-00000008", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] Set("SIP/189-00000008", "CALLERID(number)=189") in new stack
-- Executing [s@macro-user-callerid:20] Set("SIP/189-00000008", "CALLERID(name)=Dima - Mendeleevskaya") in new stack
-- Executing [s@macro-user-callerid:21] NoOp("SIP/189-00000008", "Using CallerID "Dima - Mendeleevskaya" <189>") in new stack
-- Executing [89998887766@from-internal:2] Set("SIP/189-00000008", "MOHCLASS=default") in new stack
-- Executing [89998887766@from-internal:3] Set("SIP/189-00000008", "_NODEST=") in new stack
-- Executing [89998887766@from-internal:4] Macro("SIP/189-00000008", "dialout-trunk,1,89998887766,,on") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/189-00000008", "DIAL_TRUNK=1") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/189-00000008", "0?sub-pincheck,s,1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/189-00000008", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/189-00000008", "DIAL_NUMBER=89998887766") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/189-00000008", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/189-00000008", "OUTBOUND_GROUP=OUT_1") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/189-00000008", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/189-00000008", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/189-00000008", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/189-00000008", "outbound-callerid,1") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/189-00000008", "0?Set(CALLERPRES()=)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/189-00000008", "0?Set(REALCALLERIDNUM=189)") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/189-00000008", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/189-00000008", "USEROUTCID=189") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/189-00000008", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/189-00000008", "TRUNKOUTCID=4951112233") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/189-00000008", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/189-00000008", "1?Set(CALLERID(all)=4951112233)") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/189-00000008", "1?Set(CALLERID(all)=189)") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/189-00000008", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/189-00000008", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/189-00000008", "0?sub-flp-1,s,1") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("SIP/189-00000008", "OUTNUM=89998887766") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/189-00000008", "custom=SIP/4951112233") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/189-00000008", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
-- Executing [s@macro-dialout-trunk:16] Macro("SIP/189-00000008", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/189-00000008", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/189-00000008", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/189-00000008", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:19] Dial("SIP/189-00000008", "SIP/4951112233/89998887766,300,") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/4951112233/89998887766
-- SIP/4951112233-00000009 is making progress passing it to SIP/189-00000008
> 0x1f89ffd0 -- Probation passed - setting RTP source address to 192.168.123.189:10356
> 0x2b3ff0014230 -- Probation passed - setting RTP source address to 217.28.210.19:15930
-- SIP/4951112233-00000009 is ringing
-- SIP/4951112233-00000009 answered SIP/189-00000008
-- Locally bridging SIP/189-00000008 and SIP/4951112233-00000009
-- Executing [h@macro-dialout-trunk:1] Macro("SIP/189-00000008", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/189-00000008", "1?endmixmoncheck") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] NoOp("SIP/189-00000008", "End of MIXMON check") in new stack
-- Executing [s@macro-hangupcall:10] GotoIf("SIP/189-00000008", "1?nomeetmemon") in new stack
-- Goto (macro-hangupcall,s,28)
-- Executing [s@macro-hangupcall:28] NoOp("SIP/189-00000008", "End of MEETME check") in new stack
-- Executing [s@macro-hangupcall:29] GotoIf("SIP/189-00000008", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,34)
-- Executing [s@macro-hangupcall:34] NoOp("SIP/189-00000008", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:35] GotoIf("SIP/189-00000008", "1?noautomon2") in new stack
-- Goto (macro-hangupcall,s,41)
-- Executing [s@macro-hangupcall:41] NoOp("SIP/189-00000008", "MONITOR_FILENAME=") in new stack
-- Executing [s@macro-hangupcall:42] GotoIf("SIP/189-00000008", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,45)
-- Executing [s@macro-hangupcall:45] GotoIf("SIP/189-00000008", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,48)
-- Executing [s@macro-hangupcall:48] GotoIf("SIP/189-00000008", "1?theend") in new stack
-- Goto (macro-hangupcall,s,50)
-- Executing [s@macro-hangupcall:50] AGI("SIP/189-00000008", "hangup.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
-- <SIP/189-00000008>AGI Script hangup.agi completed, returning 0
-- Executing [s@macro-hangupcall:51] Hangup("SIP/189-00000008", "") in new stack
== Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'SIP/189-00000008' in macro 'hangupcall'
== Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/189-00000008'
== Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'SIP/189-00000008' in macro 'dialout-trunk'
== Spawn extension (from-internal, 89998887766, 4) exited non-zero on 'SIP/189-00000008'
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER: Какое ПО на сервере, если необходимо
Linux(x86_64) v.2.6.18 release 400.1.1.el5
elastix v.2.4.0 release 2
elastix-a2billing v.1.9.4 release 5
elastix-addons v.2.5.0 release 1
elastix-agenda v.2.5.0 release 1
elastix-asterisk-sounds v.1.2.3 release 1
elastix-developer v.2.3.0 release 5
elastix-email_admin v.2.5.0 release 1
elastix-extras v.2.5.0 release 1
elastix-fax v.2.5.0 release 1
elastix-firstboot v.2.5.0 release 1
elastix-framework v.2.5.0 release 2
elastix-im v.2.5.0 release 1
elastix-my_extension v.2.4.0 release 3
elastix-pbx v.2.4.0 release 7
elastix-portknock v.0.0.1 release 0
elastix-reports v.2.5.0 release 1
elastix-security v.2.5.0 release 1
elastix-system v.2.4.0 release 11
elastix-vtigercrm v.5.2.1 release 10
freePBX v.2.8.1 release 17
asterisk v.11.7.0 release 2
asterisk-perl v.1.03 release 0
asterisk-addons v.11.7.0 release 2
dahdi v.2.10.0.1 release 0
rhino v.0.99.6 release 3.b4
wanpipe-util v.7.0.10 release 2
elastix v.2.4.0 release 2
elastix-a2billing v.1.9.4 release 5
elastix-addons v.2.5.0 release 1
elastix-agenda v.2.5.0 release 1
elastix-asterisk-sounds v.1.2.3 release 1
elastix-developer v.2.3.0 release 5
elastix-email_admin v.2.5.0 release 1
elastix-extras v.2.5.0 release 1
elastix-fax v.2.5.0 release 1
elastix-firstboot v.2.5.0 release 1
elastix-framework v.2.5.0 release 2
elastix-im v.2.5.0 release 1
elastix-my_extension v.2.4.0 release 3
elastix-pbx v.2.4.0 release 7
elastix-portknock v.0.0.1 release 0
elastix-reports v.2.5.0 release 1
elastix-security v.2.5.0 release 1
elastix-system v.2.4.0 release 11
elastix-vtigercrm v.5.2.1 release 10
freePBX v.2.8.1 release 17
asterisk v.11.7.0 release 2
asterisk-perl v.1.03 release 0
asterisk-addons v.11.7.0 release 2
dahdi v.2.10.0.1 release 0
rhino v.0.99.6 release 3.b4
wanpipe-util v.7.0.10 release 2