>Hi guys,
>
>I have encountered problem sending a vCalendar:
>
>VERSION:1.0
>BEGIN:VEVENT
>DESCRIPTION:Meeting in conference room
>DTSTART:20000627T100000
>DTEND:20000627T120000
>END:VEVENT
>END:VCALENDAR
>
>The followings are the http call that I've sent.
>
>http://localhost:15602/cgi-bin/sendsms?username=username&password=userpasswo
>rdo&from=8008&to=6597335118&udh=%0B%05%04%00%E4%00%E4%00%03%01%02%01&text=%4
>2%45%47%49%4E%3A%56%43%41%4C%45%4E%44%41%52%0D%0A%56%45%52%53%49%4F%4E%3A%31
>%2E%30%0D%0A%42%45%47%49%4E%3A%56%45%56%45%4E%54%0D%0A%44%45%53%43%52%49%50%
>54%49%4F%4E%3A%4D%65%65%74%69%6E%67%20%69%6E%20%63%6F%6E%66%65%72%65%6E%63%6
>5%20%72%6F%6F%6D%0D%0A%44%54%53%54%41%52%54%3A%32%30%30%30%30%36%32%37%54%31
>%30%30%30%30%30%0D%0A%44%54%45%4E%44%3A%32%30%30%30%30%36%32%37%54%31%32%30%
>30%30%30


- Tere is no need to split the message into 2 messages.
   Kannel does that for you already.

- The UDH Header doesnt contain the port 23F5 as it should be. Try
   &udh=%06%05%04%23%F5%00%00

- You might want to try to set the year to 2001  instead of 2000.

 From the output of a calendar entry of my phone I grabbed the 
following example:

UDH=06050423F50000 (meaing it is using port 23F5)

BEGIN:VCALENDAR
VERSION:1.0
BEGIN:VEVENT
CATEGORIES:MEETING
DTSTART:20010627T220000
DALARM:20010627T215000;;;
AALARM:20010627T215000;;;
SUMMARY:Test
DESCRIPTION:Test
END:VEVENT
END:VCALENDAR

End of line is always %0D%0A.

-- 

Andreas Fink
Fink-Consulting

------------------------------------------------------------------
Tel: +41-61-6932730 Fax: +41-61-6932729  Mobile: +41-79-2457333
Address: A. Fink, Schwarzwaldallee 16, 4058 Basel, Switzerland
E-Mail:  [EMAIL PROTECTED]  Homepage: http://www.finkconsulting.com
------------------------------------------------------------------
Something urgent? Try http://www.smsrelay.com/  Nickname afink

Reply via email to