1

メソッド AgentCallbackLogin は、アスタリスク マネージャー インターフェイス (asterisk-java) から廃止されました。エージェントの接続を管理して、キューからの呼び出しを受信できるようにするか、ハンドセットを使用せずに (agentLogin (エージェント) を使用して) ログインする必要があります。アイデアはありますか??

4

1 に答える 1

1

同じ目的で AddQueueMember を使用できるようになりました

core show application AddQueueMember 

  -= Info about application 'AddQueueMember' =- 

[Synopsis]
Dynamically adds queue members. 

[Description]
Dynamically adds interface to an existing queue. If the interface is already
in the queue it will return an error.
This application sets the following channel variable upon completion:
${AQMSTATUS}: The status of the attempt to add a queue member as a text
string.
    ADDED
    MEMBERALREADY
    NOSUCHQUEUE

[Syntax]
AddQueueMember(queuename[,interface[,penalty[,options[,membername[,stateinterface]]]]])

たとえば、コールバックを番号 123456789 にしたい場合は、

AddQueueMember(800,Local/123456789@out/n)
于 2014-07-13T15:28:20.617 に答える