Glossary

AGI (Asterisk Gateway Interface)

Asterisk's plugin protocol — VICIdial uses AGI scripts heavily for dial-plan logic.

AGI = Asterisk Gateway Interface. A protocol Asterisk uses to call out to external scripts (Perl, PHP, Python) during call processing. VICIdial's dial plan is built almost entirely on AGI scripts.

Example: when a call connects in a campaign, Asterisk runs agi://127.0.0.1:4577/call_log — that's an AGI handler in VICIdial that logs the call and routes it to an available agent.

Custom AGI

You can write your own AGI scripts to extend VICIdial:

  • Custom CRM lookups (pop a record into the agent's screen)
  • Special routing logic (priority queues, skill-based)
  • Custom logging

Drop them in /usr/share/astguiclient/ and reference from your dial plan.

Related