[asterisk-bugs] [JIRA] (ASTERISK-30106) res_calendar_icalendar: Microsoft online ICS calendars no longer work

Friendly Automation (JIRA) noreply at issues.asterisk.org
Fri Jul 1 10:00:09 CDT 2022


    [ https://issues.asterisk.org/jira/browse/ASTERISK-30106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=259594#comment-259594 ] 

Friendly Automation commented on ASTERISK-30106:
------------------------------------------------

Change 18679 merged by Kevin Harwell:
res_calendar_icalendar: Send user agent in request.

[https://gerrit.asterisk.org/c/asterisk/+/18679|https://gerrit.asterisk.org/c/asterisk/+/18679]

> res_calendar_icalendar: Microsoft online ICS calendars no longer work
> ---------------------------------------------------------------------
>
>                 Key: ASTERISK-30106
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-30106
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_calendar_icalendar
>    Affects Versions: 18.12.0
>            Reporter: N A
>
> A few days ago, outlook.com shared ICS calendars seemed to stop working, for no apparent reason.
> Every 10 minutes, I get these warnings in the CLI:
> {noformat}
> [Jun 12 08:54:39] WARNING[564844]: res_calendar_icalendar.c:151 fetch_icalendar: Unable to retrieve iCalendar 'REDACTED' from 'https://REDACTED/calendar.ics': 400
> [Jun 12 08:54:39] WARNING[564844]: res_calendar_icalendar.c:478 ical_load_calendar: Unable to parse iCalendar 'REDACTED'
> [Jun 12 08:54:39] ERROR[564844]: res_calendar_icalendar.c:366 icalendar_update_events: The iCalendar has not been parsed!
> [Jun 12 08:54:39] WARNING[564842]: res_calendar_icalendar.c:151 fetch_icalendar: Unable to retrieve iCalendar 'REDACTED' from 'https://REDACTED/calendar.ics': 400
> [Jun 12 08:54:39] WARNING[564842]: res_calendar_icalendar.c:478 ical_load_calendar: Unable to parse iCalendar 'REDACTED'
> [Jun 12 08:54:39] ERROR[564842]: res_calendar_icalendar.c:366 icalendar_update_events: The iCalendar has not been parsed!
> [Jun 12 08:54:39] WARNING[564843]: res_calendar_icalendar.c:151 fetch_icalendar: Unable to retrieve iCalendar 'REDACTED' from 'https://REDACTED/calendar.ics': 400
> [Jun 12 08:54:39] WARNING[564843]: res_calendar_icalendar.c:478 ical_load_calendar: Unable to parse iCalendar 'REDACTED'
> [Jun 12 08:54:39] ERROR[564843]: res_calendar_icalendar.c:366 icalendar_update_events: The iCalendar has not been parsed!
> {noformat}
> As a result, calendaring has completely broken in Asterisk for me.
> Importantly:
> - This happens with all calendars for Outlook.com, and in multiple Microsoft accounts, so it's not an account issue.
> - Other ICS links work fine without triggering these warnings
> - Outlook.com shared ICS calendars work fine in other calendaring programs, e.g. mail clients
> So the problem is both specific to the Office 365 ICS format as well as Asterisk since both are required to trigger the problem. Even if Microsoft changed something, it seems to work fine in other applications so there seems to be some lack of support given the 400 Bad Request errors.
> Tested with both Debian 10 and Debian 11, and Asterisk 18.9 and Asterisk 18.12.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list