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)

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 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://tw.wordpress.org/plugins/asterisk-web-callback/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/asterisk-web-callback/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/asterisk-web-callback/#installation)
 * [開發資訊](https://tw.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.⌉⌊Add an AMI Asterisk user.⌉[

Add an AMI Asterisk user.

[⌊Set the widget parameters.⌉⌊Set the widget parameters.⌉[

Set the widget parameters.

[⌊A simple web page with an Asterisk Web Callback widget.⌉⌊A simple web page with
an Asterisk Web Callback widget.⌉[

A simple web page with an Asterisk Web Callback widget.

[⌊Notification of the customer about the beginning of a callback.⌉⌊Notification 
of the customer about the beginning of a callback.⌉[

Notification of the customer about the beginning of a callback.

[⌊Notify the customer that the callback will be made during business hours.⌉⌊Notify
the customer that the callback will be made during business hours.⌉[

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**
 *  最後更新 **9 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 4.8 或更新版本 **
 *  已測試相容的 WordPress 版本 **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://tw.wordpress.org/plugins/tags/call/)[callback](https://tw.wordpress.org/plugins/tags/callback/)
   [web](https://tw.wordpress.org/plugins/tags/web/)
 *  [進階檢視](https://tw.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)