Beskriuwing
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:
-
Make a callback to a customer number via Asterisk Manager Interface (AMI) at working time;
-
Pattern validate customer number when input (notify on the site page);
-
Notification that a callback is in progress (message on the site page);
-
Sending notifications to your e-mail if the customer requested a callback when:
- working day is off or holyday;
- Asterisk was unavailable for callback.
-
Easy navigation to the form of a callback with a floating button.
Skermôfbyldings
Ynstallaasje
-
Upload the plugin files to the
/wp-content/plugins/plugin-name
directory, or install the plugin through the WordPress plugins screen directly. -
Activate the plugin through the ‘Plugins’ screen in WordPress
-
Use the Appearance->Widgets to add Asterisk Web Callback widget
-
Activate Asterisk AMI, eg:
/etc/asterisk/manager.conf
[general]
enabled = yes
port = 5038
bindaddr = 0.0.0.0 -
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 -
Reload your Asterisk, eg:
asterisk -rx “module reload manager”
-
Enable fsockopen() php-method on your web server, eg:
php.ini:
allow_url_fopen = On -
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.
FAQ
- Installation Instructions
-
-
Upload the plugin files to the
/wp-content/plugins/plugin-name
directory, or install the plugin through the WordPress plugins screen directly. -
Activate the plugin through the ‘Plugins’ screen in WordPress
-
Use the Appearance->Widgets to add Asterisk Web Callback widget
-
Activate Asterisk AMI, eg:
/etc/asterisk/manager.conf
[general]
enabled = yes
port = 5038
bindaddr = 0.0.0.0 -
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 -
Reload your Asterisk, eg:
asterisk -rx “module reload manager”
-
Enable fsockopen() php-method on your web server, eg:
php.ini:
allow_url_fopen = On -
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.
Resinsjes
D’r binne gjin resinsjes foar dizze plugin.
Meiwurkers & amp; Untwikkelders
“Asterisk Web Callback” is iepen boarne software. De folgjende minsken hawwe bydroegen oan dizze plugin.
Meiwurkers“Asterisk Web Callback” is oerset yn 1 locale. Tank oan de oersetters foar harren bydragen.
Oersette “Asterisk Web Callback” yn jo taal.
Ynteressearre yn ûntwikkeling?
Blêdzje troch de koade , besjoch de SVN-repository , of abonnearje op it ûntwikkelingslogboek troch RSS .
Feroaringslog
This is first version of Asterisk Web CallBack