這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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:

    • working day is off or holyday;
    • Asterisk was unavailable for callback.
  5. 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:

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

常見問題集

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:

    /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.
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〉的開發相關工作。

參與者

〈Asterisk Web Callback〉外掛目前已有 1 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Asterisk Web Callback〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

This is first version of Asterisk Web CallBack