Asterisk 1.8.3.2 and Google Calendar Integration

Hi

After reading few documents/googling created following calendar.conf

[mycal]
type=caldav ; calendar type
url=https://www.google.com/calendar/dav/myname%40gmail.com/user
user=myname@gmail.com ; login name
secret=MyPaSsWd123
refresh=15
timeframe=60
channel=SIP/0000FFFF0001
app=Playback
appdata=this-is-yr-wakeup-call

cli is not showing any Calendar

calendar show calendars
Calendar Type Status


But with same URL and username, passwd, Mac ical (application) can connecte/read/write google calendar

the asterisk log shows as follows for calendar integration

[Apr 18 19:33:30] VERBOSE[2927] config.c: == Parsing ‘/etc/asterisk/calendar.conf’: [Apr 18 19:33:30] VERBOSE[2927] config.c: == Found
[Apr 18 19:33:30] VERBOSE[2927] pbx.c: == Registered custom function ‘CALENDAR_BUSY’
[Apr 18 19:33:30] VERBOSE[2927] pbx.c: == Registered custom function ‘CALENDAR_EVENT’
[Apr 18 19:33:30] VERBOSE[2927] pbx.c: == Registered custom function ‘CALENDAR_QUERY’
[Apr 18 19:33:30] VERBOSE[2927] pbx.c: == Registered custom function ‘CALENDAR_QUERY_RESULT’
[Apr 18 19:33:30] VERBOSE[2927] pbx.c: == Registered custom function ‘CALENDAR_WRITE’
[Apr 18 19:33:30] VERBOSE[2927] loader.c: res_calendar.so => (Asterisk Calendar integration)

dialplan try to write to Calendar got following error message

[Apr 18 20:04:14] WARNING[16371] res_calendar.c: Couldn’t find calendar ‘mycal’

Please let me know where I am gone wrong.

Thanks in advance

Thambi

Hi

Further debug shows:

XXX res_calendar_caldav
XXX res_calendar_ews
XXX res_calendar_exchange
XXX res_calendar_icalendar

Was not enabled bcos
Asterisk CalDAV Calendar Integration
Depends on: neon(E), ical(E), libxml2(E)

But my system following are installed too

libical.i386 0.46-2.el5 installed
libical-devel.i386 0.46-2.el5 installed
neon.i386 0.25.5-10.el5_4.1 installed
neon-devel.i386 0.25.5-10.el5_4.1 installed
libxml2.i386 2.6.26-2.1.2.8.el5_5.1 installed
libxml2-devel.i386 2.6.26-2.1.2.8.el5_5.1 installed
libxml2-python.i386 2.6.26-2.1.2.8.el5_5.1 installed

So where is the issue ?

Thanks
Thambi

Hi

Make clean, configure and rerun make menuselect solved the issue.

Now I am able to see the calendar and write_calendar succeed too. But I am not sure How to check the google calendar that write entry happended.

thambi