简体   繁体   English

Asterisk 队列事件

[英]Asterisk Queue Events

I have a setup with queue and queue agents.我有一个带有队列和队列代理的设置。

I'm using AMI daemon to receive events from queues.我正在使用 AMI 守护程序从队列中接收事件。

Everything is working fine when agents added on queue and are not paused.当代理添加到队列中并且没有暂停时,一切正常。

Now I need to redirect calls from queue to paused agents or non-queue agents.现在我需要将呼叫从队列重定向到暂停的代理或非队列代理。

I'm using AMI to redirect calls from queue to agents, but no events like AgentConnect, AgentCalled, AgentComplete are fired.我正在使用 AMI 将呼叫从队列重定向到代理,但没有触发诸如 AgentConnect、AgentCalled、AgentComplete 之类的事件。

I use command like channel redirect SIP/1002-00000005 ext-local,1000,1我使用channel redirect SIP/1002-00000005 ext-local,1000,1

Is this the proper way to pickup the call from queue?这是从队列中接听电话的正确方法吗?

Thanks谢谢

When you do ANY redirect or transfer outside queue your queue app loose control so will be no events.当您执行任何重定向或转移到队列外时,您的队列应用程序会失去控制,因此不会发生任何事件。

You can use any method.您可以使用任何方法。 Anyway you can't orginize queue so it do call to PAUSED member.无论如何,您无法组织队列,因此它会调用 PAUSED 成员。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM