I want to integrate an Ical calendar in call routing. This call routing is not done in FreePbx, but in additional configuration files (created by VisualDailPlan). The calendar function in FreePBX is available (and configured), but I can’t find the calendar.conf, so I expect that this is stored in a database.
Is it possible to use this calendar information in standard asterisk call routing configs and if so is there documentation available that I can use ?
Not sure I completely understand what you are trying to achieve. If it’s routing based on the calendar imported in the calendar module, then you can create a time condition which is tied to a calendar event, place a call that loops through that TC and review the logs to see what it does.
Another option might be, to use the official API, refer to the Wiki for instructions.
Routing in my situation is not done via the default Freebpx GUI / Functions. Most of the configuration is defined in e.g extensions_custom.conf that refers to extra functionality not controlled by Freepbx (but 3rd party tooling).
I would like to access the calendar defined in Freepbx “outside” the default GUI functions in Freepbx in the extensions_custom.conf as depicted below via a Freepbx function call.
exten => Bel,1,Goto(1,lbl_IVR-mainmenu-open_2)
;Google Calender integration [Working-Days]
Or can I use calendar.conf on top of Freepbx or can I use something like Hooking Calendar or use a GoSub in my [context] of the dailplan?
After reading your previous post, I googled “AGI” and that indeed resulted in that tutorial… But I never had the intention to learn a programming language to solve my challenge
No subroutine or standard asterisk calendar config I can use in a custom extension of the dialplan ?
Nope - it really is 5th level mage stuff. It’s not hard to get there, but it’s going to take some time on your part. As the system moves forward, someone will get it working to do what you need and then you’ll be golden.
Now, having said that, AGI is language agnostic. Use the tutorial as an example and implement your activities in whatever language you’re comfortable with.