asterisk-addons
http://www.asterisk.org/index.php?menu=download
Installation
You must have MySQL installed and the development package prior to installing the app_addon_sql_mysql module.
You must already have Asterisk installed before following the directions below.
You must also have the DBD::mysql perl module installed!! Ensure your root@localhost user does not have a password then run the following:
perl -MCPAN -e “install DBD::mysql”
You can then apply your root@localhost password again (or make sure that you have an empty password for root, but be aware…)
You need to use svn or download a ready-made .tar file in order to retrieve the “asterisk-addons”:
- cd /usr/src
(the following command retrieves an old version of the addons. much better to get the current version of digium’s site: http://ftp.digium.com/pub/asterisk/ currently)
- svn checkout http://svn.digium.com/svn/asterisk-addons/branches/1.2 asterisk-addons
Compile /usr/src/asterisk-addons as follows:
- cd asterisk-addons
- make clean
- make install
Contents
- app_addon_sql_mysql – Asterisk cmd MYSQL – Access Mysql from the Dialplan
- cdr_addon_mysql – Asterisk cdr mysql – Store CDR records in a Mysql database.
- format_mp3 – Alternate mp3 player – Asterisk config musiconhold.conf
- res_perl – Asterisk cmd Perl – Execute Perl code from the Dialplan
See Also
- Asterisk voicemail database – Database support in voicemail
- Asterisk Download
- Asterisk installation tips
- Asterisk addons
- AGX Extra Addons for Asterisk contains additionals apps that for licensing issue are not included into the official addon package