<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><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]--></head><body bgcolor=white lang=EN-GB link=blue vlink=purple><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 lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] <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 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 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 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 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 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 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 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></body></html>