Asterisk PRI 拨号器问题
我是一名经验丰富的 PHP 程序员,但对 Asterisk 是新手。我已经完成了我的商业申请,该申请创建了要拨打的号码列表。呼叫 SoftPhone 的系统运行完美,但由于我没有接触过 PRI 拨号,所以我不确定需要做什么。
我知道 libpri 模块,但如何使用仍然是个谜。我尝试研究 zaptel,但我认为它不能满足我的需要。我的观点可能是错的,但太多的互联网阅读对我没有任何帮助。
我与一些顾问进行了讨论,他们提到他们有一个 PRI 拨号器并已获得许可。我无法使用该软件,因为我需要我的一些东西,以便我可以进一步出售它。
我需要一些指导来制作这样的 PRI Dialer。
问候,
尼丁
I am an experienced PHP Programmer but newbie with Asterisk. I have completed my business application which creates a list of numbers which are to be called. The system to call on SoftPhone is working perfect, but since I do not have any exposure to PRI Dialing I am not sure what needs to be done.
I am aware of libpri module but how to use is still a mystery. I tried looking into zaptel but I do not think its performing what I need. I may be wrong with this, but too much of reading on internet has not helped me at all.
I have had a discussion with few consultants and they mentioned that they have a PRI Dialer and its licenced. I cannot use that software as I need something of mine so that I can sell it further.
I need some guidance to make such PRI Dialer.
Regards,
Nitin
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您需要使用Asterisk Manager Interface (AMI )。有一个 php 类可以执行此操作,称为 php-astmanager.php。最新且经过压力测试的版本作为 FreePBX。 pri 的东西与你想要做的事情完全无关。
如果您使用 FreePBX,还有一个可以使用 Brodcast Dialing 的商业模块,可从 Schmoozecom.com 获取,此处: http:// freepbxdistro.org/products
You need to interface to asterisk using the Asterisk Manager Interface (AMI). There is a php class for doing so, called php-astmanager.php. The most up-to-date and stress tested version is distributed as a part of FreePBX. The pri stuff is totally unrelated to what you are trying to do.
If you are using FreePBX, there is also a commercial module that dose Brodcast Dialing, available from Schmoozecom.com, here: http://freepbxdistro.org/products
如果您在 Asterisk 中正确设置了 PRI,这意味着您可以通过 Asterisk 在 PRI 上拨打和接听电话,那么通过 PRI 拨号与通过 SIP 或任何其他机制拨打电话没有什么不同。正如 Mbrevda 所说,PRI 无关紧要,不需要任何类型的 PRI 拨号器或类似的东西。 Asterisk 可以通过适当的硬件(即 Digium 或 Rhino 卡)轻松处理此问题。
忠告智者——始终投资于基于硬件的回声消除。它会增加您 PRI 卡的价格,但其价值是其 100 倍。
您可以通过多种方式生成呼叫。本网站 http://www.voip-info.org/wiki /view/Asterisk+auto-dial+out 很好地概述了如何创建呼叫。如果您希望通过 PHP 来控制它,您可能会发现使用 .call 文件是最简单的。
If you have the PRI set up properly in Asterisk -- meaning you are able to make and receive calls on the PRI through Asterisk, dialing through the PRI is no different than calling through SIP or any other mechanism. As Mbrevda said, the PRI is irrelevant and there is no need for any kind of PRI dialer or anything like that. Asterisk can handle this easily with the proper hardware (i.e. Digium or Rhino card).
Word to the wise -- ALWAYS invest in hardware-based echo cancellation. It adds to the price of your PRI card but it is worth it 100 times over.
You can generate your calls in several ways. This site http://www.voip-info.org/wiki/view/Asterisk+auto-dial+out has a good overview of how to create calls. If you are looking to control this from PHP you may find using the .call file the easiest.