<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font face="Helvetica, Arial, sans-serif">Hello<br>
      <br>
      <br>
      I have changed this setting at Google but it brings me no success.<br>
      <br>
      <br>
      I add that I have the same problem with another calendar (Horde) :<br>
      <br>
      <br>
      [Oct 27 12:08:32] WARNING[24844]: res_calendar_caldav.c:118
      auth_credentials: Invalid username or password for CalDAV calendar
      'cal2'<br>
      [Oct 27 12:08:32] WARNING[24844]: res_calendar_caldav.c:157
      caldav_request: Unknown response to CalDAV calendar cal2, request
      REPORT to
      /rpc.php/kronolith/jonas@mydomain.tld/jonas@mydomain.tld.ics:
      Could not authenticate to server: rejected Basic challenge<br>
      <br>
      <br>
      <br>
      When using "caldav" or "ical" with Google Calendar, I now get this
      notice :<br>
      <br>
      [Oct 27 13:43:51] WARNING[25202]: res_calendar_caldav.c:157
      caldav_request: Unknown response to CalDAV calendar cal0, request
      REPORT to
      /calendar/ical/info%40domain.tld/private-6e3543acbc7e2ad02b3d414124a/basic.ics:
      SSL handshake failed: SSL error: GnuTLS internal error.<br>
      <br>
      I have also taken the URL as presented by Google in the Calendar
      settings.<br>
      <br>
      But as u see... it does not work !<br>
      <br>
      <br>
      <br>
      <br>
      So it does not seem to be a problem with Google Calendar, as the
      same problem occurs with Horde Calendar.<br>
      <br>
      <br>
      <br>
      Anyone has a working example please ??<br>
      <br>
      <br>
      <br>
      <br>
      Kind regards<br>
      <br>
      Jonas.</font><br>
    <br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 27-10-15 13:19, Dan Heywood wrote:<br>
    </div>
    <blockquote cite="mid:000001d110b1$c8f41430$5adc3c90$@dreambox.ae"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
h5
        {mso-style-priority:9;
        mso-style-link:"Heading 5 Char";
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:10.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Consolas","serif";
        color:black;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";
        color:black;}
