← Back to team overview

ubuntu-phone team mailing list archive

Re: importing contacts

 

El día Sunday, April 12, 2015 a las 01:30:30PM +0200, Roberto Resoli escribió:

> Just retested the procedure; 
> 
> Important: omit the database=Personal parameter. 
> 
> If you have many vcf, put them in a directory e pass the directory as 
> --import argument

yes; it works;

one question concerning the parameter TYPE in phone numbers; example:

BEGIN:VCARD
CLASS:PUBLIC
EMAIL:gemeinde@taufkirchen...
FN:Gemeinde Taufkirchen
N:Taufkirchen;Gemeinde;;;
NOTE:Einwohnermeldeamt:\nMO-DO 7.30-12\nDI y DO 14-17:30\nFR 7.30-11
REV:2010-05-04T13:32:23Z
TEL;TYPE=FAX:+4989612xxxxxx
TEL;TYPE=WORK:+498966xxxxxx
UID:0mMDC6RyIq
VERSION:3.0
END:VCARD

the TYPE=FAX gets imported as CELL; the definition of the TYPE values
are attached below, copied from the specificatio; and TYPE=FAX is
correct; why is this? Is there any document about the supported TYPE
values?

Thanks

	matthias


http://www.imc.org/pdi/vcard-21.txt


TYPE=


Indicates preferred number
PREF

Indicates a work number
WORK

Indicates a home number
HOME

Indicates a voice number (Default)
VOICE

Indicates a facsimile number
FAX

Indicates a messaging service on the number
MSG

Indicates a cellular number
CELL

Indicates a pager number
PAGER

Indicates a bulletin board service number
BBS

Indicates a MODEM number
MODEM

Indicates a car-phone number
CAR

Indicates an ISDN number
ISDN

Indicates a video-phone number
VIDEO

-- 
Matthias Apitz, guru@xxxxxxxxxxx, http://www.unixarea.de/ +49-170-4527211    +49-176-38902045
"Wenn der Mensch von den Umständen gebildet wird, so muß man die Umstände menschlich bilden."
"Si el hombre es formado por las circunstancias entonces es necesario formar humanamente
las circunstancias", Karl Marx in Die heilige Familie / La sagrada familia (MEW 2, 138)


References