Есть сервер Asterisk на нём настроены два оператора связи, через которые осуществляются исходящие звонки. И столкнулся с такой проблемой, что звонит девочка кому-то и во второй половине разговора начинает слышать то, что говорил ей человек вначале разговора. Признаться, сначала её не поверили, потом списали на плохую работу оборудования второй стороны, ибо жалуются не все, но, проблема остается и нагнетает панику среди населения офиса. Переключение исходящих линий не помогло.
[2017-11-27 10:12:56] VERBOSE[2912][C-0001acfc] netsock2.c: == Using SIP RTP TOS bits 184
[2017-11-27 10:12:56] VERBOSE[2912][C-0001acfc] netsock2.c: == Using SIP RTP CoS mark 5
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [<номер клиента>@from-internal:1] Macro("SIP/202-00049e6a", "user-callerid,SKIPTTL,") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-user-callerid:1] Set("SIP/202-00049e6a", "AMPUSER=202") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-user-callerid:2] GotoIf("SIP/202-00049e6a", "0?report") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-user-callerid:3] ExecIf("SIP/202-00049e6a", "1?Set(REALCALLERIDNUM=202)") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-user-callerid:4] Set("SIP/202-00049e6a", "AMPUSER=202") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-user-callerid:5] Set("SIP/202-00049e6a", "AMPUSERCIDNAME=Golovchak Larisa") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-user-callerid:6] GotoIf("SIP/202-00049e6a", "0?report") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-user-callerid:7] Set("SIP/202-00049e6a", "AMPUSERCID=202") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-user-callerid:8] Set("SIP/202-00049e6a", "CALLERID(all)="Golovchak Larisa" <202>") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-user-callerid:9] ExecIf("SIP/202-00049e6a", "1?Set(CHANNEL(language)=ru)") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-user-callerid:10] GotoIf("SIP/202-00049e6a", "1?continue") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Goto (macro-user-callerid,s,19)
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-user-callerid:19] Set("SIP/202-00049e6a", "CALLERID(number)=202") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-user-callerid:20] Set("SIP/202-00049e6a", "CALLERID(name)=Golovchak Larisa") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-user-callerid:21] NoOp("SIP/202-00049e6a", "Using CallerID "Golovchak Larisa" <202>") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [<номер клиента>@from-internal:2] NoOp("SIP/202-00049e6a", "Calling Out Route: r_ved") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [<номер клиента>@from-internal:3] Set("SIP/202-00049e6a", "MOHCLASS=default") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [<номер клиента>@from-internal:4] Set("SIP/202-00049e6a", "_NODEST=") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [<номер клиента>@from-internal:5] Macro("SIP/202-00049e6a", "record-enable,202,OUT,") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-record-enable:1] GotoIf("SIP/202-00049e6a", "1?check") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Goto (macro-record-enable,s,4)
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-record-enable:4] ExecIf("SIP/202-00049e6a", "0?MacroExit()") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-record-enable:5] GotoIf("SIP/202-00049e6a", "0?Group:OUT") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Goto (macro-record-enable,s,15)
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-record-enable:15] GotoIf("SIP/202-00049e6a", "0?IN") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-record-enable:16] ExecIf("SIP/202-00049e6a", "0?MacroExit()") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-record-enable:17] NoOp("SIP/202-00049e6a", "Recording enable for 202") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-record-enable:18] Set("SIP/202-00049e6a", "CALLFILENAME=OUT202-20171127-101256-1511766776.302730") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-record-enable:19] Goto("SIP/202-00049e6a", "record") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Goto (macro-record-enable,s,23)
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-record-enable:23] MixMonitor("SIP/202-00049e6a", "OUT202-20171127-101256-1511766776.302730.WAV,,") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-record-enable:24] Set("SIP/202-00049e6a", "CDR(userfield)=audio:OUT202-20171127-101256-1511766776.302730.WAV") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-record-enable:25] MacroExit("SIP/202-00049e6a", "") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [<номер клиента>@from-internal:6] Macro("SIP/202-00049e6a", "dialout-trunk,59,<номер клиента>,") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-dialout-trunk:1] Set("SIP/202-00049e6a", "DIAL_TRUNK=59") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/202-00049e6a", "0?sub-pincheck,s,1") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/202-00049e6a", "0?disabletrunk,1") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-dialout-trunk:4] Set("SIP/202-00049e6a", "DIAL_NUMBER=<номер клиента>") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-dialout-trunk:5] Set("SIP/202-00049e6a", "DIAL_TRUNK_OPTIONS=tr") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-dialout-trunk:6] Set("SIP/202-00049e6a", "OUTBOUND_GROUP=OUT_59") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/202-00049e6a", "1?nomax") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Goto (macro-dialout-trunk,s,9)
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/202-00049e6a", "0?skipoutcid") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-dialout-trunk:10] Set("SIP/202-00049e6a", "DIAL_TRUNK_OPTIONS=") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-dialout-trunk:11] Macro("SIP/202-00049e6a", "outbound-callerid,59") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/202-00049e6a", "0?Set(CALLERPRES()=)") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/202-00049e6a", "0?Set(REALCALLERIDNUM=202)") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/202-00049e6a", "1?normcid") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Goto (macro-outbound-callerid,s,6)
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-outbound-callerid:6] Set("SIP/202-00049e6a", "USEROUTCID=") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-outbound-callerid:7] Set("SIP/202-00049e6a", "EMERGENCYCID=") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-outbound-callerid:8] Set("SIP/202-00049e6a", "TRUNKOUTCID=<номер транка>") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/202-00049e6a", "1?trunkcid") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Goto (macro-outbound-callerid,s,12)
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/202-00049e6a", "1?Set(CALLERID(all)=<номер транка>)") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/202-00049e6a", "0?Set(CALLERID(all)=)") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/202-00049e6a", "1?Set(CALLERID(all)=<номер транка>)") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/202-00049e6a", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/202-00049e6a", "1?sub-flp-59,s,1") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@sub-flp-59:1] ExecIf("SIP/202-00049e6a", "0?Return()") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@sub-flp-59:2] ExecIf("SIP/202-00049e6a", "0?Return()") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@sub-flp-59:3] ExecIf("SIP/202-00049e6a", "0?Return()") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@sub-flp-59:4] Return("SIP/202-00049e6a", "") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-dialout-trunk:13] Set("SIP/202-00049e6a", "OUTNUM=<номер клиента>") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-dialout-trunk:14] Set("SIP/202-00049e6a", "custom=SIP/mf_ved") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/202-00049e6a", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-dialout-trunk:16] Macro("SIP/202-00049e6a", "dialout-trunk-predial-hook,") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/202-00049e6a", "") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/202-00049e6a", "0?bypass,1") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/202-00049e6a", "0?customtrunk") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-dialout-trunk:19] Dial("SIP/202-00049e6a", "SIP/mf_ved/<номер клиента>,300,") in new stack
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] netsock2.c: == Using SIP RTP TOS bits 184
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] netsock2.c: == Using SIP RTP CoS mark 5
[2017-11-27 10:12:56] VERBOSE[14406][C-0001acfc] app_dial.c: -- Called SIP/mf_ved/<номер клиента>
[2017-11-27 10:12:56] VERBOSE[14407][C-0001acfc] app_mixmonitor.c: == Begin MixMonitor Recording SIP/202-00049e6a
[2017-11-27 10:12:57] VERBOSE[14406][C-0001acfc] app_dial.c: -- SIP/mf_ved-00049e6b is making progress passing it to SIP/202-00049e6a
[2017-11-27 10:12:59] VERBOSE[14406][C-0001acfc] app_dial.c: -- SIP/mf_ved-00049e6b is ringing
[2017-11-27 10:13:11] VERBOSE[14406][C-0001acfc] app_dial.c: -- SIP/mf_ved-00049e6b answered SIP/202-00049e6a
[2017-11-27 10:15:22] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [h@macro-dialout-trunk:1] Macro("SIP/202-00049e6a", "hangupcall,") in new stack
[2017-11-27 10:15:22] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-hangupcall:1] GotoIf("SIP/202-00049e6a", "0?endmixmoncheck") in new stack
[2017-11-27 10:15:22] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-hangupcall:2] Set("SIP/202-00049e6a", "MIXMON_CALLFILENAME=/var/spool/asterisk/monitor/OUT202-20171127-101256-1511766776.302730.WAV") in new stack
[2017-11-27 10:15:22] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-hangupcall:3] GotoIf("SIP/202-00049e6a", "1?defaultmixmondir") in new stack
[2017-11-27 10:15:22] VERBOSE[14406][C-0001acfc] pbx.c: -- Goto (macro-hangupcall,s,5)
[2017-11-27 10:15:22] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-hangupcall:5] System("SIP/202-00049e6a", "test -e /var/spool/asterisk/monitor/OUT202-20171127-101256-1511766776.302730.WAV") in new stack
[2017-11-27 10:15:22] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-hangupcall:6] NoOp("SIP/202-00049e6a", "SYSTEMSTATUS = SUCCESS") in new stack
[2017-11-27 10:15:22] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-hangupcall:7] GotoIf("SIP/202-00049e6a", "1?endmixmoncheck") in new stack
[2017-11-27 10:15:22] VERBOSE[14406][C-0001acfc] pbx.c: -- Goto (macro-hangupcall,s,9)
[2017-11-27 10:15:22] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-hangupcall:9] NoOp("SIP/202-00049e6a", "End of MIXMON check") in new stack
[2017-11-27 10:15:22] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-hangupcall:10] GotoIf("SIP/202-00049e6a", "1?nomeetmemon") in new stack
[2017-11-27 10:15:22] VERBOSE[14406][C-0001acfc] pbx.c: -- Goto (macro-hangupcall,s,28)
[2017-11-27 10:15:22] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-hangupcall:28] NoOp("SIP/202-00049e6a", "End of MEETME check") in new stack
[2017-11-27 10:15:22] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-hangupcall:29] GotoIf("SIP/202-00049e6a", "1?noautomon") in new stack
[2017-11-27 10:15:22] VERBOSE[14406][C-0001acfc] pbx.c: -- Goto (macro-hangupcall,s,34)
[2017-11-27 10:15:22] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-hangupcall:34] NoOp("SIP/202-00049e6a", "TOUCH_MONITOR_OUTPUT=") in new stack
[2017-11-27 10:15:22] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-hangupcall:35] GotoIf("SIP/202-00049e6a", "1?noautomon2") in new stack
[2017-11-27 10:15:22] VERBOSE[14406][C-0001acfc] pbx.c: -- Goto (macro-hangupcall,s,41)
[2017-11-27 10:15:22] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-hangupcall:41] NoOp("SIP/202-00049e6a", "MONITOR_FILENAME=") in new stack
[2017-11-27 10:15:22] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-hangupcall:42] GotoIf("SIP/202-00049e6a", "1?skiprg") in new stack
[2017-11-27 10:15:22] VERBOSE[14406][C-0001acfc] pbx.c: -- Goto (macro-hangupcall,s,45)
[2017-11-27 10:15:22] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-hangupcall:45] GotoIf("SIP/202-00049e6a", "1?skipblkvm") in new stack
[2017-11-27 10:15:22] VERBOSE[14406][C-0001acfc] pbx.c: -- Goto (macro-hangupcall,s,48)
[2017-11-27 10:15:22] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-hangupcall:48] GotoIf("SIP/202-00049e6a", "1?theend") in new stack
[2017-11-27 10:15:22] VERBOSE[14406][C-0001acfc] pbx.c: -- Goto (macro-hangupcall,s,50)
[2017-11-27 10:15:22] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-hangupcall:50] AGI("SIP/202-00049e6a", "hangup.agi") in new stack
[2017-11-27 10:15:22] VERBOSE[14406][C-0001acfc] res_agi.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
[2017-11-27 10:15:22] VERBOSE[14406][C-0001acfc] res_agi.c: -- <SIP/202-00049e6a>AGI Script hangup.agi completed, returning 0
[2017-11-27 10:15:22] VERBOSE[14406][C-0001acfc] pbx.c: -- Executing [s@macro-hangupcall:51] Hangup("SIP/202-00049e6a", "") in new stack
[2017-11-27 10:15:22] VERBOSE[14406][C-0001acfc] app_macro.c: == Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'SIP/202-00049e6a' in macro 'hangupcall'
[2017-11-27 10:15:22] VERBOSE[14406][C-0001acfc] pbx.c: == Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/202-00049e6a'
[2017-11-27 10:15:22] VERBOSE[14406][C-0001acfc] app_macro.c: == Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'SIP/202-00049e6a' in macro 'dialout-trunk'
[2017-11-27 10:15:22] VERBOSE[14406][C-0001acfc] pbx.c: == Spawn extension (from-internal, <номер клиента>, 6) exited non-zero on 'SIP/202-00049e6a'
[2017-11-27 10:15:22] VERBOSE[14407][C-0001acfc] app_mixmonitor.c: == MixMonitor close filestream (mixed)
[2017-11-27 10:15:22] VERBOSE[14407][C-0001acfc] app_mixmonitor.c: == End MixMonitor Recording SIP/202-00049e6a