span.Heading5Char
        {mso-style-name:"Heading 5 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 5";
        font-weight:bold;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi
            Jonas,<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Is
            it google apps? Try checking the following in your google
            account settings:</span><span
style="font-family:"Arial","sans-serif";color:#181818"><o:p></o:p></span></p>
        <p class="MsoNormal" style="background:white"><span
style="font-family:"Arial","sans-serif";color:#181818"><o:p> </o:p></span></p>
        <p class="MsoNormal" style="background:white"><span
style="font-size:11.0pt;font-family:"Arial","sans-serif";color:#181818">Allow
            less secure apps: ON<o:p></o:p></span></p>
        <p class="MsoNormal" style="background:white"><span
style="font-size:11.0pt;font-family:"Arial","sans-serif";color:#737373">Some
            non-Google apps and devices use less secure sign-in
            technology, which could leave your account vulnerable. You
            can turn off access for these apps (which we recommend) or
            choose to use them despite the risks.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I
            had to enable this to allow login from a linux based
            application in order to send out email.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Thanks,<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Dan<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
        <div>
          <div style="border:none;border-top:solid #B5C4DF
            1.0pt;padding:3.0pt 0in 0in 0in">
            <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"
                  lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"
                lang="EN-US"> <a class="moz-txt-link-abbreviated" href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>
                [<a class="moz-txt-link-freetext" href="mailto:asterisk-users-bounces@lists.digium.com">mailto:asterisk-users-bounces@lists.digium.com</a>] <b>On
                  Behalf Of </b>Jonas Kellens<br>
                <b>Sent:</b> Tuesday, October 27, 2015 1:33 PM<br>
                <b>To:</b> Asterisk Users Mailing List - Non-Commercial
                Discussion<br>
                <b>Subject:</b> Re: [asterisk-users] Calendar
                integration : Could not authenticate to server: rejected
                Basic challenge<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal" style="margin-bottom:12.0pt"><span
            style="font-family:"Helvetica","sans-serif"">Hello<br>
            <br>
            <br>
            I have changed type 'caldav' to 'ical', but still no succes
            :<br>
            <br>
            <br>
            [Oct 27 10:30:38] WARNING[23388]:
            res_calendar_icalendar.c:117 auth_credentials: Invalid
            username or password for iCalendar 'cal1'<br>
            [Oct 27 10:30:38] WARNING[23388]:
            res_calendar_icalendar.c:150 fetch_icalendar: Unable to
            retrieve iCalendar 'cal1' from '<a moz-do-not-send="true"
              href="https://www.google.com/calendar/dav/info@mydomain.tld/events/">https://www.google.com/calendar/dav/info@mydomain.tld/events/</a>':
            Could not authenticate to server: rejected Basic challenge<br>
            <br>
            <br>
            <br>
            siptest*CLI> calendar show calendars<br>
            Calendar             Type       Status<br>
            --------             ----       ------<br>
            cal1                ical       free  <br>
            <br>
            <br>
            <br>
            <br>
            Am I missing something obvious here ?<br>
            <br>
            <br>
            <br>
            Kind regards<br>
            <br>
            Jonas<br>
            <br>
            <br>
            <br>
          </span><o:p></o:p></p>
        <div>
          <p class="MsoNormal">On 26-10-15 17:02, Marek Červenka wrote:<o:p></o:p></p>
        </div>
        <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
          <div>
            <p class="MsoNormal">try ical url<br>
              <br>
              caldav switched to Oauth<br>
              <a moz-do-not-send="true"
href="https://blog.mozilla.org/calendar/2013/09/google-is-changing-the-location-url-of-their-caldav-calendars/">https://blog.mozilla.org/calendar/2013/09/google-is-changing-the-location-url-of-their-caldav-calendars/</a><br>
              <br>
              and this looks like you must use Oauth 2.0<br>
              <a moz-do-not-send="true"
href="https://developers.google.com/google-apps/calendar/caldav/v2/guide">https://developers.google.com/google-apps/calendar/caldav/v2/guide</a><br>
              <br>
              Dne 26.10.2015 v 12:17 Jonas Kellens napsal(a):<o:p></o:p></p>
          </div>
          <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
            <p class="MsoNormal"><span
                style="font-family:"Helvetica","sans-serif"">Hello<br>
                <br>
                <br>
                I find very little feedback on the following
                warning/error when trying to connect to Google calendar
                :<br>
                <br>
                <br>
                [Oct 26 12:11:14] WARNING[24926]:
                res_calendar_caldav.c:118 auth_credentials: Invalid
                username or password for CalDAV calendar 'cal1'<br>
                [Oct 26 12:11:14] WARNING[24926]:
                res_calendar_caldav.c:157 caldav_request: Unknown
                response to CalDAV calendar cal1, request REPORT to <a
                  moz-do-not-send="true"
                  href="mailto:/calendar/dav/info@mydomain.tld/events/">/calendar/dav/info@mydomain.tld/events/</a>:
                Could not authenticate to server: rejected Basic
                challenge<br>
                <br>
                <br>
                [cal1]<br>
                type = caldav<br>
                url = <a moz-do-not-send="true"
                  href="https://www.google.com/calendar/dav/info@mydomain.tld/events/">https://www.google.com/calendar/dav/info@mydomain.tld/events/</a><br>
                user = <a moz-do-not-send="true"
                  href="mailto:info@mydomain.tld">info@mydomain.tld</a><br>
                secret = mysecret<br>
                refresh = 15<br>
                timeframe = 60<br>
                <br>
                <br>
                <br>
                When I go to the URL <a moz-do-not-send="true"
                  href="https://www.google.com/calendar/dav/info@mydomain.tld/events/">https://www.google.com/calendar/dav/info@mydomain.tld/events/</a>
                I can log in with the credentials to the calendar (and
                get a download window for the calendar file).<br>
                <br>
                So it seems not a problem of authentication to me.<br>
                <br>
                <br>
                But what then could be the real issue here ?<br>
                <br>
                <br>
                <br>
                <br>
                <br>
                Thanks<br>
                <br>
                Kind regards<br>
                <br>
                Jonas.<br>
              </span><br>
              <br>
              <o:p></o:p></p>
          </blockquote>
          <p class="MsoNormal"><br>
            <br>
            <br>
            <o:p></o:p></p>
          <pre>-- <o:p></o:p></pre>
          <pre>---------------------------------------<o:p></o:p></pre>
          <pre>Marek Cervenka<o:p></o:p></pre>
          <pre>=======================================<o:p></o:p></pre>
          <p class="MsoNormal"><br>
            <br>
            <o:p></o:p></p>
        </blockquote>
        <p class="MsoNormal"><o:p> </o:p></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br>
  </body>
</html>