SoftSwitch

2 Notes
+ Edit Menus (June 27, 2015, 11:32 a.m.)

The menus are saved in the database, not in the perl or html files. 1-psql -d asterisk -U postgres 2-update menus set description='Payments: Carriersss' where username='mohsen' and menu='accountingcarrier';

+ Perl Packages (June 27, 2015, 8:53 a.m.)

Install these packages using CPAN: 1-su 2-apt-get install libspreadsheet-xlsx-perl libexcel-writer-xlsx-perl libclass-date-perl libspreadsheet-writeexcel-perl libpg-perl libasterisk-agi-perl 3-cpan 4-install these packages using (install <package_name>): Spreadsheet::ParseExcel Spreadsheet::Read CPAN::DistnameInfo // This is for displaying the results of errors (in case a package is not installable, for example when installing Archive::Zip, it says for viewing the errors use this commad: reports PHRED/Archive-Zip-1.48.tar.gz, and for this `reports` to work I needed to install this package). LWP // This is for displaying the results of errors (in case a package is not installable). --------------------------------------------------------------------------------- If this error occurs: Can't locate object method "data" via package "CPAN::Modulelist" (perhaps you forgot to load "CPAN::Modulelist"?) DO this to solve it: # mv ~/.cpan ~/.cpan-bak --------------------------------------------------------------------------------- If you get errors like: 'YAML' not installed, .... This will solve it: perl -e'use CPAN; force install "Bundle::CPAN"' ---------------------------------------------------------------------------------