Menu

#32 Using "Carrier" field value to add into Black/White list

open
nobody
1
2025-07-07
2024-05-14
Anonymous
No

First of all, thank you immensely for coding and maintaining this wonderful software!!! It has been a boon for several years. It is especially useful for those who work from home and do not want to be harassed by junk callers & scammers.

Since the version of NCID client I am running allows the display of the "Carrier" field, I wonder if it would be possible to use this value to filter out (or in) by adding to the blacklist (or whitelist). Such a feature can help all of us eliminate potential VOIP callers that show up as a blank [ - ] carrier or named carriers that offer services to unscrupulous elements of society.

Thanks!

Discussion

  • John L. Chmielewski

    This is a good suggestion, but requires a major change of how server blacklist/whitelist code interfaces with the ncid client. It may be implemented in a future release.

     
  • bgr_bgr

    bgr_bgr - 2025-07-07

    Hi Anonymous
    Yes that is one of the reasons i added the carrier field to ncid and wrote libcarrier .
    As John rightly says this will imply major changes in the way blacklist/whitelist work .
    It is not at all , a good idea to do it this way in my opinion .

    A much better way is to write a plugin (that is what , plugins are for ) .
    i personally wrote a plugin to blacklist French carrier : it a shellscript with about 15 lines in it .
    It takes the carrier name as argument . it will parse (sed/awk /grep) the data file containing the list of blocks attributed by the national (French in my case) telco authority to that specific carrier ,Then , generate a blacklist file pertaining to that carrier and concatenate that file to the existing ncid blacklist file .
    For those data files , have a look in the metadata directory .(Formats vary between countries ).
    plugins are explained in ncid.conf .
    I am sure that you will pretty much figure it out .
    otherwise pm me .

    BGR

     

Anonymous
Anonymous

Add attachments
Cancel