[Home]

Summary:ASTERISK-15804: [patch] Exchange Web Service calendaring support
Reporter:Bc. Jan Kaláb (pitel)Labels:
Date Opened:2010-03-13 14:33:41.000-0600Date Closed:2010-05-24 13:32:17
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Resources/res_calendar/NewFeature
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) res_calendar_ews.c
Description:I created support for Exchange 2007 and 2010 calendars using Exchange Web Service as my bachelor thesis.

Its based on Terry Wilson's calendaring module.

It was tested on my employer's Exchange 2010 server and it works right.

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

Known issues:
At line 28 is ASTERISK_FILE_VERSION(__FILE__, "$Revision: 246021 $") it's just copied from somewhere else, I don't know what exact revison shold be written here.

At line 570 is version detection of libneon. I guess it should be in configure script, but I don't know how it works.

There is A LOT of debug output, I guess I'll have to adjust their "debug level" or comment some of them out.

The latest (and maybe unbuildable) version can be found at http://dl.dropbox.com/u/1117903/res_calendar_ews.c
Comments:By: Leif Madsen (lmadsen) 2010-03-15 10:56:03

Confirming this issue, thanks! If there is more work to do here, then it may make sense to get Russell to build you a team branch so you can continue doing work there. If most of the work is done except for some minor things, then I'd just say you can upload additional patches going forward, and we can delete the old ones as we go.

This will also need to go up on reviewboard when you feel you're ready to get some additional feedback from developers.

Thanks for the feature!

By: Leif Madsen (lmadsen) 2010-03-15 10:59:47

Just pinging twilson about this issue so he is aware of it.

By: Bc. Jan Kaláb (pitel) 2010-03-15 11:06:44

Most work is done (I hope).

There are some minor issues mentioned above, but I'll need some help/advice on them.

So I guess it can go to reviewboard.

Terry Wilson knows about it, as he was helping me with using his calendaring module.

By: Leif Madsen (lmadsen) 2010-03-15 14:22:33

Awesome!  So I'd post this to reviewboard (https://reviewboard.asterisk.org) and then once done, just post the link here as a note.

I was trying to find some good information about reviewboard for you... right now, this is the best place

include/asterisk/doxygen/reviewboard.h

That is from the latest Asterisk trunk checkout. Unfortunately our asterisk.org site is not updating the links right now, so the link on the reviewboard login screen is a bit out of date -- not sure what, if anything, has changed since October.

By: Bc. Jan Kaláb (pitel) 2010-03-16 03:21:52

I can't see an option for editing reviewboard link, so here it is: https://reviewboard.asterisk.org/r/557/

By: Leif Madsen (lmadsen) 2010-03-16 13:53:15

Thanks! I've modified the reviewboard link. Posting it as a note was the right thing to do.

By: Terry Wilson (twilson) 2010-03-18 14:47:35

One thing that I would like to see available is the ability to access the list of attendees and also to be able to write calendar events to the exchange server.

Right now, the only calendar tech that supports these features is res_calendar_caldav. pitel, do you know enough about EWS to know whether or not those two functions would be possible to implement?

By: Bc. Jan Kaláb (pitel) 2010-03-19 03:37:57

Writing events is possible for sure, getting attendees should be possible too. But it's not number one priority for me right now, since I have to write 30+ pages bachelor thesis about calendars in Asterisk. So I will probably add these feauter in about a month.

By: Digium Subversion (svnbot) 2010-05-24 13:21:20

Repository: asterisk
Revision: 265317

U   trunk/CHANGES
U   trunk/CREDITS
U   trunk/configs/calendar.conf.sample
U   trunk/res/res_calendar.c
A   trunk/res/res_calendar_ews.c

------------------------------------------------------------------------
r265317 | twilson | 2010-05-24 13:21:20 -0500 (Mon, 24 May 2010) | 14 lines

Calendaring support for Exchange Server 2007+ via EWS

This commit adds support for calendaring with Exchange Server 2007+ via
Exchange Web Services. Full write support and for querying attendees. Many
thanks to Jan Kal?\195?\161b for the feature.

(closes issue ASTERISK-15804)
Reported by: pitel
Patches:
     res_calendar_ews.c uploaded by pitel (license 1008)
Tested by: pitel, twilson

Review: [full review board URL with trailing slash]

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

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

By: Digium Subversion (svnbot) 2010-05-24 13:24:37

Repository: asterisk
Revision: 265317

U   trunk/CHANGES
U   trunk/CREDITS
U   trunk/configs/calendar.conf.sample
U   trunk/res/res_calendar.c
A   trunk/res/res_calendar_ews.c

------------------------------------------------------------------------
r265317 | twilson | 2010-05-24 13:21:20 -0500 (Mon, 24 May 2010) | 15 lines

Calendaring support for Exchange Server 2007+ via EWS

This commit adds support for calendaring with Exchange Server 2007+ via
Exchange Web Services. Full write support and for querying attendees. Many
thanks to Jan Kal?\195?\161b for the feature.

(closes issue ASTERISK-15804)
Reported by: pitel
Patches:
     res_calendar_ews.c uploaded by pitel (license 1008)
Tested by: pitel, twilson

Review: https://reviewboard.asterisk.org/r/557/
Review: https://reviewboard.asterisk.org/r/668/

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

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

By: Digium Subversion (svnbot) 2010-05-24 13:32:16

Repository: asterisk
Revision: 265319

_U  branches/1.6.2/

------------------------------------------------------------------------
r265319 | twilson | 2010-05-24 13:32:16 -0500 (Mon, 24 May 2010) | 21 lines

Blocked revisions 265317 via svnmerge

........
 r265317 | twilson | 2010-05-24 13:21:20 -0500 (Mon, 24 May 2010) | 15 lines
 
 Calendaring support for Exchange Server 2007+ via EWS
 
 This commit adds support for calendaring with Exchange Server 2007+ via
 Exchange Web Services. Full write support and for querying attendees. Many
 thanks to Jan Kal?\195?\161b for the feature.
 
 (closes issue ASTERISK-15804)
 Reported by: pitel
 Patches:
       res_calendar_ews.c uploaded by pitel (license 1008)
 Tested by: pitel, twilson
 
 Review: https://reviewboard.asterisk.org/r/557/
 Review: https://reviewboard.asterisk.org/r/668/
........

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

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