Author: mikej Date: Mon Apr 20 23:34:41 2009 New Revision: 13097 Log: use sound_version.txt and moh_version.txt to determine sound file version on windows (FSBUILD-152) Modified: freeswitch/trunk/build/moh_version.txt freeswitch/trunk/build/sounds_version.txt freeswitch/trunk/libs/win32/Dowload 32khz Sounds.2008.vcproj freeswitch/trunk/libs/win32/Dowload 32khz music.2008.vcproj freeswitch/trunk/libs/win32/Download 16khz Sounds.2008.vcproj freeswitch/trunk/libs/win32/Download 16khz music.2008.vcproj freeswitch/trunk/libs/win32/Download 8khz Sounds.2008.vcproj freeswitch/trunk/libs/win32/Download 8khz music.2008.vcproj Modified: freeswitch/trunk/build/moh_version.txt ============================================================================== --- freeswitch/trunk/build/moh_version.txt (original) +++ freeswitch/trunk/build/moh_version.txt Mon Apr 20 23:34:41 2009 @@ -1 +1 @@ -1.0.8 +1.0.8 \ No newline at end of file Modified: freeswitch/trunk/build/sounds_version.txt ============================================================================== --- freeswitch/trunk/build/sounds_version.txt (original) +++ freeswitch/trunk/build/sounds_version.txt Mon Apr 20 23:34:41 2009 @@ -1 +1 @@ -1.0.8 +1.0.8 \ No newline at end of file Modified: freeswitch/trunk/libs/win32/Dowload 32khz Sounds.2008.vcproj ============================================================================== --- freeswitch/trunk/libs/win32/Dowload 32khz Sounds.2008.vcproj (original) +++ freeswitch/trunk/libs/win32/Dowload 32khz Sounds.2008.vcproj Mon Apr 20 23:34:41 2009 @@ -75,7 +75,7 @@ <Tool Name="VCCustomBuildTool" Description="Downloading 32khzsound." - CommandLine="if not exist "$(ProjectDir)..\sounds\en\us\callie\voicemail\32000" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/freeswitch-sounds-en-us-callie-32000-1.0.8.tar.g... "$(ProjectDir)..\sounds" " + CommandLine="set /P SOUND_VERSION=<$(ProjectDir)..\..\build\sounds_version.txt if not exist "$(ProjectDir)..\sounds\en\us\callie\voicemail\32000" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/freeswitch-sounds-en-us-callie-32000-%SOUND_VERS... "$(ProjectDir)..\sounds" " Outputs="$(ProjectDir)..\sounds\en\us\callie\voicemail\32000" /> </FileConfiguration> @@ -85,7 +85,7 @@ <Tool Name="VCCustomBuildTool" Description="Downloading 32khzsound." - CommandLine="if not exist "$(ProjectDir)..\sounds\en\us\callie\voicemail\32000" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/freeswitch-sounds-en-us-callie-32000-1.0.8.tar.g... "$(ProjectDir)..\sounds" " + CommandLine="set /P SOUND_VERSION=<$(ProjectDir)..\..\build\sounds_version.txt if not exist "$(ProjectDir)..\sounds\en\us\callie\voicemail\32000" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/freeswitch-sounds-en-us-callie-32000-%SOUND_VERS... "$(ProjectDir)..\sounds" " Outputs="$(ProjectDir)..\sounds\en\us\callie\voicemail\32000" /> </FileConfiguration> Modified: freeswitch/trunk/libs/win32/Dowload 32khz music.2008.vcproj ============================================================================== --- freeswitch/trunk/libs/win32/Dowload 32khz music.2008.vcproj (original) +++ freeswitch/trunk/libs/win32/Dowload 32khz music.2008.vcproj Mon Apr 20 23:34:41 2009 @@ -75,7 +75,7 @@ <Tool Name="VCCustomBuildTool" Description="Downloading 32khzsound." - CommandLine="if not exist "$(ProjectDir)..\sounds\music\32000" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/freeswitch-sounds-music-32000-1.0.8.tar.gz "$(ProjectDir)..\sounds" " + CommandLine="set /P SOUND_VERSION=<$(ProjectDir)..\..\build\moh_version.txt if not exist "$(ProjectDir)..\sounds\music\32000" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/freeswitch-sounds-music-32000-%SOUND_VERSION%.ta... "$(ProjectDir)..\sounds" " Outputs="$(ProjectDir)..\sounds\music\32000" /> </FileConfiguration> @@ -85,7 +85,7 @@ <Tool Name="VCCustomBuildTool" Description="Downloading 32khzsound." - CommandLine="if not exist "$(ProjectDir)..\sounds\music\32000" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/freeswitch-sounds-music-32000-1.0.8.tar.gz "$(ProjectDir)..\sounds" " + CommandLine="set /P SOUND_VERSION=<$(ProjectDir)..\..\build\moh_version.txt if not exist "$(ProjectDir)..\sounds\music\32000" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/freeswitch-sounds-music-32000-%SOUND_VERSION%.ta... "$(ProjectDir)..\sounds" " Outputs="$(ProjectDir)..\sounds\music\32000" /> </FileConfiguration> Modified: freeswitch/trunk/libs/win32/Download 16khz Sounds.2008.vcproj ============================================================================== --- freeswitch/trunk/libs/win32/Download 16khz Sounds.2008.vcproj (original) +++ freeswitch/trunk/libs/win32/Download 16khz Sounds.2008.vcproj Mon Apr 20 23:34:41 2009 @@ -75,7 +75,7 @@ <Tool Name="VCCustomBuildTool" Description="Downloading 16khzsound." - CommandLine="if not exist "$(ProjectDir)..\sounds\en\us\callie\voicemail\16000" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/freeswitch-sounds-en-us-callie-16000-1.0.8.tar.g... "$(ProjectDir)..\sounds" " + CommandLine="set /P SOUND_VERSION=<$(ProjectDir)..\..\build\sounds_version.txt if not exist "$(ProjectDir)..\sounds\en\us\callie\voicemail\16000" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/freeswitch-sounds-en-us-callie-16000-%SOUND_VERS... "$(ProjectDir)..\sounds" " Outputs="$(ProjectDir)..\sounds\en\us\callie\voicemail\16000" /> </FileConfiguration> @@ -85,7 +85,7 @@ <Tool Name="VCCustomBuildTool" Description="Downloading 16khzsound." - CommandLine="if not exist "$(ProjectDir)..\sounds\en\us\callie\voicemail\16000" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/freeswitch-sounds-en-us-callie-16000-1.0.8.tar.g... "$(ProjectDir)..\sounds" " + CommandLine="set /P SOUND_VERSION=<$(ProjectDir)..\..\build\sounds_version.txt if not exist "$(ProjectDir)..\sounds\en\us\callie\voicemail\16000" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/freeswitch-sounds-en-us-callie-16000-%SOUND_VERS... "$(ProjectDir)..\sounds" " Outputs="$(ProjectDir)..\sounds\en\us\callie\voicemail\16000" /> </FileConfiguration> Modified: freeswitch/trunk/libs/win32/Download 16khz music.2008.vcproj ============================================================================== --- freeswitch/trunk/libs/win32/Download 16khz music.2008.vcproj (original) +++ freeswitch/trunk/libs/win32/Download 16khz music.2008.vcproj Mon Apr 20 23:34:41 2009 @@ -75,7 +75,7 @@ <Tool Name="VCCustomBuildTool" Description="Downloading 16khzsound." - CommandLine="if not exist "$(ProjectDir)..\sounds\music\16000" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/freeswitch-sounds-music-16000-1.0.8.tar.gz "$(ProjectDir)..\sounds" " + CommandLine="set /P SOUND_VERSION=<$(ProjectDir)..\..\build\moh_version.txt if not exist "$(ProjectDir)..\sounds\music\16000" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/freeswitch-sounds-music-16000-%SOUND_VERSION%.ta... "$(ProjectDir)..\sounds" " Outputs="$(ProjectDir)..\sounds\music\16000" /> </FileConfiguration> @@ -85,7 +85,7 @@ <Tool Name="VCCustomBuildTool" Description="Downloading 16khzsound." - CommandLine="if not exist "$(ProjectDir)..\sounds\music\16000" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/freeswitch-sounds-music-16000-1.0.8.tar.gz "$(ProjectDir)..\sounds" " + CommandLine="set /P SOUND_VERSION=<$(ProjectDir)..\..\build\moh_version.txt if not exist "$(ProjectDir)..\sounds\music\16000" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/freeswitch-sounds-music-16000-%SOUND_VERSION%.ta... "$(ProjectDir)..\sounds" " Outputs="$(ProjectDir)..\sounds\music\16000" /> </FileConfiguration> Modified: freeswitch/trunk/libs/win32/Download 8khz Sounds.2008.vcproj ============================================================================== --- freeswitch/trunk/libs/win32/Download 8khz Sounds.2008.vcproj (original) +++ freeswitch/trunk/libs/win32/Download 8khz Sounds.2008.vcproj Mon Apr 20 23:34:41 2009 @@ -75,7 +75,7 @@ <Tool Name="VCCustomBuildTool" Description="Downloading 8khzsound." - CommandLine="if not exist "$(ProjectDir)..\sounds\en\us\callie\voicemail\8000" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/freeswitch-sounds-en-us-callie-8000-1.0.8.tar.gz "$(ProjectDir)..\sounds" " + CommandLine="set /P SOUND_VERSION=<$(ProjectDir)..\..\build\sounds_version.txt if not exist "$(ProjectDir)..\sounds\en\us\callie\voicemail\8000" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/freeswitch-sounds-en-us-callie-8000-%SOUND_VERSI... "$(ProjectDir)..\sounds" " Outputs="$(ProjectDir)..\sounds\en\us\callie\voicemail\8000" /> </FileConfiguration> @@ -85,7 +85,7 @@ <Tool Name="VCCustomBuildTool" Description="Downloading 8khzsound." - CommandLine="if not exist "$(ProjectDir)..\sounds\en\us\callie\voicemail\8000" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/freeswitch-sounds-en-us-callie-8000-1.0.8.tar.gz "$(ProjectDir)..\sounds" " + CommandLine="set /P SOUND_VERSION=<$(ProjectDir)..\..\build\sounds_version.txt if not exist "$(ProjectDir)..\sounds\en\us\callie\voicemail\8000" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/freeswitch-sounds-en-us-callie-8000-%SOUND_VERSI... "$(ProjectDir)..\sounds" " Outputs="$(ProjectDir)..\sounds\en\us\callie\voicemail\8000" /> </FileConfiguration> Modified: freeswitch/trunk/libs/win32/Download 8khz music.2008.vcproj ============================================================================== --- freeswitch/trunk/libs/win32/Download 8khz music.2008.vcproj (original) +++ freeswitch/trunk/libs/win32/Download 8khz music.2008.vcproj Mon Apr 20 23:34:41 2009 @@ -75,7 +75,7 @@ <Tool Name="VCCustomBuildTool" Description="Downloading 8khzsound." - CommandLine="if not exist "$(ProjectDir)..\sounds\music\8000" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/freeswitch-sounds-music-8000-1.0.8.tar.gz "$(ProjectDir)..\sounds" " + CommandLine="set /P SOUND_VERSION=<$(ProjectDir)..\..\build\moh_version.txt if not exist "$(ProjectDir)..\sounds\music\8000" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/freeswitch-sounds-music-8000-%SOUND_VERSION%.tar... "$(ProjectDir)..\sounds" " Outputs="$(ProjectDir)..\sounds\music\8000" /> </FileConfiguration> @@ -85,7 +85,7 @@ <Tool Name="VCCustomBuildTool" Description="Downloading 8khzsound." - CommandLine="if not exist "$(ProjectDir)..\sounds\music\8000" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/freeswitch-sounds-music-8000-1.0.8.tar.gz "$(ProjectDir)..\sounds" " + CommandLine="set /P SOUND_VERSION=<$(ProjectDir)..\..\build\moh_version.txt if not exist "$(ProjectDir)..\sounds\music\8000" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/freeswitch-sounds-music-8000-%SOUND_VERSION%.tar... "$(ProjectDir)..\sounds" " Outputs="$(ProjectDir)..\sounds\music\8000" /> </FileConfiguration>