-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi bam80,

thanks for this input.

A question to opimd developers: I remember a discussion about field
names when I implemented opimd support. So "Cell phone" was actually
told me to use back those days. Well, I am fine with changing to "Mobile
phone" in PISI; I'd just like to get confirmation that this is the
proper naming now ...

Maybe; is there any documentation about field names or whatsoever?

Thx in advance; best
Michael

- -------- Original Message --------
Subject: [GitHub] incoming calls number-to-name resolving is not working
[kichkasch/pisi GH-33]
Date: Wed, 31 Mar 2010 02:13:37 -0700
From: GitHub <[email protected]>
To: [email protected]

I had to apply the following patch so that the incoming calls
numbers-to-names resolving worked properly on a latest shr-testing:
- --- /opt/pisi/modules/contacts_opimd.py Wed Mar 31 12:03:03 2010
+++ /opt/pisi/modules/contacts_opimd.py.my      Wed Mar 31 12:07:17 2010
@@ -54,7 +54,7 @@
     "Surname": 'name',
     "Email": 'email',
     "Phone": 'phonenumber',
- -    "Cell phone": 'phonenumber',
+    "Mobile phone": 'phonenumber',
     "Home phone": 'phonenumber',
     "Work phone": 'phonenumber',
     "HomeStreet": 'address',
@@ -137,7 +137,7 @@
             self._extractValue(atts, 'email', contactObject, 'E-mail')
             self._extractValue(atts, 'mobile', contactObject, 'Phone')
             if not atts['mobile']:
- -                self._extractValue(atts, 'mobile', contactObject, 'Cell
phone')
+                self._extractValue(atts, 'mobile', contactObject,
'Mobile phone')
             self._extractValue(atts, 'phone', contactObject, 'Home phone')
             self._extractValue(atts, 'officePhone', contactObject,
'Work phone')
             self._extractValue(atts, 'fax', contactObject, 'Fax phone')
@@ -209,7 +209,7 @@
         self._saveOneEntry(fields, 'Surname', contact, 'lastname')
         self._saveOneEntry(fields, 'Middlename', contact,'middlename' )
         self._saveOneEntry(fields, 'E-mail', contact, 'email')
- -        self._saveOneEntry(fields, 'Cell phone', contact, 'mobile')
+        self._saveOneEntry(fields, 'Mobile phone', contact, 'mobile')
         self._saveOneEntry(fields, 'Work phone', contact, 'officePhone')
         self._saveOneEntry(fields, 'Home phone', contact, 'phone')
         self._saveOneEntry(fields, 'Fax phone', contact,'fax' )

View this Issue online: http://github.com/kichkasch/pisi/issues#issue/33
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJLs7GUAAoJECyCaNMbCftRsHIH/jD0MGTUIDiwa70S5OuJCIbX
yZFR//yRcMdmzsPXt1tv/IHT4NLwejrWj1kK+zmB7Rg5B4eqQHJH/aQqq9z0T7ia
AlO95xmZTVmd/0aWLpjFC/gFGwnFoLtYWW/Y+LYLyfUpRxaBzUVBPHuJg2TWjqrf
99GGUnBLBWBChKz9oxNZtnQob2lbp37iJlQIyVRsVkenDX1i9BXyAv9whp5t9XKo
4R0UqBWFM8VBImftsBg3o045Ctp/1Yd/onv0GV1AMbGwxyEHcVCEu6u/wG56apBO
eAU3FKP9Byp04byJbAYzr2SfbiczXuibqAXtJETmc6eI1HP3seYtajBDzq0znbs=
=pq0D
-----END PGP SIGNATURE-----
_______________________________________________
Shr-devel mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-devel

Reply via email to