@Stas506

Почему не проходит входящий звонок FreePBX?

Вот что я вижу при входящем звонке в CLI
pbx*CLI>
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('CHAN_START',{ts '2021-05-18 08:25:33'},'Ulan-Ude','+79836900468','','','','‎73012204034','from-trunk','SIP/TR-ENFORTA-3012204034-000014a7','','',3,'','1621297533.12072','1621297533.12072','','','')]
-- Executing [‎73012204034@from-trunk:1] NoOp("SIP/TR-ENFORTA-3012204034-000014a7", "Catch-All DID Match - Found ‎73012204034 - You probably want a DID for this.") in new stack
-- Executing [‎73012204034@from-trunk:2] Set("SIP/TR-ENFORTA-3012204034-000014a7", "__FROM_DID=‎73012204034") in new stack
-- Executing [‎73012204034@from-trunk:3] Goto("SIP/TR-ENFORTA-3012204034-000014a7", "ext-did,s,1") in new stack
-- Goto (ext-did,s,1)
-- Executing [s@ext-did:1] ExecIf("SIP/TR-ENFORTA-3012204034-000014a7", "0?Set(__FROM_DID=s)") in new stack
-- Executing [s@ext-did:2] Gosub("SIP/TR-ENFORTA-3012204034-000014a7", "app-blacklist-check,s,1()") in new stack
-- Executing [s@app-blacklist-check:1] GotoIf("SIP/TR-ENFORTA-3012204034-000014a7", "0?check-blocked") in new stack
-- Executing [s@app-blacklist-check:2] GotoIf("SIP/TR-ENFORTA-3012204034-000014a7", "0?check-blocked") in new stack
-- Executing [s@app-blacklist-check:3] GotoIf("SIP/TR-ENFORTA-3012204034-000014a7", "0?check-blocked:check") in new stack
-- Goto (app-blacklist-check,s,5)
-- Executing [s@app-blacklist-check:5] GotoIf("SIP/TR-ENFORTA-3012204034-000014a7", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:6] Set("SIP/TR-ENFORTA-3012204034-000014a7", "CALLED_BLACKLIST=1") in new stack
-- Executing [s@app-blacklist-check:7] Return("SIP/TR-ENFORTA-3012204034-000014a7", "") in new stack
-- Executing [s@ext-did:3] Set("SIP/TR-ENFORTA-3012204034-000014a7", "CDR(did)=‎73012204034") in new stack
-- Executing [s@ext-did:4] ExecIf("SIP/TR-ENFORTA-3012204034-000014a7", "0 ?Set(CALLERID(name)=+79836900468)") in new stack
-- Executing [s@ext-did:5] Set("SIP/TR-ENFORTA-3012204034-000014a7", "CHANNEL(musicclass)=default") in new stack
-- Executing [s@ext-did:6] Set("SIP/TR-ENFORTA-3012204034-000014a7", "__MOHCLASS=default") in new stack
-- Executing [s@ext-did:7] Set("SIP/TR-ENFORTA-3012204034-000014a7", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [s@ext-did:8] Set("SIP/TR-ENFORTA-3012204034-000014a7", "CALLERPRES()=allowed_not_screened") in new stack
-- Executing [s@ext-did:9] Goto("SIP/TR-ENFORTA-3012204034-000014a7", "ext-trunk,29,1") in new stack
-- Goto (ext-trunk,29,1)
[2021-05-18 08:25:33] WARNING[13452][C-00019b12]: pbx.c:6390 __ast_pbx_run: Channel 'SIP/TR-ENFORTA-3012204034-000014a7' sent to invalid extension but no invalid handler: context,exten,priority=ext-trunk,29,1
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('HANGUP',{ts '2021-05-18 08:25:33'},'Ulan-Ude','+79836900468','+79836900468','','‎73012204034','29','ext-trunk','SIP/TR-ENFORTA-3012204034-000014a7','','',3,'','1621297533.12072','1621297533.12072','','','')]
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('CHAN_END',{ts '2021-05-18 08:25:33'},'Ulan-Ude','+79836900468','+79836900468','','‎73012204034','29','ext-trunk','SIP/TR-ENFORTA-3012204034-000014a7','','',3,'','1621297533.12072','1621297533.12072','','','')]
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('LINKEDID_END',{ts '2021-05-18 08:25:33'},'Ulan-Ude','+79836900468','+79836900468','','‎73012204034','29','ext-trunk','SIP/TR-ENFORTA-3012204034-000014a7','','',3,'','1621297533.12072','1621297533.12072','','','')]
pbx*CLI>

SIP зареган. Входящие и исходящие маршруты прописаны. Уже всё пересоздавал и проблема одна и таже...
  • Вопрос задан
  • 920 просмотров
Решения вопроса 1
@Stas506 Автор вопроса
Был входящий маршрут без указанного дида. Его отключил и заработало.
Ответ написан
Комментировать
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы