Callback Change Log
Version 0.5.2 is functionally equivalent to 0.5. Only the contact email has been updated. The 0.5.1 release was removed due to a packaging error.
Version 0.5 introduces no new features but is compatible with Freepbx 2.10. However the variables controlling the script should now be added to /etc/freepbx.conf and not to /etc/amportal.conf which is now generated automatically by Freepbx. Variables in /etc/freepbx.conf are written in PHP syntax e.g.
$amp_conf['CALLBACK_PREFIX'] = ''; $amp_conf['CALLBACK_CLI'] = 'Callback'; $amp_conf['CALLBACK_RETRY'] = 2; $amp_conf['CALLBACK_INTERVAL'] = 15; $amp_conf['CALLBACK_WAIT'] = 30; $amp_conf['CALLBACK_ARCHIVE'] = 'No'; $amp_conf['CALLBACK_METHOD'] = 'api'; $amp_conf['CALLBACK_ALLOWED'] = '';
Version 0.4 introduces the following changes and is compatible with Freepbx 2.6 and 2.7:
- the possibility to read allowed list of callback numbers from mysql database
- extends CALLBACK_RETRY, CALLBACK_INTERVAL and CALLBACK_WAIT to manager api method (previously available only for call files). If you used the undocumented CALLBACK_API_TIMEOUT parameter, you should now set CALLBACK_WAIT. CALLBACK_WAIT now has a default of 30 seconds.
- code cleanups
Version 0.3 contains minor modifications to work with freepbx 2.6 which are not backwards compatible. For freebpx 2.5 use version 0.2
Version 0.2 introduces the following changes
- configurable to use either asterisk call files or the manager interface, parameter: CALLBACK_METHOD
- configurable to archive call files to asterisk outgoing_done directory, parameter CALLBACK_ARCHIVE only available if using call files. The implementation of this feature introduces an incompatible change. The call file names now include a timestamp so they are not clobbered when moved to asterisk outgoing_done directory. NOTE: if ever testing the script
Version 0.5.2 has been tested with asterisk 1.8.10.0 and freepbx 2.10.