I have a setup with FreePBX (RasPBX) and we use Google calendar to control incoming call route. It works great… until someone decides on last minute to change something. We use 4-6 calendars and most of them refresh twice a day or so.
To my main question.
Is there a way to have a website showing the status of the calendar and then have a button to force reload from the calendars?
In that way, the user can see what’s up next and if they make changes to their calendars they can force reload and see if the changes have come through.
If there is a way to do it built-in I may have missed it. I appreciate any pointers to work from.
Thanks in advance,
One hopeful FreePBX user.
Hi you clever people,
Has anyone any idea how to do this or where I should look?
There are fwconsole commands for the calendar module:
# fwconsole calendar --help
--sync Syncronize all Calendars
--force Force command
--list List Events
--export=EXPORT Export Calendar by ID
--import=IMPORT Import Calendar by ID
--reset=RESET Reset Calendar by ID
--file=FILE File location of the ics to import
--match=MATCH Check if match, value can be any timestamp
--type=TYPE One of: calendar | event | group
--id=ID One of: calendar id | event id | group id
-h, --help Display this help message
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi Force ANSI output
--no-ansi Disable ANSI output
-n, --no-interaction Do not ask any interactive question
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
It looks like you’re looking for
fwconsole calendar --sync
I will now have to find a way to use this from a website…
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.