Title: Asterisk Web Callback
Author: eugenemoiseenko
Published: <strong>2017 年 12 月 27 日</strong>
Last modified: 2017 年 12 月 27 日

---

搜索插件

![](https://ps.w.org/asterisk-web-callback/assets/banner-772x250.png?rev=1792960)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/asterisk-web-callback/assets/icon-128x128.png?rev=1792989)

# Asterisk Web Callback

 作者：[eugenemoiseenko](https://profiles.wordpress.org/eugenemoiseenko/)

[下载](https://downloads.wordpress.org/plugin/asterisk-web-callback.zip)

 * [详情](https://cn.wordpress.org/plugins/asterisk-web-callback/#description)
 * [评价](https://cn.wordpress.org/plugins/asterisk-web-callback/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/asterisk-web-callback/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/asterisk-web-callback/#developers)

 [支持](https://wordpress.org/support/plugin/asterisk-web-callback/)

## 描述

A widget that allows you to make a callback to a client number via your Asterisk
from your site.

If you have own site and Asterisk for SIP calls, and need to make callback to your
customer, use Asterisk Web Callback widget!
 It’s simple solution to add callback
function at web site.

Major features in Asterisk Web Callback include:

 1. Make a callback to a customer number via Asterisk Manager Interface (AMI) at working
    time;
 2. Pattern validate customer number when input (notify on the site page);
 3. Notification that a callback is in progress (message on the site page);
 4. Sending notifications to your e-mail if the customer requested a callback when:
 5.  * working day is off or holyday;
     * Asterisk was unavailable for callback.
 6. Easy navigation to the form of a callback with a floating button.

## 屏幕截图

 * [[
 * Add an AMI Asterisk user.
 * [[
 * Set the widget parameters.
 * [[
 * A simple web page with an Asterisk Web Callback widget.
 * [[
 * Notification of the customer about the beginning of a callback.
 * [[
 * Notify the customer that the callback will be made during business hours.

## 安装

 1.  Upload the plugin files to the `/wp-content/plugins/plugin-name` directory, or
     install the plugin through the WordPress plugins screen directly.
 2.  Activate the plugin through the ‘Plugins’ screen in WordPress
 3.  Use the Appearance->Widgets to add Asterisk Web Callback widget
 4.  Activate Asterisk AMI, eg:
 5.  /etc/asterisk/manager.conf
      [general] enabled = yes port = 5038 bindaddr = 0.0.0.0
 6.  Add Asterisk AMI user, eg:
 7.  /etc/asterisk/manager.conf
      [c2call] secret=VeryStrongPassword deny=0.0.0.0/0.0.0.0
     permit=YourWebServerIP read=system,call,log,verbose,command,agent,user,config,
     command,dtmf,reporting,cdr,dialplan,originate write=system,call,log,verbose,command,
     agent,user,config,command,dtmf,reporting,cdr,dialplan,originate
 8.  Reload your Asterisk, eg:
 9.  asterisk -rx “module reload manager”
 10. Enable fsockopen() php-method on your web server, eg:
      php.ini: allow_url_fopen
     = On
 11. Set widget parameters:
 12.  * Title: web form title;
      * SIP host: external ip or name of your SIP Asterisk server;
      * SIP port: external port for connect to Asterisk AMI;
      * User name: Asterisk AMI user name;
      * Password: Asterisk AMI user password (set strong value);
      * CallerID prefix: prefix for CallerID value (eg: web);
      * Tel number lenght: digits count of customer number (used to exclude the entry
        of unwanted numbers), eg: 11 for Russia;
      * Region code: customer number prefix (used to exclude the entry of unwanted 
        numbers), eg: 89 – for mobile numbers in Russia;
      * SIP channel: your Asterisk SIP channel, used for incoming web calls;
      * SIP context: your Asterisk SIP context, used for incoming web calls;
      * Wait time: count of ms answer waiting, eg: 60000 – for 1 minute answer waiting;
      * SIP priority: your Asterisk SIP priority for callback function;
      * Notify e-mail: address for receiving notifications of attempts to callback 
        outside office hours.

## 常见问题

  Installation Instructions

 1.  Upload the plugin files to the `/wp-content/plugins/plugin-name` directory, or
     install the plugin through the WordPress plugins screen directly.
 2.  Activate the plugin through the ‘Plugins’ screen in WordPress
 3.  Use the Appearance->Widgets to add Asterisk Web Callback widget
 4.  Activate Asterisk AMI, eg:
 5.  /etc/asterisk/manager.conf
      [general] enabled = yes port = 5038 bindaddr = 0.0.0.0
 6.  Add Asterisk AMI user, eg:
 7.  /etc/asterisk/manager.conf
      [c2call] secret=VeryStrongPassword deny=0.0.0.0/0.0.0.0
     permit=YourWebServerIP read=system,call,log,verbose,command,agent,user,config,
     command,dtmf,reporting,cdr,dialplan,originate write=system,call,log,verbose,command,
     agent,user,config,command,dtmf,reporting,cdr,dialplan,originate
 8.  Reload your Asterisk, eg:
 9.  asterisk -rx “module reload manager”
 10. Enable fsockopen() php-method on your web server, eg:
      php.ini: allow_url_fopen
     = On
 11. Set widget parameters:
 12.  * Title: web form title;
      * SIP host: external ip or name of your SIP Asterisk server;
      * SIP port: external port for connect to Asterisk AMI;
      * User name: Asterisk AMI user name;
      * Password: Asterisk AMI user password (set strong value);
      * CallerID prefix: prefix for CallerID value (eg: web);
      * Tel number lenght: digits count of customer number (used to exclude the entry
        of unwanted numbers), eg: 11 for Russia;
      * Region code: customer number prefix (used to exclude the entry of unwanted 
        numbers), eg: 89 – for mobile numbers in Russia;
      * SIP channel: your Asterisk SIP channel, used for incoming web calls;
      * SIP context: your Asterisk SIP context, used for incoming web calls;
      * Wait time: count of ms answer waiting, eg: 60000 – for 1 minute answer waiting;
      * SIP priority: your Asterisk SIP priority for callback function;
      * Notify e-mail: address for receiving notifications of attempts to callback 
        outside office hours.

  What version of Asterisk i can use for Web Callback?

You can use any version of Asterisk, which supports AMI.

  Is the access to AMI secure?

You must use access to AMI from dedicated web-server’s ip.
 Strong password for 
AMI user – one more condition.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Asterisk Web Callback」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ eugenemoiseenko ](https://profiles.wordpress.org/eugenemoiseenko/)

「Asterisk Web Callback」插件已被翻译至 1 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/asterisk-web-callback/contributors)
为本插件所做的贡献。

[帮助将「Asterisk Web Callback」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/asterisk-web-callback)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/asterisk-web-callback/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/asterisk-web-callback/)，或通过[RSS](https://plugins.trac.wordpress.org/log/asterisk-web-callback/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/asterisk-web-callback/)。

## 更新日志

This is first version of Asterisk Web CallBack

## 额外信息

 *  版本 **0.1**
 *  最后更新：**8 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 4.8 或更高版本 **
 *  已测试的最高版本为 **4.9.29**
 *  PHP 版本 ** 5.5 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/asterisk-web-callback/) 和 [Russian](https://ru.wordpress.org/plugins/asterisk-web-callback/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/asterisk-web-callback)
 * 标签
 * [call](https://cn.wordpress.org/plugins/tags/call/)[callback](https://cn.wordpress.org/plugins/tags/callback/)
   [web](https://cn.wordpress.org/plugins/tags/web/)
 *  [高级视图](https://cn.wordpress.org/plugins/asterisk-web-callback/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/asterisk-web-callback/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/asterisk-web-callback/reviews/)

## 贡献者

 *   [ eugenemoiseenko ](https://profiles.wordpress.org/eugenemoiseenko/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/asterisk-web-callback/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://paypal.me/eugenemoiseenko)