Openmoko Bug #1975: Wrong Phone Matching in Qtopia
Openmoko Public Trac
bugs at docs.openmoko.org
Tue Sep 9 02:35:27 CEST 2008
#1975: Wrong Phone Matching in Qtopia
-------------------------+--------------------------------------------------
Reporter: Treviño | Owner: zecke
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Qtopia | Version: Om2008.8
Severity: normal | Keywords:
Blockedby: | Reproducible: always
Blocking: |
-------------------------+--------------------------------------------------
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},
}}}
--
Ticket URL: <https://docs.openmoko.org/trac/ticket/1975>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac
More information about the buglog
mailing list