AGI and C Program

I am studying with fedora and asterisk 20.8.1.

In one blog, you can use functions handled by dianplan in agi (for example, answer()), but in agi
Process only the necessary tasks and return to dialplan.
They say it has less effect on the system, but is that still the case?
If you call agi in extensions.conf and create a program using agi in C, I wonder if the system will not work properly due to overload due to too many lines or other circumstances. I’m trying to create an ivr program.

  • PS: After installing Asterisk 20.8.1, link the agi.h file
    When an error occurred, I received help from here and downloaded the agi.h agi.c example.c files and used them, and there was no problem. What did I do wrong?
    Where can I refer to what AGI functions are used in C?

Asterisk provides no C library for writing AGIs. The agi.h file is for extending AGI support within Asterisk.

In php, create agi
It seems like you are using a dialplan command such as agi.hanup.
What I am saying is that c does not work.

There are people who have written AGI applications in C. It’s completely up to them, unless a C library for it exists and it is used. AGIs can be written in basically anything. The project does not provide a library for it in C.

I had a personal project that used AMI + AGI.

I don’t remember how this was working, but I remember that I enjoyed it with AMI + AGI in this project.

This repo is not active anymore but it might be helpful for you.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.