Asterisk的点击通话 [英] Asterisk click to call

查看:235
本文介绍了Asterisk的点击通话的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

也许你们有些人可能知道如何实现这一目标。
我想是这样的:

Maybe some of you may know how to achieve this. I want something like this:


  1. 点击链接/按钮

  2. 我的手机戒指,我把它捡起来

  3. Asterisk的拨号号码我

  4. 收件人的手机响

  1. Click on link/button
  2. My phone rings, I pick it up
  3. Asterisk dials number for me
  4. Recipient phone rings

我使用星号的 1.2

我的拨出。但是,只有我可以是调用一侧。

I tried with dial out. But only I can make is to call to one side.

在此先感谢。

推荐答案

您可以使用调用文件。刚读: Asterisk的自动拨号

我做了简单的CGI脚本通过Web服务器调用创建调用文件(记得用Temp目录),然后将其移动到 /无功/阀芯/星/呼出和Asterisk做的工作休息。从用户的角度来看,它的工作原理像你描述。还记得正常化的电话号码(在我的网页,他们可以有空格,连字符等,而在调用文件必须看起来可拨打号码)。

I have made simple CGI script that called via web server creates call file (remember to use temp directory) and then moves it to /var/spool/asterisk/outgoing and Asterisk do rest of the work. From user perspective it works as you described. Also remember to normalize phone numbers (on my web pages they can have spaces, hyphens etc, while in call file they must look as dialable numbers).

这篇关于Asterisk的点击通话的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