
Asterisk 11 calendar problem
Recently I was working on astersik integrating with the calendar,but i meet some problems. myOS:ubuntu 12.04 ,asterisk 11.The CLI messages:can't read the status line.
*CLI> calendar show calendars
Calendar Type Status
-------- ---- ------
myGoogleCal caldav free
*CLI> calendar show calendar myGoogleCal
Name : myGoogleCal
Notify channel :
Notify context :
Notify extension :
Notify applicatio :
Notify appdata :
Refresh time : 1
Timeframe : 30
Autoreminder : 0
Events
------
*CLI>
The config file:
[myGoogleCal]
type=caldav
url=https://www.google.com/calendar/dav/xxxxxxxx/events/
user=xxxxxxx
secret=xxxxx
please help me
*CLI> calendar show calendars
Calendar Type Status
-------- ---- ------
myGoogleCal caldav free
*CLI> calendar show calendar myGoogleCal
Name : myGoogleCal
Notify channel :
Notify context :
Notify extension :
Notify applicatio :
Notify appdata :
Refresh time : 1
Timeframe : 30
Autoreminder : 0
Events
------
*CLI>
The config file:
[myGoogleCal]
type=caldav
url=https://www.google.com/calendar/dav/xxxxxxxx/events/
user=xxxxxxx
secret=xxxxx
please help me
According to the information that you have provided, it seems that you are dealing with a connection issue, I don't think that the problem is caused by a miss-configuration.
According to our Engineering Department, the module (under the hood) is making an HTTP request to the Google calendar, therefore it should be very easy to check by using the following URL on your web browser.
https://www.google.com/calendar/dav/username@gmail.com/events/
Change username@gmail with whatever gmail account you want, go to it, enter your credentials, and make sure you get a calendar blob back
All Answers
res_calendar_caldav.c:165 caldav_request: Unknown response to CalDAV calendar myGoogleCal, request REPORT to /calendar/dav/smiledongyu@gmail.com/events/: Could not read status line: connection timed out
According to the information that you have provided, it seems that you are dealing with a connection issue, I don't think that the problem is caused by a miss-configuration.
According to our Engineering Department, the module (under the hood) is making an HTTP request to the Google calendar, therefore it should be very easy to check by using the following URL on your web browser.
https://www.google.com/calendar/dav/username@gmail.com/events/
Change username@gmail with whatever gmail account you want, go to it, enter your credentials, and make sure you get a calendar blob back