<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font face="Helvetica, Arial, sans-serif">Hello<br>
      <br>
      <br>
      so I got this working with Google Calendar and meanwhile also with
      MS Exchange.<br>
      <br>
      <br>
      Does anyone have a working example with Horde Calendar
      (kronolith)? This one seems very tough !<br>
      <br>
      <br>
      <br>
      <br>
      <br>
      Kind regards<br>
      <br>
      Jonas.<br>
      <br>
    </font><br>
    <br>
    <div class="moz-cite-prefix">On 27-10-15 14:52, Jonas Kellens wrote:<br>
    </div>
    <blockquote cite="mid:562F818D.2030101@telenet.be" type="cite">
      <meta content="text/html; charset=windows-1252"
        http-equiv="Content-Type">
      <font face="Helvetica, Arial, sans-serif">Mark<br>
        <br>
        thank you for your input.<br>
        <br>
        I am using Asterisk 1.8.32.3 (latest).<br>
        <br>
        <br>
        I indeed use the "Private iCal url" as presented by Google in
        Calendar settings.<br>
        <br>
        <br>
        This is my calendar.conf :<br>
        <br>
        [cal0]<br>
        type = caldav<br>
        url = <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://calendar.google.com/calendar/ical/info%40domain.tld/private-6e3543acbc76853414124a/basic.ics">https://calendar.google.com/calendar/ical/info%40domain.tld/private-6e3543acbc76853414124a/basic.ics</a><br>
        user = <a moz-do-not-send="true"
          class="moz-txt-link-abbreviated" href="mailto:info@domain.tld">info@domain.tld</a><br>
        secret = mysecretpasswd<br>
        refresh = 15<br>
        timeframe = 60<br>
        <br>
        [cal1]<br>
        type = ical<br>
        url = <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://calendar.google.com/calendar/ical/info%40domain.tld/private-6e3543acbc76853414124a/basic.ics">https://calendar.google.com/calendar/ical/info%40domain.tld/private-6e3543acbc76853414124a/basic.ics</a><br>
        user = <a moz-do-not-send="true"
          class="moz-txt-link-abbreviated" href="mailto:info@domain.tld">info@domain.tld</a><br>
        secret = mysecretpasswd<br>
        refresh = 15<br>
        timeframe = 60<br>
        <br>
        [cal2]<br>
        type = caldav<br>
        url = <a moz-do-not-send="true" class="moz-txt-link-freetext"
          href="https://www.google.com/calendar/dav/info@domain.tld/events/">https://www.google.com/calendar/dav/info@domain.tld/events/</a> 
        ; Main GMail calendar (the trailing slash is significant!)<br>
        user = <a moz-do-not-send="true"
          class="moz-txt-link-abbreviated" href="mailto:info@domain.tld">info@domain.tld</a><br>
        secret = mysecretpasswd<br>
        refresh = 15<br>
        timeframe = 60<br>
        <br>
        [cal3]<br>
        type = ical<br>
        url = <a moz-do-not-send="true" class="moz-txt-link-freetext"
          href="https://www.google.com/calendar/dav/info@domain.tld/events/">https://www.google.com/calendar/dav/info@domain.tld/events/</a> 
        ; Main GMail calendar (the trailing slash is significant!)<br>
        user = <a moz-do-not-send="true"
          class="moz-txt-link-abbreviated" href="mailto:info@domain.tld">info@domain.tld</a><br>
        secret = mysecretpasswd<br>
        refresh = 15<br>
        timeframe = 60<br>
        <br>
        <br>
        <br>
        You see that I try every combination possible.<br>
        <br>
        <br>
        <br>
        [Oct 27 14:28:28] WARNING[26748]: res_calendar_caldav.c:118
        auth_credentials: Invalid username or password for CalDAV
        calendar 'cal2'<br>
        [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@domain.tld/events/: Could
        not authenticate to server: rejected Basic challenge<br>
        [Oct 27 14:28:28] WARNING[26746]: res_calendar_icalendar.c:117
        auth_credentials: Invalid username or password for iCalendar
        'cal3'<br>
        [Oct 27 14:28:28] WARNING[26746]: res_calendar_icalendar.c:150
        fetch_icalendar: Unable to retrieve iCalendar 'cal3' from '<a
          moz-do-not-send="true" class="moz-txt-link-freetext"
          href="https://www.google.com/calendar/dav/info@domain.tld/events/">https://www.google.com/calendar/dav/info@domain.tld/events/</a>':



        Could not authenticate to server: rejected Basic challenge<br>
        [Oct 27 14:28:28] WARNING[26746]: res_calendar_icalendar.c:477
        ical_load_calendar: Unable to parse iCalendar 'cal3'<br>
        <br>
        <br>
        <br>
        Calendar             Type       Status<br>
        --------             ----       ------<br>
        770000cal3           ical       free  <br>
        770000cal2           caldav     free  <br>
        770000cal1           ical       busy  <br>
        770000cal0           caldav     free <br>
        <br>
        <br>
        <br>
        It seems I finally have a working example !! Namely :<br>
        <br>
      </font><br>
      <font face="Helvetica, Arial, sans-serif"><font face="Helvetica,
          Arial, sans-serif">[cal1]<br>
          type = ical<br>
          url = <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://calendar.google.com/calendar/ical/info%40domain.tld/private-6e3543acbc76853414124a/basic.ics">https://calendar.google.com/calendar/ical/info%40domain.tld/private-6e3543acbc76853414124a/basic.ics</a><br>
          user = <a moz-do-not-send="true"
            class="moz-txt-link-abbreviated"
            href="mailto:info@domain.tld">info@domain.tld</a><br>
          secret = mysecretpasswd<br>
          refresh = 15<br>
          timeframe = 60<br>
          <br>
          <br>
          So the "Private iCal url" of Google Calendar is the one to go
          !<br>
          <br>
          <br>
          <br>
          Jonas.<br>
          <br>
          <br>
        </font><br>
        <br>
      </font><br>
      <br>
      <br>
      <div class="moz-cite-prefix">On 27-10-15 14:04, Mark Wiater wrote:<br>
      </div>
      <blockquote cite="mid:562F7671.4070301@greybeam.com" type="cite">
        <meta content="text/html; charset=windows-1252"
          http-equiv="Content-Type">
        On 10/27/2015 8:56 AM, Jonas Kellens wrote:<br>
        <blockquote cite="mid:562F7465.40107@telenet.be" type="cite">
          <meta content="text/html; charset=windows-1252"
            http-equiv="Content-Type">
          <font face="Helvetica, Arial, sans-serif"><br>
            I have changed this setting at Google but it brings me no
            success.<br>
          </font><br>
        </blockquote>
        Jonas,<br>
        <br>
        I've been using google calendar and Asterisk 1.8 for a couple of
        years now without issue.<br>
        <br>
        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?<br>
        <br>
        Did you change your type to ical in calendar.conf?<br>
        <br>
        Mark<br>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
      </blockquote>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br>
  </body>
</html>