Страница 1 из 1

Внезапно перестали работать исходящие вызовы

Добавлено: 21 июн 2017, 15:17
Beerbear
Использую связку asterisk13+freepbx13. Настроил через веб-интерфейс, всё замечательно работало несколько дней и вдруг, внезапно, перестали работать исходящие вызовы для всех внутренних номеров. Перезагрузка астериска ничего не дала, зависших сессий нет. При наборе через softphone звонки замечательно проходят. Подскажите куда копать.
Лог:
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
== Setting global variable 'SIPDOMAIN' to '192.168.0.74'
-- Executing [345674@from-internal:1] Macro("PJSIP/600-00000075", "user-callerid,LIMIT,EXTERNAL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("PJSIP/600-00000075", "TOUCH_MONITOR=1498047232.117") in new stack
-- Executing [s@macro-user-callerid:2] Set("PJSIP/600-00000075", "AMPUSER=600") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("PJSIP/600-00000075", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("PJSIP/600-00000075", "1?Set(REALCALLERIDNUM=600)") in new stack
-- Executing [s@macro-user-callerid:5] Set("PJSIP/600-00000075", "AMPUSER=600") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("PJSIP/600-00000075", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("PJSIP/600-00000075", "AMPUSERCIDNAME=test") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("PJSIP/600-00000075", "0?report") in new stack
-- Executing [s@macro-user-callerid:9] Set("PJSIP/600-00000075", "AMPUSERCID=600") in new stack
-- Executing [s@macro-user-callerid:10] Set("PJSIP/600-00000075", "__DIAL_OPTIONS=Ttr") in new stack
-- Executing [s@macro-user-callerid:11] Set("PJSIP/600-00000075", "CALLERID(all)="test" <600>") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("PJSIP/600-00000075", "0?limit") in new stack
-- Executing [s@macro-user-callerid:13] ExecIf("PJSIP/600-00000075", "1?Set(GROUP(concurrency_limit)=600)") in new stack
-- Executing [s@macro-user-callerid:14] GotoIf("PJSIP/600-00000075", "1?continue") in new stack
-- Goto (macro-user-callerid,s,27)
-- Executing [s@macro-user-callerid:27] Set("PJSIP/600-00000075", "CALLERID(number)=600") in new stack
-- Executing [s@macro-user-callerid:28] Set("PJSIP/600-00000075", "CALLERID(name)=test") in new stack
-- Executing [s@macro-user-callerid:29] GotoIf("PJSIP/600-00000075", "0?cnum") in new stack
-- Executing [s@macro-user-callerid:30] Set("PJSIP/600-00000075", "CDR(cnam)=test") in new stack
-- Executing [s@macro-user-callerid:31] Set("PJSIP/600-00000075", "CDR(cnum)=600") in new stack
-- Executing [s@macro-user-callerid:32] Set("PJSIP/600-00000075", "CHANNEL(language)=ru") in new stack
-- Executing [345674@from-internal:2] Gosub("PJSIP/600-00000075", "sub-record-check,s,1(out,345674,yes)") in new stack
-- Executing [s@sub-record-check:1] GotoIf("PJSIP/600-00000075", "0?initialized") in new stack
-- Executing [s@sub-record-check:2] Set("PJSIP/600-00000075", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:3] Set("PJSIP/600-00000075", "NOW=1498047232") in new stack
-- Executing [s@sub-record-check:4] Set("PJSIP/600-00000075", "__DAY=21") in new stack
-- Executing [s@sub-record-check:5] Set("PJSIP/600-00000075", "__MONTH=06") in new stack
-- Executing [s@sub-record-check:6] Set("PJSIP/600-00000075", "__YEAR=2017") in new stack
-- Executing [s@sub-record-check:7] Set("PJSIP/600-00000075", "__TIMESTR=20170621-151352") in new stack
-- Executing [s@sub-record-check:8] Set("PJSIP/600-00000075", "__FROMEXTEN=600") in new stack
-- Executing [s@sub-record-check:9] Set("PJSIP/600-00000075", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:10] NoOp("PJSIP/600-00000075", "Recordings initialized") in new stack
-- Executing [s@sub-record-check:11] ExecIf("PJSIP/600-00000075", "0?Set(ARG3=dontcare)") in new stack
-- Executing [s@sub-record-check:12] Set("PJSIP/600-00000075", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:13] ExecIf("PJSIP/600-00000075", "0?Set(REC_STATUS=NO)") in new stack
-- Executing [s@sub-record-check:14] GotoIf("PJSIP/600-00000075", "3?checkaction") in new stack
-- Goto (sub-record-check,s,17)
-- Executing [s@sub-record-check:17] GotoIf("PJSIP/600-00000075", "1?sub-record-check,out,1") in new stack
-- Goto (sub-record-check,out,1)
-- Executing [out@sub-record-check:1] NoOp("PJSIP/600-00000075", "Outbound Recording Check from 600 to 345674") in new stack
-- Executing [out@sub-record-check:2] Set("PJSIP/600-00000075", "RECMODE=dontcare") in new stack
-- Executing [out@sub-record-check:3] ExecIf("PJSIP/600-00000075", "1?Goto(routewins)") in new stack
-- Goto (sub-record-check,out,7)
-- Executing [out@sub-record-check:7] Gosub("PJSIP/600-00000075", "recordcheck,1(yes,out,345674)") in new stack
-- Executing [recordcheck@sub-record-check:1] NoOp("PJSIP/600-00000075", "Starting recording check against yes") in new stack
-- Executing [recordcheck@sub-record-check:2] Goto("PJSIP/600-00000075", "yes") in new stack
-- Goto (sub-record-check,recordcheck,9)
-- Executing [recordcheck@sub-record-check:9] ExecIf("PJSIP/600-00000075", "0?Return()") in new stack
-- Executing [recordcheck@sub-record-check:10] Set("PJSIP/600-00000075", "__REC_POLICY_MODE=YES") in new stack
-- Executing [recordcheck@sub-record-check:11] Goto("PJSIP/600-00000075", "startrec") in new stack
-- Goto (sub-record-check,recordcheck,16)
-- Executing [recordcheck@sub-record-check:16] NoOp("PJSIP/600-00000075", "Starting recording: out, 345674") in new stack
-- Executing [recordcheck@sub-record-check:17] Set("PJSIP/600-00000075", "AUDIOHOOK_INHERIT(MixMonitor)=yes") in new stack
-- Executing [recordcheck@sub-record-check:18] Set("PJSIP/600-00000075", "__CALLFILENAME=out-345674-600-20170621-151352-1498047232.117") in new stack
-- Executing [recordcheck@sub-record-check:19] MixMonitor("PJSIP/600-00000075", "2017/06/21/out-345674-600-20170621-151352-1498047232.117.wav,abi(LOCAL_MIXMON_ID),") in new stack
== Begin MixMonitor Recording PJSIP/600-00000075
-- Executing [recordcheck@sub-record-check:20] Set("PJSIP/600-00000075", "__MIXMON_ID=0x7f43d0772dd0") in new stack
-- Executing [recordcheck@sub-record-check:21] Set("PJSIP/600-00000075", "__RECORD_ID=PJSIP/600-00000075") in new stack
-- Executing [recordcheck@sub-record-check:22] Set("PJSIP/600-00000075", "__REC_STATUS=RECORDING") in new stack
-- Executing [recordcheck@sub-record-check:23] Set("PJSIP/600-00000075", "CDR(recordingfile)=out-345674-600-20170621-151352-1498047232.117.wav") in new stack
-- Executing [recordcheck@sub-record-check:24] Return("PJSIP/600-00000075", "") in new stack
-- Executing [out@sub-record-check:8] Return("PJSIP/600-00000075", "") in new stack
-- Executing [345674@from-internal:3] Set("PJSIP/600-00000075", "MOHCLASS=default") in new stack
-- Executing [345674@from-internal:4] Set("PJSIP/600-00000075", "_NODEST=") in new stack
-- Executing [345674@from-internal:5] Macro("PJSIP/600-00000075", "dialout-trunk,2,345674,,off") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("PJSIP/600-00000075", "DIAL_TRUNK=2") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("PJSIP/600-00000075", "0?sub-pincheck,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("PJSIP/600-00000075", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("PJSIP/600-00000075", "DIAL_NUMBER=345674") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("PJSIP/600-00000075", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("PJSIP/600-00000075", "OUTBOUND_GROUP=OUT_2") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("PJSIP/600-00000075", "0?nomax") in new stack
-- Executing [s@macro-dialout-trunk:8] GotoIf("PJSIP/600-00000075", "0?chanfull") in new stack
-- Executing [s@macro-dialout-trunk:9] GotoIf("PJSIP/600-00000075", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("PJSIP/600-00000075", "DIAL_TRUNK_OPTIONS=T") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("PJSIP/600-00000075", "outbound-callerid,2") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("PJSIP/600-00000075", "0?Set(CALLERPRES(name-pres)=)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("PJSIP/600-00000075", "0?Set(CALLERPRES(num-pres)=)") in new stack
-- Executing [s@macro-outbound-callerid:3] ExecIf("PJSIP/600-00000075", "0?Set(REALCALLERIDNUM=600)") in new stack
-- Executing [s@macro-outbound-callerid:4] GotoIf("PJSIP/600-00000075", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,7)
-- Executing [s@macro-outbound-callerid:7] Set("PJSIP/600-00000075", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("PJSIP/600-00000075", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:9] Set("PJSIP/600-00000075", "TRUNKOUTCID=74742242877") in new stack
-- Executing [s@macro-outbound-callerid:10] GotoIf("PJSIP/600-00000075", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,15)
-- Executing [s@macro-outbound-callerid:15] ExecIf("PJSIP/600-00000075", "1?Set(CALLERID(all)=74742242877)") in new stack
-- Executing [s@macro-outbound-callerid:16] ExecIf("PJSIP/600-00000075", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:17] ExecIf("PJSIP/600-00000075", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:18] ExecIf("PJSIP/600-00000075", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:19] ExecIf("PJSIP/600-00000075", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:20] Set("PJSIP/600-00000075", "CDR(outbound_cnum)=74742242877") in new stack
-- Executing [s@macro-outbound-callerid:21] Set("PJSIP/600-00000075", "CDR(outbound_cnam)=") in new stack
-- Executing [s@macro-dialout-trunk:12] GosubIf("PJSIP/600-00000075", "0?sub-flp-2,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("PJSIP/600-00000075", "OUTNUM=345674") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("PJSIP/600-00000075", "custom=PJSIP") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("PJSIP/600-00000075", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)") in new stack
-- Executing [s@macro-dialout-trunk:16] ExecIf("PJSIP/600-00000075", "0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))") in new stack
-- Executing [s@macro-dialout-trunk:17] Macro("PJSIP/600-00000075", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("PJSIP/600-00000075", "") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("PJSIP/600-00000075", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:19] ExecIf("PJSIP/600-00000075", "1?Set(CONNECTEDLINE(num,i)=345674)") in new stack
-- Executing [s@macro-dialout-trunk:20] ExecIf("PJSIP/600-00000075", "1?Set(CONNECTEDLINE(name,i)=CID:74742242877)") in new stack
-- Executing [s@macro-dialout-trunk:21] ExecIf("PJSIP/600-00000075", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)74742242877)") in new stack
-- Executing [s@macro-dialout-trunk:22] GotoIf("PJSIP/600-00000075", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:23] Dial("PJSIP/600-00000075", "PJSIP/345674@242877,300,T") in new stack
-- Called PJSIP/345674@242877
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dialout-trunk:24] NoOp("PJSIP/600-00000075", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 1") in new stack
-- Executing [s@macro-dialout-trunk:25] GotoIf("PJSIP/600-00000075", "0?continue,1:s-CHANUNAVAIL,1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("PJSIP/600-00000075", "RC=1") in new stack
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("PJSIP/600-00000075", "1,1") in new stack
-- Goto (macro-dialout-trunk,1,1)
-- Executing [1@macro-dialout-trunk:1] Goto("PJSIP/600-00000075", "s-INVALIDNMBR,1") in new stack
-- Goto (macro-dialout-trunk,s-INVALIDNMBR,1)
-- Executing [s-INVALIDNMBR@macro-dialout-trunk:1] NoOp("PJSIP/600-00000075", "Dial failed due to trunk reporting Address Incomplete - giving up") in new stack
-- Executing [s-INVALIDNMBR@macro-dialout-trunk:2] Progress("PJSIP/600-00000075", "") in new stack
-- Executing [s-INVALIDNMBR@macro-dialout-trunk:3] Playback("PJSIP/600-00000075", "ss-noservice,noanswer") in new stack
-- <PJSIP/600-00000075> Playing 'ss-noservice.ulaw' (language 'ru')
-- Executing [s-INVALIDNMBR@macro-dialout-trunk:4] Busy("PJSIP/600-00000075", "20") in new stack
[2017-06-21 15:13:57] WARNING[25259][C-00000035]: channel.c:4991 ast_prod: Prodding channel 'PJSIP/600-00000075' failed
== Spawn extension (macro-dialout-trunk, s-INVALIDNMBR, 4) exited non-zero on 'PJSIP/600-00000075' in macro 'dialout-trunk'
== Spawn extension (from-internal, 345674, 5) exited non-zero on 'PJSIP/600-00000075'
-- Executing [h@from-internal:1] Macro("PJSIP/600-00000075", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("PJSIP/600-00000075", "1?theend") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] ExecIf("PJSIP/600-00000075", "0?Set(CDR(recordingfile)=)") in new stack
-- Executing [s@macro-hangupcall:4] Hangup("PJSIP/600-00000075", "") in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'PJSIP/600-00000075' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'PJSIP/600-00000075'
== MixMonitor close filestream (mixed)
== End MixMonitor Recording PJSIP/600-00000075
При наборе через

Re: Внезапно перестали работать исходящие вызовы

Добавлено: 21 июн 2017, 16:17
april22

Код: Выделить всё

Executing [s@macro-dialout-trunk:24] NoOp("PJSIP/600-00000075", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 1") in new stack
и убирайте портянки под споллер :-) для Вас его придумали ... а то у меня палец уже заболел - мотать ....

Re: Внезапно перестали работать исходящие вызовы

Добавлено: 21 июн 2017, 18:38
Beerbear
и убирайте портянки под споллер :-) для Вас его придумали ... а то у меня палец уже заболел - мотать ....
Спасибо за подсказку. Все оказалось просто в транках cid стоял 11 ти значный, когда поменял на 6- ти значный заработало. Я правда не понимаю почему до этого момента работало 11 знаков, но может кому поможет.Номера мегафоновские городские. По поводу спойлеров буду иметь ввиду. Просто на форумах наверное всего пару раз что то писал не слишком хорошо знаком с форумной культурой)).

Re: Внезапно перестали работать исходящие вызовы

Добавлено: 21 июн 2017, 20:52
ded
Beerbear писал(а): Перезагрузка астериска ничего не дала
Может попробовать всё переустановить? Или хотя бы Windows 10 установить снова?
Почему используете PJSIP ?? Хорошо в нём разбираетесь? Или хотите быть тестером нового канала в проекте Астериск?
Откуда такая форма нобора - PJSIP/345674@242877 ?
Вместо рекомендуемой - Технология/пир/экстен ?