Plugins Directory » UK number range check
|
|
Author: | CryptoeSIM.io Notes |
|---|---|---|
| Website: | - | |
| Code repository: | - | |
| Registered on: | 2026-11-25 (11 days ago) | |
| Current version: | 1.0.0 | |
| Compatible with: | Redmine 6.1.x, 6.0.x, 5.1.x, 5.0.x | |
| User ratings: |
Two custom field formats that read a UK phone number, work out which Ofcom number range it sits in, and display it in +44 form with that range, for example "+447700900123 (mobile)" or "+445600000000 (VoIP (location-independent))".
- UK number (range) accepts any allocated UK range: mobile, landline, 03, freephone, premium, 055 corporate, 056 VoIP, 070 personal, 076 paging.
- UK number (SMS-capable) only accepts the mobile ranges (071 to 075, 077 to 079, and 07624 for the Isle of Man) and tells the user why anything else was refused, for example "070 is personal numbering: a forwarding service, not a mobile".
The second format is for fields that feed SMS alerts or 2FA. A 070, 076 or 056 number looks enough like a mobile to get typed in, but it either never receives the text or gets rejected by apps that look up the line type.
Input can be typed the usual ways (07700 900123, +44 7700 900123, 0044 7700 900123, +44 (0)7700 900123). Values are stored as typed, so switching an existing text field over does not rewrite data. Hovering a value shows a short note for ranges that need one. The classifier is plain Ruby with standalone tests (ruby redmine_uk_number_range/test/classifier_test.rb, 40 assertions, Ofcom drama-range fixtures).
Limits: the check is prefix-only. It cannot tell whether a number is in service, ported, or a VoIP service sitting on a mobile range; apps that check line type query carrier data for that. There is a longer write-up of how apps tell non-VoIP and VoIP numbers apart and why some reject VoIP outright.
MIT licence. Maintained by CryptoeSIM.io.
Installation notes
Download the zip from the Files section below, then:
cd $REDMINE_ROOT/plugins unzip /path/to/redmine_uk_number_range-1.0.0.zip 'redmine_uk_number_range/*'
Restart Redmine, then Administration > Custom fields > New, pick the object (User, Issue, Project...) and choose UK number (range) or UK number (SMS-capable). No migrations.
Changelog
1.0.0 (2026-11-25)
Compatible with Redmine 6.1.x, 6.0.x, 5.1.x, 5.0.x.