Can't make blacklist work on analogue PSTN trunk

I want to block calls from a particular number on all trunks. I added the number to the blacklist and all works well on SIP trunks (except that the caller gets number unobtainable tone rather than an announcement). I have a DAHDI trunk which seems to behave in a weird way. The calls all come on that trunk so I really want it to work.

If the number is in the blacklist the call comes through normally but the caller ID is shown as UNKNOWN/UNKNOWN on the phones and is not blocked. I initially thought that the DAHDI trunk was not getting the caller ID properly but I have done a fair amount of testing and it works properly on other numbers. Taking the number out of the blacklist caused the caller ID to work properly again.

Are there some other tests I can do to find out what’s going on? Is there a way I do the same thing instead of using the blacklist module?

I’m in the UK if that makes any difference.


Has anyone any thoughts on this? I believe I can do something similar using Inbound Routes but it would not be so convenient.


Could you provide share a call trace of this behavior via pastebin? Providing Great Debug - Support Services - Documentation

Thank you. I will do so but it will take me a week or so because I have to be away from my office from tomorrow.


1 Like

I now have this working OK. I think I had not set up the destination for blacklisted calls properly; I had thought that there was a default announcement but it looks like it has to be specified. The only quirk is that calls coming in on an analogue trunk get a voice with an American accent and VoIP ones get a British one! I suspect that is something to do with the DAHDI configuration but that’s for another day…

Thanks for your time.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.