0

Asterisk has Asterisk Manager Interface (AMI) and Asterisk Gateway Interface (AGI), using which one can trigger PHP scripts at certain events from Asterisk. Using the same PHP scripts can also instruct Asterisk what to do next to a call/conference. Are there parallels to AMI and AGI in FreeSWITCH?

jeff musk
  • 237
  • 2
  • 11

1 Answers1

0

For the AMI you're looking for the Event Socket Library. There are a few examples available on the mod_event_socket page.

AGI is a little different. You can do things similar in FreeSWITCH but they would recommend using lua. I've personally used the FreeSWITCH mod_perl with good results.

jeff musk
  • 237
  • 2
  • 11
dkwiebe
  • 641
  • 3
  • 6
  • thank you for your help in this question. I have added the link to lua in your reply. On a different note, can you please look at this question: http://serverfault.com/q/345784/105376 I would greatly appreciate your response. – jeff musk Jan 02 '12 at 00:48