Ticket #1975 (new enhancement)
Wrong Phone Matching in Qtopia
| Reported by: | Treviño | Owned by: | zecke |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Qtopia | Version: | Om2008.8 |
| Severity: | normal | Keywords: | |
| Cc: | Blocked By: | ||
| Blocking: | Estimated Completion (week): | ||
| HasPatchForReview: | PatchReviewResult: | ||
| Reproducible: | always |
Description
If I've in my contact list a number like '+390123456789' saved as "FooContact?"; if I dial only '123456789' the dialer doesn't recognize it as the "FooContact?", but it shows it
Btw, the Italian code rules in Qtopia are wrong since here the country code is "+39" and the local area code (that starts with 0) could have a length from 2 digits to 4 digits (so it can't be decoded easily).
That's why I figure that this patch could help (also if it doesn't seem to fix my issue):
diff --git a/src/libraries/qtopiapim/qphonenumber.cpp b/src/libraries/qtopiapim/qphonenumber.cpp
index 61a0100..0dd8405 100644
--- a/src/libraries/qtopiapim/qphonenumber.cpp
+++ b/src/libraries/qtopiapim/qphonenumber.cpp
@@ -223,7 +223,7 @@ static IDDRule const rules[] = {
{"Iraq", 964, 2, 1, 0, 1},
{"Ireland", 353, 2, 1, 0, 1},
{"Israel", 972, 1, 0, 0, 1},
- {"Italy", 390, 2, 1, 0, 1},
+ {"Italy", 39, 0, 0, -1, 1},
{"Ivory Coast", 225, 0, 0, 0, 1},
{"Jamaica", 1876, 0, 0, 1, 1},
Note: See
TracTickets for help on using
tickets.

I applied this hunk the initial issue is still open.