== Spawn extension (from-internal, 246, 18) exited non-zero on 'SIP/240-000027frw*CLI> Got SIP response 480 "Temporarily not available" back from 212.199.2 -- Executing [s@macro-user-callerid:4] Set("SIP/246-000027f2", "AMPUSER=246") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/246-000027f2", "AMPUSERCIDNAME=IT") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/246-000027f2", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/246-000027f2", "AMPUSERCID=246") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/246-000027f2", "CALLERID(all)="IT" <246>") in new stack
-- Executing [s@macro-user-callerid:9] ExecIf("SIP/246-000027f2", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/246-000027f2", "1?continurw*CLI> Got SIP response 480 "Temporarily not available" back from 212.199.2 -- Executing [s@macro-user-callerid:20] Set("SIP/246-000027f2", "CALLERID(name)=IT") in new stack
-- Executing [s@macro-user-callerid:21] NoOp("SIP/246-000027f2", "Using CallerID "IT" <246>") in new stack
-- Executing [9*6900@from-internal:2] NoOp("SIP/246-000027f2", "Calling Out Route: 012_Main") in new stack
-- Executing [9*6900@from-internal:3] Set("SIP/246-000027f2", "MOHCLASS=default") in new stack
-- Executing [9*6900@from-internal:4] ExecIf("SIP/246-000027f2", "0?Set(TRUNKCIDOVERRIDE=722720350)") in new stack
-- Executing [9*6900@from-internal:5] Set("SIP/246-000027f2", "_NODEST=") in new stack
-- Executing [9*6900@from-internal:6] Macro("SIP/246-000027f2", "record-enable,246,OUT,") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/246-000027f2", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("SIP/246-000027f2", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("SIP/246-000027f2", "0?Group:OUT") in new stack
-- Goto (macro-record-enable,s,15)
-- Executing [s@macro-record-enable:15] GotoIf("SIP/246-000027f2", "0?IN") in new stack
-- Executing [s@macro-record-enable:16] ExecIf("SIP/246-000027f2", "1?MacroExrw*CLI> Got SIP response 480 "Temporarily not available" back from 212.199.2 -- Executing [s@macro-dialout-trunk:1] Set("SIP/246-000027f2", "DIAL_TRUNK=3") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/246-000027f2", "0?sub-pincheck,s,1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/246-000027f2", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/246-000027f2", "DIAL_NUMBER=*6900") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/246-000027f2", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/246-000027f2", "OUTBOUND_GROUP=OUT_3") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/246-000027f2", "0?nomax") rw*CLI> Got SIP response 480 "Temporarily not available" back from 212.199.2 -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/246-000027f2", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/246-000027f2", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/246-000027f2", "outbound-callerid,3") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/246-000027f2", "0?Set(rw*CLI> Got SIP response 480 "Temporarily not available" back from 212.199.2 -- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/246-000027f2", "USEROUTCID=722720246") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/246-000027f2", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/246-000027f2", "TRUNKOUTCrw*CLI> Got SIP response 480 "Temporarily not available" back from 212.199.2 -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/246-000027f2", "1?Set(CALLERID(all)=722720350)") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/246-000027f2", "1?Set(CALLERID(all)=722720246)") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/246-000027f2", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/246-000027f2", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/246-000027f2", "1?sub-flp-3,s,1") in new stack
-- Executing [s@sub-flp-3:1] ExecIf("SIP/246-000027f2", "1?Return()") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("SIP/246-000027f2", "OUTNUM=*6900") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/246-000027f2", "custom=SIP/0rw*CLI> Got SIP response 480 "Temporarily not available" back from 212.199.2 -- Executing [s@macro-dialout-trunk:16] Macro("SIP/246-000027f2", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/246-000027f2", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/246-000027f2", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/246-000027f2", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:19] Dial("SIP/246-000027f2", "SIP/012Mainrw*CLI> Got SIP response 480 "Temporarily not available" back from 212.199.2 == Using SIP RTP CoS mark 5 rw*CLI> Got SIP response 480 "Temporarily not available" back from 212.199.2 == Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'SIP/246-000027f2' in macro 'dialout-trunk'
== Spawn extension (from-internal, 9*6900, 7) exited non-zero on 'SIP/246-00002rw*CLI> Got SIP response 480 "Temporarily not available" back from 212.199.2 -- Goto (macro-hangupcall,s,3) rw*CLI> Got SIP response 480 "Temporarily not available" back from 212.199.2 -- Executing [s@macro-hangupcall:10] GotoIf("SIP/246-000027f2", "1?theend") in new stack
-- Goto (macro-hangupcall,s,12) rw*CLI> Got SIP response 480 "Temporarily not available" back from 212.199.2 == Spawn extension (macro-hangupcall, s, 12) exited non-zero on 'SIP/246-000027rw*
Отформатируйте свой лог или удалите его .
То что вы чего то выделили в макросе dialout-trunk , лишь переменная.
Из-за вашей каши , что Вы запостили не видно , что с строке Dial этого макроса.
Линия24 - Системы Массового Телефонного Обслуживания
-- Executing [s@macro-dialout-trunk:4] Set("SIP/246-0000283c", "DIAL_NUMBER=*6900") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/246-0000283c", "1?Set(CALLERID(all)=722720350)") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/246-0000283c", "1?Set(CALLERID(all)=722720246)") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/246-0000283c", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/246-0000283c", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/246-0000283c", "1?sub-flp-3,s,1") in new stack
-- Executing [s@sub-flp-3:1] ExecIf("SIP/246-0000283c", "1?Return()") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("SIP/246-0000283c", "OUTNUM=*6900") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/246-0000283c", "custom=SIP/012MainTrunkPeer") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/246-0000283c", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
-- Executing [s@macro-dialout-trunk:16] Macro("SIP/246-0000283c", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/246-0000283c", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/246-0000283c", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/246-0000283c", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:19] Dial("SIP/246-0000283c", "SIP/012MainTrunkPeer/*6900,300,") in new stack
== Using SIP RTP TOS bits 184