]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_calendar_caldav: Add support reading gmail calendar 35/4535/1
authorEduardo S. Libardi <eslibardi@gmail.com>
Tue, 29 Nov 2016 01:43:53 +0000 (23:43 -0200)
committerEduardo Scudeller Libardi <eslibardi@gmail.com>
Wed, 30 Nov 2016 19:18:35 +0000 (14:18 -0500)
commite147c91a65d3379cb986e95f1a1ded57ba897c6f
tree4095e3daf3e0eee73a12037c1404e2b135567251
parent36d380d71c914299f5cb98565c8e3baac9fde9a0
res_calendar_caldav: Add support reading gmail calendar

The response from gmail calendar includes the string name
"caldav:calendar-data". res_calendar_caldav implements
the example included in RFC 4791: string "C:calendar-data".
When reading the calendar, res_calendar_caldav compare the
string and if does not match just discards the event.
This commit compares the response to both strings,
successfully loading gmail calendar events.
Writing to gmail calendar is working prior to this fix.

ASTERISK-26624
Reported by: Eduardo S. Libardi

Change-Id: Ia1eef10552ae616efb645d390f5ffe81260d7d4a
res/res_calendar_caldav.c