Local authorities with "blocked" caller ID

I am involved in a broadcast group… with a newsroom…
With a recent install of our Freepbx we have a bit of a problem getting calls from the local police/fire/ambulance.
Each of these teams use “blocked” caller IDs. We do not use sip access, and are getting ALL of our calls via a PRI with the local telco… but we do not receive these “blocked” calls into our system.

Is there any way to un-block / allow these calls into our newsroom?

sounds like the block is coming from their telco. You can have the caller dial *67 first before calling you. That will temporally unblocks caller ID of have them remove the caller id block from their outgoing calls.

great idea… but a bit of a problem… the *67 is a command that they cannot use since they too are using a PRI / PBX system that has that blocked… so that they are “always blocked” with their caller id…

Next???

oh… as an aside… when they call my cell phone… it has a caller id of “BLOCKED”

Visit the Admin > Blacklist module and make sure that you are not automatically blocking the calls. You may also want to paste a log of one of the calls, so we can see more details about what is happening.

I am a little confused, if your users are using “blocking” (you were not explicit in what that means though) and the calls are coming in identified as “BLOCKED” , why are you surprised that they don’t get through?

See Preston’s answer. If that doesn’t fix it, the problem is on your carrier’s end…

There’s a chance that your inbound route does not match for some reason, too. Double check that you have a “Any DID/Any CallerID” rule that is last in line to ensure that all calls end up somewhere.

Tom

sorry for the delay in responding… Christmas tends to do that to us Canuks!

I have checked that I have incoming routes for “any CID” for the DID that is being affected… (our news que), and the problem continues.

It appears that the real problem is that the “any CID” does not like the caller id of “Blocked” which is what is being sent from these EMS services phones.

Should I try to build an inbound route that has the word “BLOCKED” as a caller ID, and just route that to my IVR? or Que?.. or would this even work? (again it is a working system, so I am asking prior to actually implementing and trying it)

Hope you have a Happy New Year…

I thought that I had this one… but now it appears to have come back to bite me…
Here is the log of this mornings attempted call:

