Сообщений: 14
|
Помогите с исходящим маршрутом
Собственно сабж...
Имеется Elastix 1.6-12 + FreePBX 2.5.2.3, многоканалка из 10-ти городских номеров в качестве транков... SIP-провайдер - доблесный ЮТК. Входящие звонки поступают на ура, регистрация есть
ххх.ххх.ххх.ххх:5070 yyyyyyy 285 Registered Thu, 03 Jun 2010 22:28:25
ххх.ххх.ххх.ххх:5070 yyyyyyy 285 Registered Thu, 03 Jun 2010 22:28:25
.....
ххх.ххх.ххх.ххх:5070 yyyyyyy 285 Registered Thu, 03 Jun 2010 22:28:25
внутренние номера принимают звонки извне, и между собой перезваниваются
но вот проблема исходящие звонки не поступают, при этом в линии играет музыка (вместо гудков) но реального дозвона нет, в консоли астериска пишет следующее:
-- Executing [zzzzzzzzzzzzzz@from-internal:1] Macro("SIP/111-b6c167e8", "user-callerid|SKIPTTL|") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/111-b6c167e8", "AMPUSER=111") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/111-b6c167e8", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/111-b6c167e8", "1|Set|REALCALLERIDNUM=111") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/111-b6c167e8", "AMPUSER=111") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/111-b6c167e8", "AMPUSERCIDNAME=admin") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/111-b6c167e8", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/111-b6c167e8", "AMPUSERCID=111") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/111-b6c167e8", "CALLERID(all)="admin" <111>") in new stack
-- Executing [s@macro-user-callerid:9] ExecIf("SIP/111-b6c167e8", "0|Set|CHANNEL(language)=") in new stack
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/111-b6c167e8", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] NoOp("SIP/111-b6c167e8", "Using CallerID "admin" <111>") in new stack
-- Executing [zzzzzzzzzzzzzz@from-internal:2] Set("SIP/111-b6c167e8", "_NODEST=") in new stack
-- Executing [zzzzzzzzzzzzzz@from-internal:3] Macro("SIP/111-b6c167e8", "record-enable|111|OUT|") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/111-b6c167e8", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("SIP/111-b6c167e8", "recordingcheck|20100603-223717|1275590237.62") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20100603-223717|1275590237.62: Outbound recording enabled.
recordingcheck|20100603-223717|1275590237.62: CALLFILENAME=OUT111-20100603-223717-1275590237.62
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:999] MixMonitor("SIP/111-b6c167e8", "OUT111-20100603-223717-1275590237.62.wav||") in new stack
-- Executing [zzzzzzzzzzzzzz@from-internal:4] Macro("SIP/111-b6c167e8", "dialout-trunk|2|zzzzzzzzzzzzzz||") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/111-b6c167e8", "DIAL_TRUNK=2") in new stack
== Begin MixMonitor Recording SIP/111-b6c167e8
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/111-b6c167e8", "0?sub-pincheck|s|1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/111-b6c167e8", "0?disabletrunk|1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/111-b6c167e8", "DIAL_NUMBER=zzzzzzzzzzzzzz") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/111-b6c167e8", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/111-b6c167e8", "OUTBOUND_GROUP=OUT_2") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/111-b6c167e8", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/111-b6c167e8", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/111-b6c167e8", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/111-b6c167e8", "outbound-callerid|2") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/111-b6c167e8", "0|SetCallerPres|") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/111-b6c167e8", "0|Set|REALCALLERIDNUM=111") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/111-b6c167e8", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/111-b6c167e8", "USEROUTCID=yyyyyyyyy") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/111-b6c167e8", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/111-b6c167e8", "TRUNKOUTCID="yyyyyyyyy" <yyyyyyyyy>") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/111-b6c167e8", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/111-b6c167e8", "1|Set|CALLERID(all)=yyyyyyyyy <yyyyyyyyy>") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/111-b6c167e8", "1|Set|CALLERID(all)=yyyyyyyyy") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/111-b6c167e8", "0|SetCallerPres|prohib_passed_screen") in new stack
-- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/111-b6c167e8", "0|AGI|fixlocalprefix") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("SIP/111-b6c167e8", "OUTNUM=zzzzzzzzzzzzzz") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/111-b6c167e8", "custom=SIP/yyyyyyyyy") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/111-b6c167e8", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)") in new stack
-- Executing [s@macro-dialout-trunk:16] Macro("SIP/111-b6c167e8", "dialout-trunk-predial-hook|") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/111-b6c167e8", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/111-b6c167e8", "0?bypass|1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/111-b6c167e8", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:19] Dial("SIP/111-b6c167e8", "SIP/yyyyyyyy/zzzzzzzzzzzzzz|300|") in new stack
-- Called yyyyyyyy/zzzzzzzzzzzzzz
-- Call on SIP/yyyyyyyyyy-085c7498 placed on hold
-- Started music on hold, class 'default', on SIP/111-b6c167e8
-- SIP/yyyyyyyy-085c7498 is making progress passing it to SIP/111-b6c167e8
Собственно вопрос: это у меня чето не так, или ЮТК надо долбить? Я просто чайник еще в этом, а зделать надо очень... :(
З.Ы. Если есть решения, или намеки где еще можно какие логи посмотреть (которые в этой проблеме помогут) подскажите, плиз, не стесняйтесь.
З.Ы.Ы. Для особо одаренных поясняю
yyyyyyyyy = городской номер из многоканалки
zzzzzzzzzzz = набираемый номер
xxx.xxx.xxx.xxx = IP SIP провайдера (ЮТК)
|