Callback Change Log: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
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.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 | 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. | ||
<pre>$amp_conf['CALLBACK_PREFIX'] = ''; | <pre>$amp_conf['CALLBACK_PREFIX'] = ''; | ||
$amp_conf['CALLBACK_CLI'] = 'Callback'; | $amp_conf['CALLBACK_CLI'] = 'Callback'; | ||
Line 11: | Line 11: | ||
$amp_conf['CALLBACK_ALLOWED'] = '';</pre> | $amp_conf['CALLBACK_ALLOWED'] = '';</pre> | ||
Version 0.4 introduces the following changes and is compatible with | 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 | * 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. | * 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 | *code cleanups | ||
Version 0.3 contains minor modifications to work with | 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 | Version 0.2 introduces the following changes | ||
Line 22: | Line 22: | ||
* 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 | * 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 | Version 0.5.2 has been tested with asterisk 1.8.10.0 and freePBX 2.10. |
Latest revision as of 00:22, 14 June 2016
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.