Добрый день уважаемое сообщество! Приветствую всех любителей этого интересного..
Суть: Периодически, при наборе с вн. номера 103 каких-либо внешних номеров, звонок пробрасывается (подключается) на другие вн.номера X_____X, иногда даже активируется громкая связь. X_x !!!!
Удалось поймать ситуацию, каким-то образом втянулся вн.104
Не понимаю судьбу канала 0000081e
Буду благодарен за мастерство, сам в замешательстве. Свежий SPA504G, в настройках аппарата ничего сверхординарного не вижу.. Откровенно странная хрень в моих глазах.
В варианте Verbose 4, в логах следующее:
pbx.c: -- Executing [89871111111@from-internal:6] Macro("SIP/103-0000081c", "dialout-trunk,3,89871111111,,off") in new stack
pbx.c: -- Executing [s@macro-dialout-trunk:1] Set("SIP/103-0000081c", "DIAL_TRUNK=3") in new stack
pbx.c: -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/103-0000081c", "0?sub-pincheck,s,1()") in new stack
pbx.c: -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/103-0000081c", "0?disabletrunk,1") in new stack
pbx.c: -- Executing [s@macro-dialout-trunk:4] Set("SIP/103-0000081c", "DIAL_NUMBER=89871111111") in new stack
pbx.c: -- Executing [s@macro-dialout-trunk:5] Set("SIP/103-0000081c", "DIAL_TRUNK_OPTIONS=tr") in new stack
pbx.c: -- Executing [s@macro-dialout-trunk:6] Set("SIP/103-0000081c", "OUTBOUND_GROUP=OUT_3") in new stack
pbx.c: -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/103-0000081c", "0?nomax") in new stack
pbx.c: -- Executing [s@macro-dialout-trunk:8] GotoIf("SIP/103-0000081c", "0?chanfull") in new stack
pbx.c: -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/103-0000081c", "0?skipoutcid") in new stack
pbx.c: -- Executing [s@macro-dialout-trunk:10] Set("SIP/103-0000081c", "DIAL_TRUNK_OPTIONS=") in new stack
pbx.c: -- Executing [s@macro-dialout-trunk:11] Macro("SIP/103-0000081c", "outbound-callerid,3") in new stack
pbx.c: -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/103-0000081c", "0?Set(CALLERPRES()=)") in new stack
pbx.c: -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/103-0000081c", "0?Set(REALCALLERIDNUM=103)") in new stack
pbx.c: -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/103-0000081c", "1?normcid") in new stack
pbx.c: -- Goto (macro-outbound-callerid,s,6)
pbx.c: -- Executing [s@macro-outbound-callerid:6] Set("SIP/103-0000081c", "USEROUTCID=") in new stack
pbx.c: -- Executing [s@macro-outbound-callerid:7] Set("SIP/103-0000081c", "EMERGENCYCID=") in new stack
pbx.c: -- Executing [s@macro-outbound-callerid:8] Set("SIP/103-0000081c", "TRUNKOUTCID=84990000000") in new stack
pbx.c: -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/103-0000081c", "1?trunkcid") in new stack
pbx.c: -- Goto (macro-outbound-callerid,s,14)
pbx.c: -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/103-0000081c", "1?Set(CALLERID(all)=84990000000)") in new stack
pbx.c: -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/103-0000081c", "0?Set(CALLERID(all)=)") in new stack
pbx.c: -- Executing [s@macro-outbound-callerid:16] ExecIf("SIP/103-0000081c", "1?Set(CALLERID(all)=84990000000)") in new stack
pbx.c: -- Executing [s@macro-outbound-callerid:17] ExecIf("SIP/103-0000081c", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
pbx.c: -- Executing [s@macro-outbound-callerid:18] Set("SIP/103-0000081c", "CDR(outbound_cnum)=84990000000") in new stack
pbx.c: -- Executing [s@macro-outbound-callerid:19] Set("SIP/103-0000081c", "CDR(outbound_cnam)=") in new stack
pbx.c: -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/103-0000081c", "0?sub-flp-3,s,1()") in new stack
pbx.c: -- Executing [s@macro-dialout-trunk:13] Set("SIP/103-0000081c", "OUTNUM=89871111111") in new stack
pbx.c: -- Executing [s@macro-dialout-trunk:14] Set("SIP/103-0000081c", "custom=SIP/114642") in new stack
pbx.c: -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/103-0000081c", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
pbx.c: -- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/103-0000081c", "0?Set(DIAL_TRUNK_OPTIONS=M(confirm))") in new stack
pbx.c: -- Executing [s@macro-dialout-trunk:17] Macro("SIP/103-0000081c", "dialout-trunk-predial-hook,") in new stack
pbx.c: -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/103-0000081c", "") in new stack
pbx.c: -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/103-0000081c", "0?bypass,1") in new stack
pbx.c: -- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/103-0000081c", "1?Set(CONNECTEDLINE(num,i)=89871111111)") in new stack
pbx.c: -- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/103-0000081c", "1?Set(CONNECTEDLINE(name,i)=CID:84990000000)") in new stack
pbx.c: -- Executing [s@macro-dialout-trunk:21] GotoIf("SIP/103-0000081c", "0?customtrunk") in new stack
pbx.c: -- Executing [s@macro-dialout-trunk:22] Dial("SIP/103-0000081c", "SIP/114642/89871111111,300,") in new stack
netsock2.c: == Using SIP RTP TOS bits 184
netsock2.c: == Using SIP RTP CoS mark 5
app_dial.c: -- Called SIP/114642/89871111111
res_rtp_asterisk.c: > 0x7f6cec03a560 -- Probation passed - setting RTP source address to 62.211.11.211:29210
app_dial.c: -- SIP/114642-0000081e is ringing
app_dial.c: -- SIP/114642-0000081e is making progress passing it to SIP/103-0000081c
res_rtp_asterisk.c: > 0x7f6cec03a560 -- Probation passed - setting RTP source address to 62.211.11.211:29210
res_rtp_asterisk.c: > 0x7f6cc80587b0 -- Probation passed - setting RTP source address to 192.168.5.52:16412
app_macro.c: == Spawn extension (from-internal, 104, 1) exited non-zero on 'SIP/103-0000081c' in macro 'dialout-trunk'
pbx.c: == Spawn extension (from-internal, 104, 1) exited non-zero on 'SIP/103-0000081c'
pbx.c: -- Executing [104@from-internal:1] Set("SIP/103-0000081c", "__RINGTIMER=15") in new stack
pbx.c: -- Executing [104@from-internal:2] Macro("SIP/103-0000081c", "exten-vm,novm,104,0,0,0") in new stack
pbx.c: -- Executing [s@macro-exten-vm:1] Macro("SIP/103-0000081c", "user-callerid,") in new stack
pbx.c: -- Executing [s@macro-user-callerid:1] Set("SIP/103-0000081c", "TOUCH_MONITOR=1613568757.2076") in new stack
pbx.c: -- Executing [s@macro-user-callerid:2] Set("SIP/103-0000081c", "AMPUSER=103") in new stack
pbx.c: -- Executing [s@macro-user-callerid:3] GotoIf("SIP/103-0000081c", "3?report") in new stack
pbx.c: -- Goto (macro-user-callerid,s,15)
pbx.c: -- Executing [s@macro-user-callerid:15] GotoIf("SIP/103-0000081c", "0?continue") in new stack
pbx.c: -- Executing [s@macro-user-callerid:16] Set("SIP/103-0000081c", "__TTL=64") in new stack
pbx.c: -- Executing [s@macro-user-callerid:17] GotoIf("SIP/103-0000081c", "1?continue") in new stack
pbx.c: -- Goto (macro-user-callerid,s,28)
pbx.c: -- Executing [s@macro-user-callerid:28] Set("SIP/103-0000081c", "CALLERID(number)=84990000000") in new stack
pbx.c: -- Executing [s@macro-user-callerid:29] Set("SIP/103-0000081c", "CALLERID(name)=") in new stack
pbx.c: -- Executing [s@macro-user-callerid:30] Set("SIP/103-0000081c", "CDR(cnum)=84990000000") in new stack
pbx.c: -- Executing [s@macro-user-callerid:31] Set("SIP/103-0000081c", "CDR(cnam)=") in new stack
pbx.c: -- Executing [s@macro-user-callerid:32] Set("SIP/103-0000081c", "CHANNEL(language)=en") in new stack
pbx.c: -- Executing [s@macro-exten-vm:2] Set("SIP/103-0000081c", "RingGroupMethod=none") in new stack
pbx.c: -- Executing [s@macro-exten-vm:3] Set("SIP/103-0000081c", "__EXTTOCALL=104") in new stack