Well, AGI and AMI are two totally different things. AGI very much a scripting API, enabling you to execute 3rd party scripts from within the dialplan (it can do much more, but this it the general idea). AMI is a TCP server socket, allowing you to have real-time call control and events thrown back at your TCP client program.
Most systems will utilize a mixture of both, in order to facilitate a solution. For example, in your case, you would use AMI for originating the outbound calls, while you would use AGI in order to perform in-dialplan logic.
The AMI configuration is governed by the /etc/asterisk/manager.conf file, or if you used any of the FreePBX based distributions (Elastix, TrixBox, PIAF, FreePBX Distro), the file you need to work with is called /etc/asterisk/manager_custom.conf.
アスタリスク AGI とアスタリスク AMI に関する追加情報は、http: //www.simionovich.com の私の個人的なブログで見つけることができます。または、私の名前を Google に入力すると (非常に自己宣伝的であることはわかっています)、複数の論文が見つかります。そして、私がこの主題について何年にもわたって行ってきたプレゼンテーション。
追加の予備情報は、次のリンクから入手できます。