[asterisk-users] Calendar integration : Could not authenticate to server: rejected Basic challenge
Jonas Kellens
jonas.kellens at telenet.be
Wed Oct 28 09:21:42 CDT 2015
Hello
so I got this working with Google Calendar and meanwhile also with MS
Exchange.
Does anyone have a working example with Horde Calendar (kronolith)? This
one seems very tough !
Kind regards
Jonas.
On 27-10-15 14:52, Jonas Kellens wrote:
> Mark
>
> thank you for your input.
>
> I am using Asterisk 1.8.32.3 (latest).
>
>
> I indeed use the "Private iCal url" as presented by Google in Calendar
> settings.
>
>
> This is my calendar.conf :
>
> [cal0]
> type = caldav
> url =
> https://calendar.google.com/calendar/ical/info%40domain.tld/private-6e3543acbc76853414124a/basic.ics
> user = info at domain.tld
> secret = mysecretpasswd
> refresh = 15
> timeframe = 60
>
> [cal1]
> type = ical
> url =
> https://calendar.google.com/calendar/ical/info%40domain.tld/private-6e3543acbc76853414124a/basic.ics
> user = info at domain.tld
> secret = mysecretpasswd
> refresh = 15
> timeframe = 60
>
> [cal2]
> type = caldav
> url = https://www.google.com/calendar/dav/info@domain.tld/events/ ;
> Main GMail calendar (the trailing slash is significant!)
> user = info at domain.tld
> secret = mysecretpasswd
> refresh = 15
> timeframe = 60
>
> [cal3]
> type = ical
> url = https://www.google.com/calendar/dav/info@domain.tld/events/ ;
> Main GMail calendar (the trailing slash is significant!)
> user = info at domain.tld
> secret = mysecretpasswd
> refresh = 15
> timeframe = 60
>
>
>
> You see that I try every combination possible.
>
>
>
> [Oct 27 14:28:28] WARNING[26748]: res_calendar_caldav.c:118
> auth_credentials: Invalid username or password for CalDAV calendar 'cal2'
> [Oct 27 14:28:28] WARNING[26748]: res_calendar_caldav.c:157
> caldav_request: Unknown response to CalDAV calendar cal2, request
> REPORT to /calendar/dav/info at domain.tld/events/: Could not
> authenticate to server: rejected Basic challenge
> [Oct 27 14:28:28] WARNING[26746]: res_calendar_icalendar.c:117
> auth_credentials: Invalid username or password for iCalendar 'cal3'
> [Oct 27 14:28:28] WARNING[26746]: res_calendar_icalendar.c:150
> fetch_icalendar: Unable to retrieve iCalendar 'cal3' from
> 'https://www.google.com/calendar/dav/info@domain.tld/events/': Could
> not authenticate to server: rejected Basic challenge
> [Oct 27 14:28:28] WARNING[26746]: res_calendar_icalendar.c:477
> ical_load_calendar: Unable to parse iCalendar 'cal3'
>
>
>
> Calendar Type Status
> -------- ---- ------
> 770000cal3 ical free
> 770000cal2 caldav free
> 770000cal1 ical busy
> 770000cal0 caldav free
>
>
>
> It seems I finally have a working example !! Namely :
>
>
> [cal1]
> type = ical
> url =
> https://calendar.google.com/calendar/ical/info%40domain.tld/private-6e3543acbc76853414124a/basic.ics
> user = info at domain.tld
> secret = mysecretpasswd
> refresh = 15
> timeframe = 60
>
>
> So the "Private iCal url" of Google Calendar is the one to go !
>
>
>
> Jonas.
>
>
>
>
>
>
>
> On 27-10-15 14:04, Mark Wiater wrote:
>> On 10/27/2015 8:56 AM, Jonas Kellens wrote:
>>>
>>> I have changed this setting at Google but it brings me no success.
>>>
>> Jonas,
>>
>> I've been using google calendar and Asterisk 1.8 for a couple of
>> years now without issue.
>>
>> I have a note in my configuration that says that I'm using the
>> Private ICAL URL from gmail and that it's the only one that worked
>> for me. Is that the URL that you're using?
>>
>> Did you change your type to ical in calendar.conf?
>>
>> Mark
>>
>>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20151028/cf75345d/attachment.html>
More information about the asterisk-users
mailing list