Skip to content

Feature request: Allow blocking phone number prefixes in blocklist.csv #6

@paloke

Description

@paloke

Hi,

I’d like to suggest a possible improvement for pycallblock. Currently, the call blocking system only allows you to add complete phone numbers to the blocklist.csv file, so it only blocks exact matches.

Would it be possible to implement a feature that allows blocking numbers by prefix? For example, if I add “93122” to blocklist.csv, the program would automatically block all calls from numbers starting with that prefix, using the startswith function instead of only matching exact numbers.

This would be very useful for blocking entire ranges of numbers, especially in cases of spam calls that come from similar number blocks, and would save the trouble of having to manually add every single number.

Are there any technical limitations to implementing this feature, or could it be considered for future versions?
Thank you very much for the project and your support!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions