0

アスタリスク コマンドを使用するために、AMI でいくつかの php コードを作成しました。

Asterisk Manager Interface (AMI)Asterisk Gateway Interface (AGI)の違いは正確にはわかりませんが、私の計画には魔女の方が適しています。

私は、その番号が web 上の私のパネルであることをパーティー ユーザーに電話する予定です。一部のオペレーターがいて、番号をクリックしてクライアント ソフトフォン経由でパーティ ユーザーに電話をかけることができるため、リストされた番号のみに電話をかけるように制限されています (別の番号に電話することはできません)。

これらの権限を設定するにはどうすればよいですか? また、php経由でアスタリスク(IVR録音音声)に着信レコードを保存するにはどうすればよいですか。Asterisk Manager Interface (AMI)またはAsterisk Gateway Interface (AGI)を使用する必要がありますか?

4

3 に答える 3

1

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 に入力すると (非常に自己宣伝的であることはわかっています)、複数の論文が見つかります。そして、私がこの主題について何年にもわたって行ってきたプレゼンテーション。

追加の予備情報は、次のリンクから入手できます。

于 2013-01-14T12:16:41.637 に答える
0

ダイヤルアウトする場合は、AMIが最適です(アスタリスクの用語ではOriginateと呼ばれます)。あなたの生活を楽にする利用可能なライブラリがたくさんあります。

于 2013-01-29T18:49:53.637 に答える
0

通話の録音を行うには、Mixmonitor コマンドを使用します

http://www.voip-info.org/wiki/view/MixMonitor

またはEAGI

http://www.voip-info.org/wiki/view/Asterisk+EAGI

「アクセス許可」は、dialplan http://www.voip-info.org/wiki/view/Asterisk+Dialplan+Introductionで設定でき ます

または agi/fastagi スクリプトを使用します。

于 2013-01-14T14:55:37.307 に答える