I’m trying to mkake sure that I understand the design of bootstrap, and the design framework for modules as best I can before I make any other comments or suggestions for improvements.
I have probably missed it, but I can’t find anything on the website explaining the overall design linking the various blocks fit together:
Asterisk (runtime)
Databse for storing configuration information
How a module interfaces with freepbx for configuration
How a module interfaces with asterisk when being run during a call (solely AGI I assume)
etc.
I have had a go a drawing this which I’m happy to post for correction, but if there is a design doc out there, I’d really appreciate a chance to read it.
So, could you give me an example of a module which, when used during a callm needs to access freepbx (any part) which isn’t covered by AGI and DB access? I’d appreciate a chance to look at the code for such a module so that I can understand he framework better.