Activating FastAGI

From MiRTA PBX documentation
Revision as of 16:39, 23 October 2022 by Admin (talk | contribs) (Created page with "With very busy servers, it can help to offload the AGI scripts to another server or process. The load is reduced because there is no need to spawn a process every time a new AGI script is run. To configure the FastAGI please follow this or any other guide on the Internet: https://fire-tamarillo-3f6.notion.site/nodejs-fastagi-server-266693b14a1748fb93a596265691fc38 On the MiRTA PBX side, you can edit the extensions.ael and uncomment the row at top, in globals section...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

With very busy servers, it can help to offload the AGI scripts to another server or process. The load is reduced because there is no need to spawn a process every time a new AGI script is run.

To configure the FastAGI please follow this or any other guide on the Internet:

 https://fire-tamarillo-3f6.notion.site/nodejs-fastagi-server-266693b14a1748fb93a596265691fc38

On the MiRTA PBX side, you can edit the extensions.ael and uncomment the row at top, in globals section (but this change will be overwritten at every upgrade) or add a file in /etc/asterisk/extensions.d named for example fastagi.ael and containing:

 globals {
     FASTAGI=agi://127.0.0.1/;
 };

You need to reload AEL only the first time