[2015-02-09
09:21:41] VERBOSE[4207][C-0000393f] sig_pri.c: – Accepting call from
’’ to ‘8008’ on channel 0/20, span 1
[2015-02-09 09:21:41]
VERBOSE[20552][C-0000393f] pbx.c: – Executing [8008@from-digital:1]
Set(“DAHDI/i1/-690”, “__FROM_DID=8008”) in new
stack
[2015-02-09 09:21:41] VERBOSE[20552][C-0000393f] pbx.c: –
Executing [8008@from-digital:2] Gosub(“DAHDI/i1/-690”,
“app-blacklist-check,s,1()”) in new stack
[2015-02-09
09:21:41] VERBOSE[20552][C-0000393f] pbx.c: – Executing
[s@app-blacklist-check:1] GotoIf(“DAHDI/i1/-690”,
“0?blacklisted”) in new stack
[2015-02-09 09:21:41]
VERBOSE[20552][C-0000393f] pbx.c: – Executing
[s@app-blacklist-check:2] Set(“DAHDI/i1/-690”,
“CALLED_BLACKLIST=1”) in new stack
[2015-02-09 09:21:41]
VERBOSE[20552][C-0000393f] pbx.c: – Executing
[s@app-blacklist-check:3] Return(“DAHDI/i1/-690”, “”)
in new stack
[2015-02-09 09:21:41] VERBOSE[20552][C-0000393f]
pbx.c: – Executing [8008@from-digital:3] Set(“DAHDI/i1/-690”,
“CDR(did)=8008”) in new stack
[2015-02-09 09:21:41]
VERBOSE[20552][C-0000393f] pbx.c: – Executing [8008@from-digital:4]
ExecIf(“DAHDI/i1/-690”, “1 ?Set(CALLERID(name)=)”)
in new stack
[2015-02-09 09:21:41] VERBOSE[20552][C-0000393f]
pbx.c: – Executing [8008@from-digital:5] Set(“DAHDI/i1/-690”,
“CHANNEL(musicclass)=CHAT”) in new stack
[2015-02-09
09:21:41] VERBOSE[20552][C-0000393f] pbx.c: – Executing
[8008@from-digital:6] Set(“DAHDI/i1/-690”,
"__MOHCLASS=CHAT") in new stack
[2015-02-09 09:21:41]
VERBOSE[20552][C-0000393f] pbx.c: – Executing [8008@from-digital:7]
Set(“DAHDI/i1/-690”, “__CALLINGPRES_SV=prohib”)
in new stack
[2015-02-09 09:21:41] VERBOSE[20552][C-0000393f]
pbx.c: – Executing [8008@from-digital:8] Set(“DAHDI/i1/-690”,
“CALLERPRES()=allowed_not_screened”) in new
stack
[2015-02-09 09:21:41] VERBOSE[20552][C-0000393f] pbx.c: –
Executing [8008@from-digital:9] Goto(“DAHDI/i1/-690”,
“ext-group,600,1”) in new stack
[2015-02-09 09:21:41]
VERBOSE[20552][C-0000393f] pbx.c: – Goto
(ext-group,600,1)
[2015-02-09 09:21:41] VERBOSE[20552][C-0000393f]
pbx.c: – Executing [600@ext-group:1] Set(“DAHDI/i1/-690”,
“COS_DEST=600”) in new stack
[2015-02-09 09:21:41]
VERBOSE[20552][C-0000393f] pbx.c: – Executing [600@ext-group:2]
Set(“DAHDI/i1/-690”, “COS_TYPE=RINGGROUP”) in new
stack
[2015-02-09 09:21:41] VERBOSE[20552][C-0000393f] pbx.c: –
Executing [600@ext-group:3] Macro(“DAHDI/i1/-690”,
“user-callerid,”) in new stack
[2015-02-09 09:21:41]
VERBOSE[20552][C-0000393f] pbx.c: – Executing
[s@macro-user-callerid:1] Set(“DAHDI/i1/-690”,
“TOUCH_MONITOR=1423498901.32779”) in new stack
[2015-02-09
09:21:41] VERBOSE[20552][C-0000393f] pbx.c: – Executing
[s@macro-user-callerid:2] Set(“DAHDI/i1/-690”, “AMPUSER=”)
in new stack
[2015-02-09 09:21:41] VERBOSE[20552][C-0000393f]
pbx.c: – Executing [s@macro-user-callerid:3] GotoIf(“DAHDI/i1/-690”,
“0?report”) in new stack
[2015-02-09 09:21:41]
VERBOSE[20552][C-0000393f] pbx.c: – Executing
[s@macro-user-callerid:4] ExecIf(“DAHDI/i1/-690”,
“1?Set(REALCALLERIDNUM=)”) in new stack
[2015-02-09
09:21:41] VERBOSE[20552][C-0000393f] pbx.c: – Executing
[s@macro-user-callerid:5] Set(“DAHDI/i1/-690”, “AMPUSER=”)
in new stack
[2015-02-09 09:21:41] VERBOSE[20552][C-0000393f]
pbx.c: – Executing [s@macro-user-callerid:6] GotoIf(“DAHDI/i1/-690”,
“0?limit”) in new stack
[2015-02-09 09:21:41]
VERBOSE[20552][C-0000393f] pbx.c: – Executing
[s@macro-user-callerid:7] Set(“DAHDI/i1/-690”,
“AMPUSERCIDNAME=”) in new stack
[2015-02-09 09:21:41]
VERBOSE[20552][C-0000393f] pbx.c: – Executing
[s@macro-user-callerid:8] GotoIf(“DAHDI/i1/-690”,
“1?report”) in new stack
[2015-02-09 09:21:41]
VERBOSE[20552][C-0000393f] pbx.c: – Goto
(macro-user-callerid,s,16)
[2015-02-09 09:21:41]
VERBOSE[20552][C-0000393f] pbx.c: – Executing
[s@macro-user-callerid:16] GotoIf(“DAHDI/i1/-690”,
“0?continue”) in new stack
[2015-02-09 09:21:41]
VERBOSE[20552][C-0000393f] pbx.c: – Executing
[s@macro-user-callerid:17] ExecIf(“DAHDI/i1/-690”,
“1?Set(__CALLEE_ACCOUNCODE=)”) in new stack
[2015-02-09
09:21:41] VERBOSE[20552][C-0000393f] pbx.c: – Executing
[s@macro-user-callerid:18] Set(“DAHDI/i1/-690”, “__TTL=64”)
in new stack
[2015-02-09 09:21:41] VERBOSE[20552][C-0000393f]
pbx.c: – Executing [s@macro-user-callerid:19]
GotoIf(“DAHDI/i1/-690”, “1?continue”) in new
stack
[2015-02-09 09:21:41] VERBOSE[20552][C-0000393f] pbx.c: –
Goto (macro-user-callerid,s,30)
[2015-02-09 09:21:41]
VERBOSE[20552][C-0000393f] pbx.c: – Executing
[s@macro-user-callerid:30] Set(“DAHDI/i1/-690”,
“CALLERID(number)=”) in new stack
[2015-02-09 09:21:41]
VERBOSE[20552][C-0000393f] pbx.c: – Executing
[s@macro-user-callerid:31] Set(“DAHDI/i1/-690”,
“CALLERID(name)=”) in new stack
[2015-02-09 09:21:41]
VERBOSE[20552][C-0000393f] pbx.c: – Executing
[s@macro-user-callerid:32] Set(“DAHDI/i1/-690”,
“CDR(cnum)=”) in new stack
[2015-02-09 09:21:41]
VERBOSE[20552][C-0000393f] pbx.c: – Executing
[s@macro-user-callerid:33] Set(“DAHDI/i1/-690”,
“CDR(cnam)=”) in new stack
[2015-02-09 09:21:41]
VERBOSE[20552][C-0000393f] pbx.c: – Executing
[s@macro-user-callerid:34] Set(“DAHDI/i1/-690”,
“CHANNEL(language)=en”) in new stack
[2015-02-09
09:21:41] VERBOSE[20552][C-0000393f] pbx.c: – Executing
[s@macro-user-callerid:35] GosubIf(“DAHDI/i1/-690”,
“1?app-check-classofservce,s,1()”) in new stack
[2015-02-09
09:21:41] VERBOSE[20552][C-0000393f] pbx.c: – Executing
[s@app-check-classofservce:1] NoOp(“DAHDI/i1/-690”,
“Starting COS Check”) in new stack
[2015-02-09 09:21:41]
VERBOSE[20552][C-0000393f] pbx.c: – Executing
[s@app-check-classofservce:2] AGI(“DAHDI/i1/-690”,
“cos.agi”) in new stack
[2015-02-09 09:21:41]
VERBOSE[20552][C-0000393f] res_agi.c: – Launched AGI Script
/var/lib/asterisk/agi-bin/cos.agi
[2015-02-09 09:21:42]
VERBOSE[20552][C-0000393f] res_agi.c: cos.agi: Starting Class Of
Service checks
[2015-02-09 09:21:42] VERBOSE[20552][C-0000393f]
res_agi.c: cos.agi: CallerID not Parseable - received unknown -
exiting with DENY
[2015-02-09 09:21:42] VERBOSE[20552][C-0000393f]
res_agi.c: – AGI Script Executing Application: (Goto) Options:
(macro-trunk-dial,barred,1)
[2015-02-09 09:21:42]
VERBOSE[20552][C-0000393f] pbx.c: – Goto
(macro-trunk-dial,barred,1)
[2015-02-09 09:21:42]
VERBOSE[20552][C-0000393f] res_agi.c: – <DAHDI/i1/-690>AGI
Script cos.agi completed, returning 0
[2015-02-09 09:21:42]
WARNING[20552][C-0000393f] pbx.c: Channel ‘DAHDI/i1/-690’ sent to
invalid extension but no invalid handler:
context,exten,priority=macro-trunk-dial,barred,2
[2015-02-09
09:21:42] VERBOSE[20552][C-0000393f] chan_dahdi.c: – Hungup
’DAHDI/i1/-690’

As you can see, it appears to be a problem with the COS module, but I have no idea how to change things so that the call with “” as the caller ID can be forced through the system… Any CID / Any DID are not doing it for me…

HELP! SVP.

If you are not using it, disable the Class of Service Module… and please file a bug ticket at issues.freepbx.org.

thank you Preston…
we went through the paid portal and placed the error… and with COS disabled and the outbound routes rebuilt, all is fine and well…

Thanks for the rapid assist.