[Home]

Summary:ASTERISK-16548: [patch] Support for priorities and categories according to RFC 5545
Reporter:Bc. Jan Kaláb (pitel)Labels:
Date Opened:2010-08-11 06:27:06Date Closed:2010-09-03 07:58:54
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Resources/res_calendar/NewFeature
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) calprio.diff
( 1) ews_cat_prio.patch
Description:RFC 5545 specifies fields for categories (ch. 3.8.1.2) and priorities (ch. 3.8.1.9).

It will be nice to have acces to those fields. Especially priority to determine which busy status is most important when evaluating multiple events in dialplan.

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

http://tools.ietf.org/html/rfc5545
Comments:By: Bc. Jan Kaláb (pitel) 2010-08-11 06:29:29

The proposed patch adds support for these features. I successfully tested reading priority and category using caldav module.

I will also submit patch for EWS soon.

By: Bc. Jan Kaláb (pitel) 2010-08-12 04:42:20

Just attached the promised patch for EWS. I tested reading of events with it.

By: Leif Madsen (lmadsen) 2010-08-12 09:10:53

Marking these as Ready for Testing. Thanks!

If you can get some people from the asterisk-users and/or asterisk-dev mailing list to help test or review this code, that'd be great too!

By: Marek Cervenka (cervajs) 2010-08-16 09:28:56

tested. ok.

By: Terry Wilson (twilson) 2010-08-27 09:01:26

Looks good to me as well.

By: Bc. Jan Kaláb (pitel) 2010-08-27 13:27:00

Reviewboard: https://reviewboard.asterisk.org/r/880

By: Leif Madsen (lmadsen) 2010-08-31 14:34:32

This would be a good candidate for you to merge yourself pitel. Just need to speak with jpeeler to get you all setup.

By: Bc. Jan Kaláb (pitel) 2010-08-31 14:36:25

Well, I already have certificate for SVN repository, but I think I have to wait till someone more experienced marks the patch as "ready"... or not?

By: Digium Subversion (svnbot) 2010-09-03 07:58:52

Repository: asterisk
Revision: 284851

_U  trunk/
U   trunk/include/asterisk/calendar.h
U   trunk/res/res_calendar.c
U   trunk/res/res_calendar_caldav.c
U   trunk/res/res_calendar_ews.c
U   trunk/res/res_calendar_icalendar.c

------------------------------------------------------------------------
r284851 | pitel | 2010-09-03 07:58:52 -0500 (Fri, 03 Sep 2010) | 7 lines

Support for calendar events priorities and categories (with ISO C90 fix)

See RFC 5545 ch. 3.8.1.2 and 9.

(closes issue ASTERISK-16548)
Review: https://reviewboard.asterisk.org/r/880/

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

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