[asterisk-users] res_calendar / ownCloud

Matthias Rieber ml-asterisk at zu-con.org
Tue Aug 20 16:54:01 CDT 2013


Hi,

I try to use res_calendar with ownCloud. While it works with google/ics, 
I've some difficulties with caldav and ownCloud[1]. According to the 
logs and tcpdump the calendar entries have been fetched but they are not 
available in Asterisk. 'calendar show calendars' doesn't show the status 
busy,  'calendar show calendar owncloud' doesn't show the current 
events. I also don't get any result with 
CALENDAR_QUERY/CALENDAR_QUERY_RESULT. I haven't seen any special error 
message (core set verbose 10) while reloading the config and fetching 
the calendar entries.

On the wire I see the following answer from the ownlcloud server.:

<?xml version="1.0" encoding="utf-8"?>
<d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" 
xmlns:cal="urn:ietf:params:xml:ns:caldav" 
xmlns:cs="http://calendarserver.org/ns/"><d:response><d:href>/remote.php/caldav/calendars/9e681f76-d67d-102d-9eb3-333258c8c572/defaultcalendar/owncloud-47307eef251636b6b3c7d8119a4bdf01.ics</d:href><d:propstat><d:prop><cal:calendar-data>BEGIN:VCALENDAR&#13;
VERSION:2.0&#13;
PRODID:ownCloud Calendar&#13;
BEGIN:VEVENT&#13;
CREATED;VALUE=DATE-TIME:20130820T200233Z&#13;
UID:87e47fc65a&#13;
LAST-MODIFIED;VALUE=DATE-TIME:20130820T200233Z&#13;
DTSTAMP;VALUE=DATE-TIME:20130820T200233Z&#13;
SUMMARY:SACKHUEPFEN&#13;
DTSTART;VALUE=DATE:20130820&#13;
DTEND;VALUE=DATE:20130826&#13;
CLASS:PUBLIC&#13;
END:VEVENT&#13;
END:VCALENDAR&#13;
</cal:calendar-data></d:prop><d:status>HTTP/1.1 200 
OK</d:status></d:propstat></d:response><d:response>
<d:href>/remote.php/caldav/calendars/9e681f76-d67d-102d-9eb3-333258c8c572/defaultcalendar/owncloud-31493c29c5a5e517d0b63b126fd2b222.ics</d:href><d:propstat><d:prop><cal:calendar-data>BEGIN:VCALENDAR&#13;
VERSION:2.0&#13;
PRODID:-//Mozilla.org/NONSGML Mozilla Calendar V1.1//EN&#13;
BEGIN:VEVENT&#13;
CREATED:20130820T192909Z&#13;
LAST-MODIFIED:20130820T203525Z&#13;
DTSTAMP:20130820T203525Z&#13;
UID:07e053cb23&#13;
SUMMARY:HAMBURG&#13;
STATUS:CONFIRMED&#13;
DTSTART:20130820T200000Z&#13;
DTEND:20130820T220000Z&#13;
CLASS:PUBLIC&#13;
TRANSP:OPAQUE&#13;
SEQUENCE:1&#13;
X-MOZ-GENERATION:1&#13;
END:VEVENT&#13;
END:VCALENDAR&#13;
</cal:calendar-data></d:prop><d:status>HTTP/1.1 200 
OK</d:status></d:propstat></d:response></d:multistatus>

Is there anything wrong with that? How can I debug that? I use Asterisk 
1.8.23.

Regards,
Matthias


[1] http://owncloud.org/



More information about the asterisk-users mailing list