Title: Asterisk Web Callback
Author: eugenemoiseenko
Published: <strong>27.12.2017</strong>
Last modified: 27.12.2017

---

Шукати плагіни

![](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://uk.wordpress.org/plugins/asterisk-web-callback/#description)
 * [Відгуки](https://uk.wordpress.org/plugins/asterisk-web-callback/#reviews)
 *  [Встановлення](https://uk.wordpress.org/plugins/asterisk-web-callback/#installation)
 * [Розробка](https://uk.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/)
або підпишіться на [журнал розробки](https://plugins.trac.wordpress.org/log/asterisk-web-callback/)
за допомогою [RSS](https://plugins.trac.wordpress.org/log/asterisk-web-callback/?limit=100&mode=stop_on_copy&format=rss).

## Журнал змін

This is first version of Asterisk Web CallBack

## Мета

 *  Версія **0.1**
 *  Останнє оновлення **8 років тому**
 *  Активних встановлень **10+**
 *  Версія WordPress ** 4.8 або вище **
 *  Tested up to **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://uk.wordpress.org/plugins/tags/call/)[callback](https://uk.wordpress.org/plugins/tags/callback/)
   [web](https://uk.wordpress.org/plugins/tags/web/)
 *  [Розширений перегляд](https://uk.wordpress.org/plugins/asterisk-web-callback/advanced/)

## Оцінки

No reviews have been submitted yet.

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

[See all reviews](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)