Mantis/Issue Tracker Link for the FIX:
http://www.vicidial.org/VICIDIALmantis/view.php?id=440
Posted .diff file to resolve this little annoyance.
ST_CRON_audio_2_compress perl script ignores Server->Recording Web Link preference
To set the recording to appear on a URL accessible to managers, there is a preference for "Recording Web Link" to allow server_ip (default) or alt_ip or external_ip to be used.
This setting is not used by the AST_CRON_audio_2_compress script, it merely uses the $VARserver_ip astguiclient.conf setting.
Modified the system to piggyback the original mysql call (to get the recording filename) so it now also acquires the preference and other values. Then added a switch statement to set a new variable $recording_ip. Then modified the four "INSERT" statements to use the $recording_ip instead of the $server_ip. then tested on the client box.
Began with VERSION: 2.4-290, BUILD: 101127-2232 (client complaint of missing GSW files). Found there was a bug fixed in VERSION: 2.4-296 BUILD: 110111-1305, so upgraded the AST_CRON_audio_2_compress file to that version.
But then I found that preference/setting was being ignored so I fixed it and created a .diff file after testing the new file.