Сообщений: 32
|
Asterisk рвет связь...
Есть AsteriskNow. Там FreePBX обновленная до 2.7.0.0...
Астериск подключен к городу через SIP транки комстара. Если звонят из города на * - то все в порядке. А если с * в город, то аsterisk рвет связь через 30 секунд в 90% случаев. Остальные 10% - все в порядке...
Вот лог разованного звонка :
-- Executing [91662354@from-internal:1] Macro("SIP/6700-00000017", "user-callerid|SKIPTTL|") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/6700-00000017", "AMPUSER=6700") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/6700-00000017", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/6700-00000017", "1|Set|REALCALLERIDNUM=6700") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/6700-00000017", "AMPUSER=6700") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/6700-00000017", "AMPUSERCIDNAME=Test user") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/6700-00000017", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/6700-00000017", "AMPUSERCID=6700") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/6700-00000017", "CALLERID(all)="Test user" <6700>") in new stack
-- Executing [s@macro-user-callerid:9] ExecIf("SIP/6700-00000017", "0|Set|CHANNEL(language)=") in new stack
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/6700-00000017", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] NoOp("SIP/6700-00000017", "Using CallerID "Test user" <6700>") in new stack
-- Executing [91662354@from-internal:2] Set("SIP/6700-00000017", "_NODEST=") in new stack
-- Executing [91662354@from-internal:3] Macro("SIP/6700-00000017", "record-enable|6700|OUT|") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/6700-00000017", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("SIP/6700-00000017", "0|MacroExit|") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("SIP/6700-00000017", "0?Group:OUT") in new stack
-- Goto (macro-record-enable,s,16)
-- Executing [s@macro-record-enable:16] GotoIf("SIP/6700-00000017", "0?IN") in new stack
-- Executing [s@macro-record-enable:17] ExecIf("SIP/6700-00000017", "1|MacroExit|") in new stack
-- Executing [91662354@from-internal:4] Macro("SIP/6700-00000017", "dialout-trunk|1|1662354||") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/6700-00000017", "DIAL_TRUNK=1") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/6700-00000017", "0?sub-pincheck|s|1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/6700-00000017", "0?disabletrunk|1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/6700-00000017", "DIAL_NUMBER=1662354") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/6700-00000017", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/6700-00000017", "OUTBOUND_GROUP=OUT_1") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/6700-00000017", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/6700-00000017", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/6700-00000017", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/6700-00000017", "outbound-callerid|1") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/6700-00000017", "0|SetCallerPres|") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/6700-00000017", "0|Set|REALCALLERIDNUM=6700") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/6700-00000017", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/6700-00000017", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/6700-00000017", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/6700-00000017", "TRUNKOUTCID=8123180271") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/6700-00000017", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/6700-00000017", "1|Set|CALLERID(all)=8123180271") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/6700-00000017", "0|Set|CALLERID(all)=") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/6700-00000017", "0|Set|CALLERID(all)=") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/6700-00000017", "0|SetCallerPres|prohib_passed_screen") in new stack
-- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/6700-00000017", "0|AGI|fixlocalprefix") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("SIP/6700-00000017", "OUTNUM=1662354") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/6700-00000017", "custom=SIP/COMSTAR") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/6700-00000017", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)") in new stack
-- Executing [s@macro-dialout-trunk:16] Macro("SIP/6700-00000017", "dialout-trunk-predial-hook|") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/6700-00000017", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/6700-00000017", "0?bypass|1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/6700-00000017", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:19] Dial("SIP/6700-00000017", "SIP/COMSTAR/1662354|300|") in new stack
-- Called COMSTAR/1662354
-- SIP/COMSTAR-00000018 is making progress passing it to SIP/6700-00000017
-- SIP/COMSTAR-00000018 answered SIP/6700-00000017
-- Packet2Packet bridging SIP/6700-00000017 and SIP/COMSTAR-00000018
ВОТ ЗДЕСЬ ОТ 30 до 33 секунд... :( Всегда одно и то же...
-- Executing [h@macro-dialout-trunk:1] Macro("SIP/6700-00000017", "hangupcall|") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/6700-00000017", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] GotoIf("SIP/6700-00000017", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("SIP/6700-00000017", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] Hangup("SIP/6700-00000017", "") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/6700-00000017' in macro 'hangupcall'
== Spawn h extension (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/6700-00000017'
== Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'SIP/6700-00000017' in macro 'dialout-trunk'
== Spawn extension (from-internal, 91662354, 4) exited non-zero on 'SIP/6700-00000017'
Такое ощущение, что где-то что-то говорит про таймаут... Что делать?
|