Project

General

Profile

Actions

Bug #52

closed

Suppress "Failed parsing phone number '...': the phone number supplied is not a number" if it's a "*" prefixed (Fritz!box) internal number

Added by Jörg Ebeling over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
11/03/2021
Due date:
% Done:

100%

Estimated time:

Description

Related to forum post FritzBox Interne Nummern im CARDDAV

Fritz!Box internal numbers get prefixed with "**".
In addition it's possible to list multiple extensions by "#" character, like "**612#613#614" (like a call group).
Contact entries like this will result in a "Failed parsing phone number" error because the number is longer than <maxintlength> and thus get parsed by libphonenumber (which triggers the error).

Unfortunately there seem to exist valid number formats with a "*".

Change behavior in this way, that the libphonenumber error get only thrown if the number is not prefixed with a single "*" character.
Yes, a single "*", because this would also solve issues where a contact has a number with a Fritz!Box line selection (which get prefixed with a single "*" character).


Files

l2cpbg_0.9.4beta5_amd64.deb (8.84 MB) l2cpbg_0.9.4beta5_amd64.deb Jörg Ebeling, 11/08/2021 12:09 AM
l2cpbg_0.9.4beta5_linux-amd64.tgz (10.2 MB) l2cpbg_0.9.4beta5_linux-amd64.tgz Jörg Ebeling, 11/08/2021 12:09 AM
l2cpbg_0.9.4beta5_windows-64bit.zip (10.2 MB) l2cpbg_0.9.4beta5_windows-64bit.zip Jörg Ebeling, 11/08/2021 12:09 AM
l2cpbg_0.9.4beta7_amd64.deb (8.84 MB) l2cpbg_0.9.4beta7_amd64.deb Jörg Ebeling, 11/10/2021 04:12 PM
l2cpbg_0.9.4beta7_linux-amd64.tgz (10.2 MB) l2cpbg_0.9.4beta7_linux-amd64.tgz Jörg Ebeling, 11/10/2021 04:12 PM
l2cpbg_0.9.4beta7_windows-64bit.zip (10.2 MB) l2cpbg_0.9.4beta7_windows-64bit.zip Jörg Ebeling, 11/10/2021 04:13 PM

Updated by Jörg Ebeling over 2 years ago

Removed number harmonization and E.164 conversion (and thus error output) of:

  • Fritz!Box internal extensions which are prefixed with "**"
  • Fritz!Box line selection which is prefixed with "*"

Unfortunately I wasn't capable of doing a real reverse lookup (except a programmatically test-case how I assumed a reverse lookup will look) with one of these special cases.

Waiting for feedback, in special what happen with ticket #53

Actions #2

Updated by Jörg Ebeling over 2 years ago

  • Status changed from Feedback to In Progress
  • % Done changed from 100 to 80

Also need to decode LDAP special char "*" for reverse lookup.
s.request.Filter '(|(Arbeit=\2a\2a610#623)(Mobil=\2a\2a610#623)(Privat=\2a\2a610#623))'

Updated by Jörg Ebeling over 2 years ago

Hi Michael.

Reverse lookup for (Fritz!Box) internal "*" or "**" numbers should work also now.

Actions #4

Updated by Jörg Ebeling over 2 years ago

  • Status changed from Feedback to Closed
Actions

Also available in: Atom PDF

Go to top