Citando Stipe Tolj <[EMAIL PROTECTED]>:

> joseph mercado wrote:
> > 
> > Has anyone already implemented kannel to recieve a
> > Vcard and point to a url where it get parse and be
> > save to DB
> 
> I have played a bit with the Nokia smart messaging stuff. I didn't
> recall exactly if the vcard is delivered with alternative DCS fields?!
> 
> AFAIK, binary DCS field are not supported for most SMSC modules.
> *ehmmm* *ducking head*

Stop complaining and implement it ;)


> Hope others that run such services don't flame me now ;)

VCard's are in simple text. Nokia phones requires a special UDH. Ericsson's don't.

If you want to send, set udh=%06%05%04%23%F4%00%00 for nokia and empty udh for
ericsson, and set text=<see example downthere>

If you want to receive, you'll need a "catchall" service that forwards %a to
your server, and you can ignore udh field - that way you'll receive from nokia
and ericsson.

Your server needs to parse vcard and reply back acordly.

Please have a look at contrib/web/*.php


Example vcard: 
(Note: with old nokias, like 6210, you can only set maximum two fields from
email, label and note. If you set the three, it will ignore your message. I
haven't tried with new mobiles)
Note2: newlines are %0D%0A, and you need a newline after last line
(....END:VCARD%0D%0A)

BEGIN: VCARD
VERSION:2.1
N: <name>
TEL;PREF: <telephone>
TEL;CELL: <mobile>
TEL;HOME: <home phone>
TEL;WORK: <work phone>
TEL;FAX: <fax>
EMAIL: <email>
LABEL: <address>
NOTE: <note>
END:VCARD


> 
> But the idea is cool.
> 
> Stipe
> 
> [EMAIL PROTECTED]
> -------------------------------------------------------------------
> Wapme Systems AG
> 
> Vogelsanger Weg 80
> 40470 D�sseldorf
> 
> Tel: +49-211-74845-0
> Fax: +49-211-74845-299
> 
> E-Mail: [EMAIL PROTECTED]
> Internet: http://www.wapme-systems.de
> -------------------------------------------------------------------
> wapme.net - wherever you are
> 
> 


-- 
<br/>

Reply via email to