简体   繁体   English

反向拨号

[英]Reverse dialing

I'm new to asterisk and struggling with it. 我是星号的新手并且在努力奋斗。 I'd appreciate any help. 我很感激任何帮助。

I'm building a schedule call feature in a CRM. 我正在CRM中构建计划调用功能。 I have a list of phone-numbers stored in a table in mysql. 我有一个存储在mysql表中的电话号码列表。

I'm using AMI Originate to make calls to these phone-numbers and connect them to agents in a queue. 我正在使用AMI Originate来拨打这些电话号码并将它们连接到队列中的座席。 The problem is that Originate first calls client and puts him on hold and then calls the queue. 问题是Originate首先调用客户端并将其置于保持状态,然后调用队列。 I need to first call the queue, wait for an agent to answer, put the agent on HOLD, and then call the client, So i dont make the client wait for a call he does not know what it is and probably hangup on the call. 我需要先调用队列,等待代理回答,将代理置于HOLD状态,然后调用客户端,所以我不让客户端等待呼叫,他不知道它是什么,可能挂断电话。

I've seen this working in wombat dialer, but i dont know how it actually works. 我见过这个在袋熊拨号器上工作,但我不知道它是如何工作的。

Thanks in advance 提前致谢

Since the application originate waits for the first channel to answer before atempting to connect to the second channel, you should first contact an agent and then the customer. 由于应用程序始发在尝试连接到第二个通道之前等待第一个通道应答,因此您应首先联系代理然后联系客户。 I would recomend working with ringroups (where the agents extensions would ring when dialed) instead of queues, because queues answer the channel while waiting for an agent and ringroups only after someone pick up. 我建议使用ringroups(代理扩展在拨打时会响铃)而不是队列,因为队列在等待代理时应答通道,并且只有在有人接听后才会响铃。

If you want a more advanced option you should try VICIdial, it's a predictive dialer, it can dial a bunch of phones and send the call to an agent only whene someone (or something) answers the destination call. 如果你想要一个更高级的选项你应该尝试VICIdial,它是一个预测拨号器,它可以拨打一堆电话,只有当某人(或某事)接听目的地呼叫时才将呼叫发送给代理。 It's open source, it has a very easy and complete API. 它是开源的,它有一个非常简单和完整的API。 If you need any help with it let me know. 如果您需要任何帮助,请告诉我。

Lets say you have freepbx and usual queue 800. To do what you ask, just need originate to 让我们说你有freepbx和通常的队列800.要做你所要求的,只需要起源

Local/800@queues/n

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

Please note, it still recommended have at least 5 years REAL experience with asterisk before do dialout soft. 请注意,在拨号软件之前,仍建议至少有5年的星号实际经验。 If you have less, use vicidial or other soft which take care of possible "bad" situations like 1000channels triing go via your small server. 如果你的钱少了,可以使用vicidial或其他软件来处理可能的“坏”情况,例如通过你的小型服务器进行1000通道攻击。

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

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