[Home]

Summary:ASTERISK-13848: [branch] Asterisk Calendar Integration
Reporter:Leif Madsen (lmadsen)Labels:
Date Opened:2009-03-26 16:13:22Date Closed:2009-05-28 15:51:57
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Resources/NewFeature
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) backtrace.txt
Description:This is a place holder for tracking any outstanding issues with the Calendar integration in Asterisk.

Currently the Calendar integration is in a branch available here:

http://svn.digium.com/svn/asterisk/team/twilson/calendaring

****** ADDITIONAL INFORMATION ******

Any additional testing would be appreciated.
Comments:By: Leif Madsen (lmadsen) 2009-03-26 16:16:11

I have found a couple of issues so far, although it is possible a few of them are configuration issues.

For now, I will report the segfault I just experienced. You can reproduce this by commenting out the 'enabled = yes' section in the calendar.conf file. Find a backtrace attached to this issue.

The other issue I ran into (which may be a configuration issue), is that I get "You must enable calendar support for res_icalendar to load" even though I have enabled=yes in the calendar.conf file. I commented it out just to see if that was maybe part of the issue, and that is how I came upon the segfault.

Thanks!
Leif.

By: Leif Madsen (lmadsen) 2009-03-26 16:24:15

Suggestions:

* make the 'refresh' and 'timeframe' options either both minutes, or both seconds. Using two different resolutions is a bit confusing.

* would it be possible to make CALENDAR_QUERY_RESULT() return all values (for a single 'row') when not specifying the field? You could then assign all that information to a HASH() or an ARRAY(), just like func_odbc.

By: Terry Wilson (twilson) 2009-03-31 18:35:03

I have fixed the segfault, and updated the code to work with the new exports code (the calendar_config variable is shared between the modules, and wasn't being properly exported).

If I adjust the resolutions, I will just make both minutes.  For development purposes, I wanted to be able to do quick refreshes so I didn't have to wait around to see if changes worked, etc.  In real life, I doubt that anyone would really want to query their server more than 1/minute.

I could probably make the CALENDAR_QUERY_RESULT change.  It is a long function name to type many times.  :-)

I also need to add read/write support for handling attendees.  They were harder since they are actually a list, instead of just a key/value pair.

By: Leif Madsen (lmadsen) 2009-04-01 13:50:43

Thanks!

By: Leif Madsen (lmadsen) 2009-04-02 09:55:56

So far so good! Google calendar stuff is working now. More to follow!

By: Shivaprakash Dasihally Mallikarjunaiah (shivaprakash) 2009-04-14 00:27:39

Crashes when we change caldav (Gmail calendar) url from https to http

By: Andreas Anderson (aanderson) 2009-05-05 07:11:33

Thats a feature.

"THOU SHALT NOT USE HTTP".

(scnr)

By: Digium Subversion (svnbot) 2009-05-28 14:57:19

Repository: asterisk
Revision: 197738

U   trunk/build_tools/menuselect-deps.in
A   trunk/configs/calendar.conf.sample
U   trunk/configure
U   trunk/configure.ac
U   trunk/include/asterisk/autoconfig.h.in
A   trunk/include/asterisk/calendar.h
U   trunk/makeopts.in
A   trunk/res/res_calendar.c
A   trunk/res/res_calendar.exports
A   trunk/res/res_calendar_caldav.c
A   trunk/res/res_calendar_exchange.c
A   trunk/res/res_calendar_icalendar.c

------------------------------------------------------------------------
r197738 | twilson | 2009-05-28 14:57:19 -0500 (Thu, 28 May 2009) | 19 lines

Add Calendaring support for Asterisk

This commit add Calendaring support to Asterisk for iCalendar, CalDAV, and MS
Exchange calendars. Exchange support has only been tested on Exchange Server 2k3
and does not support forms-based authentication at this time (patches *very*
welcome). Exchange support is also currently missing the ability to return a
list of a meting's attendees (again, patches are very, very welcome).

Features include:
 Querying a calendar for events over a specific time range
 Checking a calendar's busy status via the dialplan
 Writing calendar events via the dialplan (CalDAV and Exchange only)
 Handling calendar event notifications through the dialplan

