I noticed that my caldav function in FreePBX was not working anymore. During the analysis I found the following details.
** addtional detail…
I manually editted /etc/asterisk/calendar.conf years ago and was using these settings and would show (and update) the defined caldav calendar. This calendar is being used in an custom_extension.conf
Just added the same calendar via the FreePBX GUI with a different name and it shows correctly, but can’t find any scheduled events on the asterisk commandline ***
/usr/lib64/asterisk/modules/res_calender_caldav.so is present and it is loaded
(checked /var/log/asterisk/full).
calendar version 16.0.13
I can’t see any future events via but verified there is an event coming in 24 hrs.
I’m stuck in the next step of diagnosing this issue mainly because I’m not familiar with debugging these issues. Checked all logs, but no issue found. Any help is much appreciated
After reading a lot about the calendar functionality and how it is integrated in the FreePBX concept I concluded that my solution to work with a /etc/asterisk/calendar.conf does not make sense because the functionality is integrated.
In the past I created an external calendar process (based on /etc/asterisk/calendar.conf) parallel to FreePBX Calendar (which was not used but installed) and that has worked for years (but currently not anymore)
The internal FreePBX calendar is working as designed but I need the variable that I can use in my custom_extension.conf
The FreePBX calendar engine is independent and separate from the asterisk calendar functionality. When I pitched the idea of calendars in FreePBX I planned to use the functionality in Asterisk. It was one of those this will take 5 minutes, easy peasy things. Turns out the asterisk calendar stuff isn’t heavily used or overly flexible. In any case I had to write an entire calendar engine for FreePBX. It wasn’t as fast or fun as I had hoped and calendars are much more complicated than one would think. In any case there is a chance one of the libraries are out of date (no pun intended) or there is another bug. If you can provide reproducible steps I would file a bug at https://issues.freepbx.org
Being independent the asterisk and FreePBX calendar stuff can be used at the same time, neither will break the other.