Integrating asterisk to a webapp

Is it possible to connect asterisk to a. web based applications, mainly to initiate and record calls?

If you code it, yes.

Using AMI and Local channels, along with well-crafted PHP code, is indeed very sweet and simple

Python lets you use async/await for convenient event-driven programming. A lot of telephony is about responding to events, which is a natural fit for the event-driven paradigm.

Examples of what I mean: https://gitlab.com/ldo/seaskirt_examples/.

Thank you, please how can I access the DB or access to an API to fetch data from the DB.

Thank you. Yes I code.

Thank you. I’ll check this out.