[sync] Phone numbers on P800/P900/P910/P990 vs Horde

Jan Schneider jan at horde.org
Fri Oct 6 03:54:23 PDT 2006


Zitat von Håvard Wigtil <havardw at pvv.org>:

> (This is partially a follow-up to http://bugs.horde.org/ticket/?id=4484)
>
> I've looked some more into how phone numbers are described on SE P990 vs.
> Horde. I also checked with my old P990 (example attached), and phone
> number handling is the same there as the P990, so I'm going to assume that
> phone number handling is the same for P800 and P910 also.
>
> The Pxxx-series sends phone numbers with attributes as a semi colon
> separated list, without using the "TYPE=" identifier, e.g.
> "TEL;WORK;VOICE;CELL:33333333".
> (I think this is in line with VCARD 2.1:
> http://www.imc.org/pdi/vcard-21.txt ?)
>
> Horde sends and seems to want to receive phone numbers that uses TYPE,
> e.g. "TEL;TYPE=CELL:33333333".
> (Which seems to be VCARD 3.0: http://www.ietf.org/rfc/rfc2426.txt )
>
> If this is correct, should the formats be converted in
> Backend/device/P800.php? Or should it be somewhere else in more generic
> VCARD 2.1 / 3.0 conversion code?
> If the former is the case, I'll try to provode a simple patch sometimes
> next week (if no one beats me to it). If the latter should be done, I
> think I would need some more guidance ;-)

This seem to be two problems: Turba_Driver::tovCard() doesn't set the  
3.0 version parameter though it uses 3.0 style attributes. And we  
probably need to be able to produce 2.1 data too if the synching  
device doesn't support 3.0.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the sync mailing list