(closes issue ASTERISK-13848)
Tested by: lmadsen, twilson, Shivaprakash

Review: https://reviewboard.asterisk.org/r/58

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=197738

By: Digium Subversion (svnbot) 2009-05-28 15:50:03

Repository: asterisk
Revision: 197779

_U  branches/1.6.0/

------------------------------------------------------------------------
r197779 | twilson | 2009-05-28 15:50:02 -0500 (Thu, 28 May 2009) | 25 lines

Blocked revisions 197738 via svnmerge

........
 r197738 | twilson | 2009-05-28 14:57:18 -0500 (Thu, 28 May 2009) | 19 lines
 
 Add Calendaring support for Asterisk
 
 This commit add Calendaring support to Asterisk for iCalendar, CalDAV, and MS
 Exchange calendars. Exchange support has only been tested on Exchange Server 2k3
 and does not support forms-based authentication at this time (patches *very*
 welcome). Exchange support is also currently missing the ability to return a
 list of a meting's attendees (again, patches are very, very welcome).
 
 Features include:
   Querying a calendar for events over a specific time range
   Checking a calendar's busy status via the dialplan
   Writing calendar events via the dialplan (CalDAV and Exchange only)
   Handling calendar event notifications through the dialplan
 
 (closes issue ASTERISK-13848)
 Tested by: lmadsen, twilson, Shivaprakash
 
 Review: https://reviewboard.asterisk.org/r/58
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=197779

By: Digium Subversion (svnbot) 2009-05-28 15:50:50

Repository: asterisk
Revision: 197780

_U  branches/1.6.1/

------------------------------------------------------------------------
r197780 | twilson | 2009-05-28 15:50:50 -0500 (Thu, 28 May 2009) | 25 lines

Blocked revisions 197738 via svnmerge

........
 r197738 | twilson | 2009-05-28 14:57:18 -0500 (Thu, 28 May 2009) | 19 lines
 
 Add Calendaring support for Asterisk
 
 This commit add Calendaring support to Asterisk for iCalendar, CalDAV, and MS
 Exchange calendars. Exchange support has only been tested on Exchange Server 2k3
 and does not support forms-based authentication at this time (patches *very*
 welcome). Exchange support is also currently missing the ability to return a
 list of a meting's attendees (again, patches are very, very welcome).
 
 Features include:
   Querying a calendar for events over a specific time range
   Checking a calendar's busy status via the dialplan
   Writing calendar events via the dialplan (CalDAV and Exchange only)
   Handling calendar event notifications through the dialplan
 
 (closes issue ASTERISK-13848)
 Tested by: lmadsen, twilson, Shivaprakash
 
 Review: https://reviewboard.asterisk.org/r/58
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=197780

By: Digium Subversion (svnbot) 2009-05-28 15:51:56

Repository: asterisk
Revision: 197781

_U  branches/1.6.2/

------------------------------------------------------------------------
r197781 | twilson | 2009-05-28 15:51:56 -0500 (Thu, 28 May 2009) | 25 lines

Blocked revisions 197738 via svnmerge

........
 r197738 | twilson | 2009-05-28 14:57:18 -0500 (Thu, 28 May 2009) | 19 lines
 
 Add Calendaring support for Asterisk
 
 This commit add Calendaring support to Asterisk for iCalendar, CalDAV, and MS
 Exchange calendars. Exchange support has only been tested on Exchange Server 2k3
 and does not support forms-based authentication at this time (patches *very*
 welcome). Exchange support is also currently missing the ability to return a
 list of a meting's attendees (again, patches are very, very welcome).
 
 Features include:
   Querying a calendar for events over a specific time range
   Checking a calendar's busy status via the dialplan
   Writing calendar events via the dialplan (CalDAV and Exchange only)
   Handling calendar event notifications through the dialplan
 
 (closes issue ASTERISK-13848)
 Tested by: lmadsen, twilson, Shivaprakash
 
 Review: https://reviewboard.asterisk.org/r/58
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=197781