]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
use sound_version.txt and moh_version.txt to determine sound file version on windows...
authorMichael Jerris <mike@jerris.com>
Tue, 21 Apr 2009 04:34:41 +0000 (04:34 +0000)
committerMichael Jerris <mike@jerris.com>
Tue, 21 Apr 2009 04:34:41 +0000 (04:34 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13097 d0543943-73ff-0310-b7d9-9358b9ac24b2

build/moh_version.txt
build/sounds_version.txt
libs/win32/Dowload 32khz Sounds.2008.vcproj
libs/win32/Dowload 32khz music.2008.vcproj
libs/win32/Download 16khz Sounds.2008.vcproj
libs/win32/Download 16khz music.2008.vcproj
libs/win32/Download 8khz Sounds.2008.vcproj
libs/win32/Download 8khz music.2008.vcproj

index b0f3d96f877256ed9ae03858ecc5185a989b1d1b..337a6a8f1890843c8d54a900a26b5915d2023d9b 100644 (file)
@@ -1 +1 @@
-1.0.8
+1.0.8
\ No newline at end of file
index b0f3d96f877256ed9ae03858ecc5185a989b1d1b..337a6a8f1890843c8d54a900a26b5915d2023d9b 100644 (file)
@@ -1 +1 @@
-1.0.8
+1.0.8
\ No newline at end of file
index 0892af1ff68c2f28a21ccd1e2f6c61bd02e29875..fbad2a30958d0cd73fd04873ea8debf4b82b8333 100644 (file)
@@ -75,7 +75,7 @@
                                <Tool\r
                                        Name="VCCustomBuildTool"\r
                                        Description="Downloading 32khzsound."\r
-                                       CommandLine="if not exist &quot;$(ProjectDir)..\sounds\en\us\callie\voicemail\32000&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://files.freeswitch.org/freeswitch-sounds-en-us-callie-32000-1.0.8.tar.gz &quot;$(ProjectDir)..\sounds&quot;&#x0D;&#x0A;"\r
+                                       CommandLine="set /P SOUND_VERSION=&lt;$(ProjectDir)..\..\build\sounds_version.txt&#x0D;&#x0A;if not exist &quot;$(ProjectDir)..\sounds\en\us\callie\voicemail\32000&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://files.freeswitch.org/freeswitch-sounds-en-us-callie-32000-%SOUND_VERSION%.tar.gz &quot;$(ProjectDir)..\sounds&quot;&#x0D;&#x0A;"\r
                                        Outputs="$(ProjectDir)..\sounds\en\us\callie\voicemail\32000"\r
                                />\r
                        </FileConfiguration>\r
@@ -85,7 +85,7 @@
                                <Tool\r
                                        Name="VCCustomBuildTool"\r
                                        Description="Downloading 32khzsound."\r
-                                       CommandLine="if not exist &quot;$(ProjectDir)..\sounds\en\us\callie\voicemail\32000&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://files.freeswitch.org/freeswitch-sounds-en-us-callie-32000-1.0.8.tar.gz &quot;$(ProjectDir)..\sounds&quot;&#x0D;&#x0A;"\r
+                                       CommandLine="set /P SOUND_VERSION=&lt;$(ProjectDir)..\..\build\sounds_version.txt&#x0D;&#x0A;if not exist &quot;$(ProjectDir)..\sounds\en\us\callie\voicemail\32000&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://files.freeswitch.org/freeswitch-sounds-en-us-callie-32000-%SOUND_VERSION%.tar.gz &quot;$(ProjectDir)..\sounds&quot;&#x0D;&#x0A;"\r
                                        Outputs="$(ProjectDir)..\sounds\en\us\callie\voicemail\32000"\r
                                />\r
                        </FileConfiguration>\r
index 18191054d670b9119079e90737a66a66a877d3d1..a39f128a42ef6b425ba5eb4fe7dc9dc0cd6b0c6f 100644 (file)
@@ -75,7 +75,7 @@
                                <Tool\r
                                        Name="VCCustomBuildTool"\r
                                        Description="Downloading 32khzsound."\r
-                                       CommandLine="if not exist &quot;$(ProjectDir)..\sounds\music\32000&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://files.freeswitch.org/freeswitch-sounds-music-32000-1.0.8.tar.gz &quot;$(ProjectDir)..\sounds&quot;&#x0D;&#x0A;"\r
+                                       CommandLine="set /P SOUND_VERSION=&lt;$(ProjectDir)..\..\build\moh_version.txt&#x0D;&#x0A;if not exist &quot;$(ProjectDir)..\sounds\music\32000&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://files.freeswitch.org/freeswitch-sounds-music-32000-%SOUND_VERSION%.tar.gz &quot;$(ProjectDir)..\sounds&quot;&#x0D;&#x0A;&#x0D;&#x0A;"\r
                                        Outputs="$(ProjectDir)..\sounds\music\32000"\r
                                />\r
                        </FileConfiguration>\r
@@ -85,7 +85,7 @@
                                <Tool\r
                                        Name="VCCustomBuildTool"\r
                                        Description="Downloading 32khzsound."\r
-                                       CommandLine="if not exist &quot;$(ProjectDir)..\sounds\music\32000&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://files.freeswitch.org/freeswitch-sounds-music-32000-1.0.8.tar.gz &quot;$(ProjectDir)..\sounds&quot;&#x0D;&#x0A;"\r
+                                       CommandLine="set /P SOUND_VERSION=&lt;$(ProjectDir)..\..\build\moh_version.txt&#x0D;&#x0A;if not exist &quot;$(ProjectDir)..\sounds\music\32000&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://files.freeswitch.org/freeswitch-sounds-music-32000-%SOUND_VERSION%.tar.gz &quot;$(ProjectDir)..\sounds&quot;&#x0D;&#x0A;&#x0D;&#x0A;"\r
                                        Outputs="$(ProjectDir)..\sounds\music\32000"\r
                                />\r
                        </FileConfiguration>\r
index c41ceb397f94f2f13ccacc094963f3b9948cccf5..789bb7494757c40dd24f0fcf74c9ea6d73dcab9a 100644 (file)
@@ -75,7 +75,7 @@
                                <Tool\r
                                        Name="VCCustomBuildTool"\r
                                        Description="Downloading 16khzsound."\r
-                                       CommandLine="if not exist &quot;$(ProjectDir)..\sounds\en\us\callie\voicemail\16000&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://files.freeswitch.org/freeswitch-sounds-en-us-callie-16000-1.0.8.tar.gz &quot;$(ProjectDir)..\sounds&quot;&#x0D;&#x0A;"\r
+                                       CommandLine="set /P SOUND_VERSION=&lt;$(ProjectDir)..\..\build\sounds_version.txt&#x0D;&#x0A;if not exist &quot;$(ProjectDir)..\sounds\en\us\callie\voicemail\16000&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://files.freeswitch.org/freeswitch-sounds-en-us-callie-16000-%SOUND_VERSION%.tar.gz &quot;$(ProjectDir)..\sounds&quot;&#x0D;&#x0A;"\r
                                        Outputs="$(ProjectDir)..\sounds\en\us\callie\voicemail\16000"\r
                                />\r
                        </FileConfiguration>\r
@@ -85,7 +85,7 @@
                                <Tool\r
                                        Name="VCCustomBuildTool"\r
                                        Description="Downloading 16khzsound."\r
-                                       CommandLine="if not exist &quot;$(ProjectDir)..\sounds\en\us\callie\voicemail\16000&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://files.freeswitch.org/freeswitch-sounds-en-us-callie-16000-1.0.8.tar.gz &quot;$(ProjectDir)..\sounds&quot;&#x0D;&#x0A;"\r
+                                       CommandLine="set /P SOUND_VERSION=&lt;$(ProjectDir)..\..\build\sounds_version.txt&#x0D;&#x0A;if not exist &quot;$(ProjectDir)..\sounds\en\us\callie\voicemail\16000&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://files.freeswitch.org/freeswitch-sounds-en-us-callie-16000-%SOUND_VERSION%.tar.gz &quot;$(ProjectDir)..\sounds&quot;&#x0D;&#x0A;"\r
                                        Outputs="$(ProjectDir)..\sounds\en\us\callie\voicemail\16000"\r
                                />\r
                        </FileConfiguration>\r
index a55f693aaf81aa59aee478cb75a7c65b5bf8047a..cac78b546a6226ab00a10f9c57ccc858ffb8eb9f 100644 (file)
@@ -75,7 +75,7 @@
                                <Tool\r
                                        Name="VCCustomBuildTool"\r
                                        Description="Downloading 16khzsound."\r
-                                       CommandLine="if not exist &quot;$(ProjectDir)..\sounds\music\16000&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://files.freeswitch.org/freeswitch-sounds-music-16000-1.0.8.tar.gz &quot;$(ProjectDir)..\sounds&quot;&#x0D;&#x0A;"\r
+                                       CommandLine="set /P SOUND_VERSION=&lt;$(ProjectDir)..\..\build\moh_version.txt&#x0D;&#x0A;if not exist &quot;$(ProjectDir)..\sounds\music\16000&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://files.freeswitch.org/freeswitch-sounds-music-16000-%SOUND_VERSION%.tar.gz &quot;$(ProjectDir)..\sounds&quot;&#x0D;&#x0A;&#x0D;&#x0A;"\r
                                        Outputs="$(ProjectDir)..\sounds\music\16000"\r
                                />\r
                        </FileConfiguration>\r
@@ -85,7 +85,7 @@
                                <Tool\r
                                        Name="VCCustomBuildTool"\r
                                        Description="Downloading 16khzsound."\r
-                                       CommandLine="if not exist &quot;$(ProjectDir)..\sounds\music\16000&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://files.freeswitch.org/freeswitch-sounds-music-16000-1.0.8.tar.gz &quot;$(ProjectDir)..\sounds&quot;&#x0D;&#x0A;"\r
+                                       CommandLine="set /P SOUND_VERSION=&lt;$(ProjectDir)..\..\build\moh_version.txt&#x0D;&#x0A;if not exist &quot;$(ProjectDir)..\sounds\music\16000&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://files.freeswitch.org/freeswitch-sounds-music-16000-%SOUND_VERSION%.tar.gz &quot;$(ProjectDir)..\sounds&quot;&#x0D;&#x0A;&#x0D;&#x0A;"\r
                                        Outputs="$(ProjectDir)..\sounds\music\16000"\r
                                />\r
                        </FileConfiguration>\r
index 5b536a65eeb02758588a01da35468865a2a94ec5..a03410cbf674793a61b99402a619a660e719d720 100644 (file)
@@ -75,7 +75,7 @@
                                <Tool\r
                                        Name="VCCustomBuildTool"\r
                                        Description="Downloading 8khzsound."\r
-                                       CommandLine="if not exist &quot;$(ProjectDir)..\sounds\en\us\callie\voicemail\8000&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://files.freeswitch.org/freeswitch-sounds-en-us-callie-8000-1.0.8.tar.gz &quot;$(ProjectDir)..\sounds&quot;&#x0D;&#x0A;"\r
+                                       CommandLine="set /P SOUND_VERSION=&lt;$(ProjectDir)..\..\build\sounds_version.txt&#x0D;&#x0A;if not exist &quot;$(ProjectDir)..\sounds\en\us\callie\voicemail\8000&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://files.freeswitch.org/freeswitch-sounds-en-us-callie-8000-%SOUND_VERSION%.tar.gz &quot;$(ProjectDir)..\sounds&quot;&#x0D;&#x0A;"\r
                                        Outputs="$(ProjectDir)..\sounds\en\us\callie\voicemail\8000"\r
                                />\r
                        </FileConfiguration>\r
@@ -85,7 +85,7 @@
                                <Tool\r
                                        Name="VCCustomBuildTool"\r
                                        Description="Downloading 8khzsound."\r
-                                       CommandLine="if not exist &quot;$(ProjectDir)..\sounds\en\us\callie\voicemail\8000&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://files.freeswitch.org/freeswitch-sounds-en-us-callie-8000-1.0.8.tar.gz &quot;$(ProjectDir)..\sounds&quot;&#x0D;&#x0A;"\r
+                                       CommandLine="set /P SOUND_VERSION=&lt;$(ProjectDir)..\..\build\sounds_version.txt&#x0D;&#x0A;if not exist &quot;$(ProjectDir)..\sounds\en\us\callie\voicemail\8000&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://files.freeswitch.org/freeswitch-sounds-en-us-callie-8000-%SOUND_VERSION%.tar.gz &quot;$(ProjectDir)..\sounds&quot;&#x0D;&#x0A;"\r
                                        Outputs="$(ProjectDir)..\sounds\en\us\callie\voicemail\8000"\r
                                />\r
                        </FileConfiguration>\r
index 4d72236ef5b13e0b2b486b288821db7c6cab28a8..42cb1d8365597df1a64f3d57a8fb81ce7a0dfdd8 100644 (file)
@@ -75,7 +75,7 @@
                                <Tool\r
                                        Name="VCCustomBuildTool"\r
                                        Description="Downloading 8khzsound."\r
-                                       CommandLine="if not exist &quot;$(ProjectDir)..\sounds\music\8000&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://files.freeswitch.org/freeswitch-sounds-music-8000-1.0.8.tar.gz &quot;$(ProjectDir)..\sounds&quot;&#x0D;&#x0A;"\r
+                                       CommandLine="set /P SOUND_VERSION=&lt;$(ProjectDir)..\..\build\moh_version.txt&#x0D;&#x0A;if not exist &quot;$(ProjectDir)..\sounds\music\8000&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://files.freeswitch.org/freeswitch-sounds-music-8000-%SOUND_VERSION%.tar.gz &quot;$(ProjectDir)..\sounds&quot;&#x0D;&#x0A;"\r
                                        Outputs="$(ProjectDir)..\sounds\music\8000"\r
                                />\r
                        </FileConfiguration>\r
@@ -85,7 +85,7 @@
                                <Tool\r
                                        Name="VCCustomBuildTool"\r
                                        Description="Downloading 8khzsound."\r
-                                       CommandLine="if not exist &quot;$(ProjectDir)..\sounds\music\8000&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://files.freeswitch.org/freeswitch-sounds-music-8000-1.0.8.tar.gz &quot;$(ProjectDir)..\sounds&quot;&#x0D;&#x0A;"\r
+                                       CommandLine="set /P SOUND_VERSION=&lt;$(ProjectDir)..\..\build\moh_version.txt&#x0D;&#x0A;if not exist &quot;$(ProjectDir)..\sounds\music\8000&quot; cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://files.freeswitch.org/freeswitch-sounds-music-8000-%SOUND_VERSION%.tar.gz &quot;$(ProjectDir)..\sounds&quot;&#x0D;&#x0A;"\r
                                        Outputs="$(ProjectDir)..\sounds\music\8000"\r
                                />\r
                        </FileConfiguration>\r