5500 звонит 2213, у которого стоит переадресация на мобильный.
5500 слышит гудки, мобильный же и вида не подаёт, что на него кто то пытается позвонить.
Код: Выделить всё
Called SIP/2213
-- Connected line update to Local/2213@from-internal-00000021;2 prevented.
-- Local/2213@from-internal-00000021;1 is ringing
-- Got SIP response 302 "Moved Temporarily" back from 172.22.6.109:5060
-- Now forwarding Local/2213@from-internal-00000021;2 to 'Local/989031234567@from-internal' (thanks to SIP/2213-00000028)
-- Local/2213@from-internal-00000021;1 redirecting info has changed, passing it to SIP/dx2060-00000027
-- Executing [989031234567@from-internal:1] Macro("Local/989031234567@from-internal-00000022;2", "user-callerid,LIMIT,EXTERNAL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("Local/989031234567@from-internal-00000022;2", "TOUCH_MONITOR=1453131626.110") in new stack
-- Executing [s@macro-user-callerid:2] Set("Local/989031234567@from-internal-00000022;2", "AMPUSER=5500") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("Local/989031234567@from-internal-00000022;2", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("Local/989031234567@from-internal-00000022;2", "0?Set(REALCALLERIDNUM=5500)") in new stack
-- Executing [s@macro-user-callerid:5] Set("Local/989031234567@from-internal-00000022;2", "AMPUSER=5500") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("Local/989031234567@from-internal-00000022;2", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("Local/989031234567@from-internal-00000022;2", "AMPUSERCIDNAME=ITHirCorp serv") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("Local/989031234567@from-internal-00000022;2", "0?report") in new stack
-- Executing [s@macro-user-callerid:9] Set("Local/989031234567@from-internal-00000022;2", "AMPUSERCID=5500") in new stack
-- Executing [s@macro-user-callerid:10] Set("Local/989031234567@from-internal-00000022;2", "__DIAL_OPTIONS=tTr") in new stack
-- Executing [s@macro-user-callerid:11] Set("Local/989031234567@from-internal-00000022;2", "CALLERID(all)="ITHirCorp serv" <5500>") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("Local/989031234567@from-internal-00000022;2", "0?limit") in new stack
-- Executing [s@macro-user-callerid:13] ExecIf("Local/989031234567@from-internal-00000022;2", "1?Set(GROUP(concurrency_limit)=5500)") in new stack
-- Executing [s@macro-user-callerid:14] ExecIf("Local/989031234567@from-internal-00000022;2", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:15] GotoIf("Local/989031234567@from-internal-00000022;2", "1?continue") in new stack
-- Goto (macro-user-callerid,s,28)
-- Executing [s@macro-user-callerid:28] Set("Local/989031234567@from-internal-00000022;2", "CALLERID(number)=5500") in new stack
-- Executing [s@macro-user-callerid:29] Set("Local/989031234567@from-internal-00000022;2", "CALLERID(name)=ITHirCorp serv") in new stack
-- Executing [s@macro-user-callerid:30] Set("Local/989031234567@from-internal-00000022;2", "CDR(cnum)=5500") in new stack
-- Executing [s@macro-user-callerid:31] Set("Local/989031234567@from-internal-00000022;2", "CDR(cnam)=ITHirCorp serv") in new stack
-- Executing [s@macro-user-callerid:32] Set("Local/989031234567@from-internal-00000022;2", "CHANNEL(language)=en") in new stack
-- Executing [989031234567@from-internal:2] Set("Local/989031234567@from-internal-00000022;2", "MOHCLASS=default") in new stack
-- Executing [989031234567@from-internal:3] Set("Local/989031234567@from-internal-00000022;2", "_NODEST=") in new stack
-- Executing [989031234567@from-internal:4] Gosub("Local/989031234567@from-internal-00000022;2", "sub-record-check,s,1(out,989031234567,)") in new stack
-- Executing [s@sub-record-check:1] Set("Local/989031234567@from-internal-00000022;2", "REC_POLICY_MODE_SAVE=dontcare") in new stack
-- Executing [s@sub-record-check:2] GotoIf("Local/989031234567@from-internal-00000022;2", "1?check") in new stack
-- Goto (sub-record-check,s,7)
-- Executing [s@sub-record-check:7] Set("Local/989031234567@from-internal-00000022;2", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:8] GotoIf("Local/989031234567@from-internal-00000022;2", "1?next") in new stack
-- Goto (sub-record-check,s,11)
-- Executing [s@sub-record-check:11] ExecIf("Local/989031234567@from-internal-00000022;2", "0?Return()") in new stack
-- Executing [s@sub-record-check:12] ExecIf("Local/989031234567@from-internal-00000022;2", "0?Set(__REC_POLICY_MODE=)") in new stack
-- Executing [s@sub-record-check:13] GotoIf("Local/989031234567@from-internal-00000022;2", "1?out,1") in new stack
-- Goto (sub-record-check,out,1)
-- Executing [out@sub-record-check:1] ExecIf("Local/989031234567@from-internal-00000022;2", "0?Set(__REC_POLICY_MODE=dontcare)") in new stack
-- Executing [out@sub-record-check:2] GosubIf("Local/989031234567@from-internal-00000022;2", "0?record,1(exten,989031234567,5500)") in new stack
-- Executing [out@sub-record-check:3] Return("Local/989031234567@from-internal-00000022;2", "") in new stack
-- Executing [989031234567@from-internal:5] Macro("Local/989031234567@from-internal-00000022;2", "dialout-trunk,1,79031234567,,off") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("Local/989031234567@from-internal-00000022;2", "DIAL_TRUNK=1") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("Local/989031234567@from-internal-00000022;2", "0?sub-pincheck,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("Local/989031234567@from-internal-00000022;2", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("Local/989031234567@from-internal-00000022;2", "DIAL_NUMBER=79031234567") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("Local/989031234567@from-internal-00000022;2", "DIAL_TRUNK_OPTIONS=tTr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("Local/989031234567@from-internal-00000022;2", "OUTBOUND_GROUP=OUT_1") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("Local/989031234567@from-internal-00000022;2", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("Local/989031234567@from-internal-00000022;2", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("Local/989031234567@from-internal-00000022;2", "DIAL_TRUNK_OPTIONS=Tt") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("Local/989031234567@from-internal-00000022;2", "outbound-callerid,1") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("Local/989031234567@from-internal-00000022;2", "1?Set(CALLERPRES()=allowed_not_screened)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("Local/989031234567@from-internal-00000022;2", "0?Set(REALCALLERIDNUM=5500)") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("Local/989031234567@from-internal-00000022;2", "0?normcid") in new stack
-- Executing [s@macro-outbound-callerid:4] Set("Local/989031234567@from-internal-00000022;2", "USEROUTCID=5500") in new stack
-- Executing [s@macro-outbound-callerid:5] GotoIf("Local/989031234567@from-internal-00000022;2", "0?bypass") in new stack
-- Executing [s@macro-outbound-callerid:6] Set("Local/989031234567@from-internal-00000022;2", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("Local/989031234567@from-internal-00000022;2", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("Local/989031234567@from-internal-00000022;2", "TRUNKOUTCID=74951110100") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("Local/989031234567@from-internal-00000022;2", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,14)
-- Executing [s@macro-outbound-callerid:14] ExecIf("Local/989031234567@from-internal-00000022;2", "1?Set(CALLERID(all)=74951110100)") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("Local/989031234567@from-internal-00000022;2", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:16] ExecIf("Local/989031234567@from-internal-00000022;2", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:17] ExecIf("Local/989031234567@from-internal-00000022;2", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:18] Set("Local/989031234567@from-internal-00000022;2", "CDR(outbound_cnum)=74951110100") in new stack
-- Executing [s@macro-outbound-callerid:19] Set("Local/989031234567@from-internal-00000022;2", "CDR(outbound_cnam)=") in new stack
-- Executing [s@macro-dialout-trunk:12] GosubIf("Local/989031234567@from-internal-00000022;2", "0?sub-flp-1,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("Local/989031234567@from-internal-00000022;2", "OUTNUM=79031234567") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("Local/989031234567@from-internal-00000022;2", "custom=SIP/dx2060") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("Local/989031234567@from-internal-00000022;2", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)") in new stack
-- Executing [s@macro-dialout-trunk:16] ExecIf("Local/989031234567@from-internal-00000022;2", "0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))") in new stack
-- Executing [s@macro-dialout-trunk:17] Macro("Local/989031234567@from-internal-00000022;2", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("Local/989031234567@from-internal-00000022;2", "") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("Local/989031234567@from-internal-00000022;2", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:19] ExecIf("Local/989031234567@from-internal-00000022;2", "1?Set(CONNECTEDLINE(num,i)=79031234567)") in new stack
-- Executing [s@macro-dialout-trunk:20] ExecIf("Local/989031234567@from-internal-00000022;2", "1?Set(CONNECTEDLINE(name,i)=CID:74951110100)") in new stack
-- Executing [s@macro-dialout-trunk:21] GotoIf("Local/989031234567@from-internal-00000022;2", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:22] Dial("Local/989031234567@from-internal-00000022;2", "SIP/dx2060/79031234567,300,Tt") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/dx2060/79031234567