S
S
Stas5062021-05-18 03:49:49
Asterisk
Stas506, 2021-05-18 03:49:49

Why is an incoming FreePBX call not going through?

This is what I see on an incoming call in the 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 [‎[email protected]:1] NoOp("SIP/TR-ENFORTA-3012204034-000014a7", "Catch-All DID Match - Found ‎73012204034 - You probably want a DID for this.") in new stack
-- Executing [‎[email protected]:2] Set("SIP/TR-ENFORTA-3012204034-000014a7", "__FROM_DID=‎73012204034") in new stack
-- Executing [‎[email protected]:3] Goto("SIP/TR-ENFORTA-3012204034-000014a7", "ext-did,s,1") in new stack
-- Goto (ext-did,s,1)
-- Executing [[email protected]:1 ] ExecIf("SIP/TR-ENFORTA-3012204034-000014a7", "0?Set(__FROM_DID=s)") in new stack
-- Executing [[email protected]:2] Gosub("SIP/TR-ENFORTA- 3012204034-000014a7", "app-blacklist-check,s,1()") in new stack
-- Executing [[email protected]:1] GotoIf("SIP/TR-ENFORTA-3012204034-000014a7", "0?check-blocked") in new stack
-- Executing [[email protected]:2] GotoIf("SIP/TR-ENFORTA-3012204034-000014a7", "0?check-blocked") in new stack
-- Executing [[email protected]:3] GotoIf("SIP/TR-ENFORTA-3012204034-000014a7", "0?check-blocked:check") in new stack
-- Goto (app-blacklist-check ,s,5)
-- Executing [[email protected]:5] GotoIf("SIP/TR-ENFORTA-3012204034-000014a7", "0?blacklisted") in new stack
-- Executing [[email protected] blacklist-check:6] Set("SIP/TR-ENFORTA-3012204034-000014a7", "CALLED_BLACKLIST=1") in new stack
-- Executing [[email protected]:7] Return("SIP/TR- ENFORTA-3012204034-000014a7", "") in new stack
-- Executing [[email protected]:3] Set("SIP/TR-ENFORTA-3012204034-000014a7", "CDR(did)=‎73012204034") in new stack
-- Executing [[email protected]:4]SIP/TR-ENFORTA-3012204034-000014a7", "0 ?Set(CALLERID(name)=+79836900468)") in new stack
-- Executing [[email protected]:5] Set("SIP/TR-ENFORTA-3012204034-000014a7", "CHANNEL(musicclass)=default") in new stack
-- Executing [[email protected]:6] Set("SIP/TR-ENFORTA-3012204034-000014a7", "__MOHCLASS=default") in new stack
-- Executing [[email protected]:7] Set("SIP/TR-ENFORTA-3012204034-000014a7", " __CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [[email protected]: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 registered. Incoming and outgoing routes are registered. Already recreated everything and the problem is the same ...

Answer the question

In order to leave comments, you need to log in

[[+comments_count]] answer(s)
S
Stas506, 2021-05-19
@Stas506

There was an incoming route without the specified dida. Turned it off and it worked.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question