Banner for Asterisk Web Callback
A widget that make call back to visitor via Asterisk Wordpress Tutorial
Noted That:
  • To install correctly this asterisk-web-callback.zip .
  • Fisrt Download the asterisk-web-callback.zip to your computer
  • Extract/Open asterisk-web-callback.zip to Your Computer.
  • Then, Find readme.txt file inside asterisk-web-callback.zip and Open readme.txt .
  • Now, Read the Requirements of this plugin. Which Wordpress Version and PHP Version are required to run this Plugin in Your Wordpress Site.
  • Then, Follow the Tips Below.
Start the Tips:

Step-1 : Download " asterisk-web-callback.zip " to Your Local Computer.

Step-2 : Then, Login to your " yourdomain.com/wp-admin " Dashboard.

Login to Wordpress Asterisk Web Callback

Step-3 : Then, Click on " Plugins " + " Add New " from left Side Menu of Dashboard.

Go to Plugin Install Asterisk Web Callback

Step-4 : Now, Click on " Upload Plugin " button.

Click Upload Button Asterisk Web Callback

Step-5 : Now, Browse " asterisk-web-callback.zip " Downloaded plugin from your computer, Where you downloaded " asterisk-web-callback.zip " According to Step – 1 Above then, click on " Install Now "

Upload Plugin Asterisk Web Callback

Step-6 : Now, Click on " Active Plugin "

Activate Asterisk Web Callback

Step-7 : Then, See left Side Menu. " Asterisk Web Callback " folder is added on left Side Menu. Now, Click on " Asterisk Web Callback " folder.

Noted that: If you do not see " Asterisk Web Callback " folder on left Side Menu then, see at left Side Menu " Settings " or " Tools ".

Step-8 : Now you configure yourself oR Watch video tutorial below about Asterisk Web Callback Configurations and Settings or How to work " Asterisk Web Callback " in your WordPress site.

oR

After Activated Plugin According to Step-6 then,

  1. Go to " Plugins " + " Installed Plugin " from Wordpress Admin Panel Leftside Menu.
  2. or Direct go to: https://yourdomain/wp-admin/plugins.php
  3. Then, Find " Asterisk Web Callback " Activated Plugin from Plugin List.
  4. Then, Click on " Settings " from Plugin that is Asterisk Web Callback
  5. Now, Edit/Add/Config the setting and Click on " Save Changes " button,
WP Plugin Setting



Guide
  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:

    /etc/asterisk/manager.conf
    [general]
    enabled = yes
    port = 5038
    bindaddr = 0.0.0.0

  5. Add Asterisk AMI user, eg:

    /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

  6. Reload your Asterisk, eg:

    asterisk -rx “module reload manager”

  7. Enable fsockopen() php-method on your web server, eg:
    php.ini:
    allow_url_fopen = On

  8. Set widget parameters:

    • 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.

Name