sounds: Fix Sounds Makefile and XML that didn't support new sound prompt sets
authorRusty Newton <rnewton@digium.com>
Fri, 18 Apr 2014 17:17:25 +0000 (17:17 +0000)
committerRusty Newton <rnewton@digium.com>
Fri, 18 Apr 2014 17:17:25 +0000 (17:17 +0000)
In sounds/Makefile

 1 Adds and moves some lines necessary for the en_GB core set. I'm just following how the other sets are defined here.
 2 removes the ES extra sounds related lines as we don't have ES extra sound sets.

In sounds/sounds.xml

 3 Adds member definitons for EN_AU, EN_GB, IT for core sound sets, and EN_GB in extra sound sets

ASTERISK-23550 #close
Review: https://reviewboard.asterisk.org/r/3464/
........

Merged revisions 412586 from http://svn.asterisk.org/svn/asterisk/branches/11
........

Merged revisions 412587 from http://svn.asterisk.org/svn/asterisk/branches/12

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@412589 65c4cc65-6c06-0410-ace0-fbb531ad65f3

sounds/Makefile
sounds/sounds.xml

index de60ef2..87b356f 100644 (file)
@@ -42,8 +42,8 @@ MCS:=$(subst -SIREN14,-siren14,$(MCS))
 CORE_SOUNDS:=$(MCS:CORE-SOUNDS-%=asterisk-core-sounds-%-$(CORE_SOUNDS_VERSION).tar.gz)
 CORE_SOUND_TAGS:=$(MCS:CORE-SOUNDS-%=.asterisk-core-sounds-%-$(CORE_SOUNDS_VERSION))
 MES:=$(subst -EN-,-en-,$(MENUSELECT_EXTRA_SOUNDS))
+MES:=$(subst -EN_GB-,-en_GB-,$(MES))
 MES:=$(subst -FR-,-fr-,$(MES))
-MES:=$(subst -ES-,-es-,$(MES))
 MES:=$(subst -WAV,-wav,$(MES))
 MES:=$(subst -ULAW,-ulaw,$(MES))
 MES:=$(subst -ALAW,-alaw,$(MES))
@@ -152,12 +152,10 @@ $(eval $(call sound_format_lang_rule,$(SOUNDS_DIR),core-sounds,ru,$(CORE_SOUNDS_
 
 $(eval $(call sound_format_lang_rule,$(SOUNDS_DIR),extra-sounds,en,$(EXTRA_SOUNDS_VERSION)))
 
-$(eval $(call sound_format_lang_rule,$(SOUNDS_DIR),extra-sounds,es,$(EXTRA_SOUNDS_VERSION)))
+$(eval $(call sound_format_lang_rule,$(SOUNDS_DIR),extra-sounds,en_GB,$(EXTRA_SOUNDS_VERSION)))
 
 $(eval $(call sound_format_lang_rule,$(SOUNDS_DIR),extra-sounds,fr,$(EXTRA_SOUNDS_VERSION)))
 
-$(eval $(call sound_format_lang_rule,$(SOUNDS_DIR),extra-sounds,en_GB,$(EXTRA_SOUNDS_VERSION)))
-
 $(eval $(call sound_format_lang_rule,$(MOH_DIR),moh,,$(MOH_VERSION)))
 
 dist-clean:
index 4b234ec..768ddde 100644 (file)
                <member name="CORE-SOUNDS-EN-SIREN14" displayname="English, G.722.1C (Siren14) format">
                        <support_level>core</support_level>
                </member>
+               <member name="CORE-SOUNDS-EN_AU-WAV" displayname="English (Australian Accent), WAV format">
+                       <support_level>core</support_level>
+               </member>
+               <member name="CORE-SOUNDS-EN_AU-ULAW" displayname="English (Australian Accent), mu-Law format">
+                       <support_level>core</support_level>
+               </member>
+               <member name="CORE-SOUNDS-EN_AU-ALAW" displayname="English (Australian Accent), a-Law format">
+                       <support_level>core</support_level>
+               </member>
+               <member name="CORE-SOUNDS-EN_AU-GSM" displayname="English (Australian Accent), GSM format">
+                       <support_level>core</support_level>
+               </member>
+               <member name="CORE-SOUNDS-EN_AU-G729" displayname="English (Australian Accent), G.729 format">
+                       <support_level>core</support_level>
+               </member>
+               <member name="CORE-SOUNDS-EN_AU-G722" displayname="English (Australian Accent), G.722 format">
+                       <support_level>core</support_level>
+               </member>
+               <member name="CORE-SOUNDS-EN_AU-SLN16" displayname="English (Australian Accent), Signed-linear 16kHz format">
+                       <support_level>core</support_level>
+               </member>
+               <member name="CORE-SOUNDS-EN_AU-SIREN7" displayname="English (Australian Accent), G.722.1 (Siren7) format">
+                       <support_level>core</support_level>
+               </member>
+               <member name="CORE-SOUNDS-EN_AU-SIREN14" displayname="English (Australian Accent), G.722.1C (Siren14) format">
+                       <support_level>core</support_level>
+               </member>
+               <member name="CORE-SOUNDS-EN_GB-WAV" displayname="English (British Accent), WAV format">
+                       <support_level>core</support_level>
+               </member>
+               <member name="CORE-SOUNDS-EN_GB-ULAW" displayname="English (British Accent), mu-Law format">
+                       <support_level>core</support_level>
+               </member>
+               <member name="CORE-SOUNDS-EN_GB-ALAW" displayname="English (British Accent), a-Law format">
+                       <support_level>core</support_level>
+               </member>
+               <member name="CORE-SOUNDS-EN_GB-GSM" displayname="English (British Accent), GSM format">
+                       <support_level>core</support_level>
+               </member>
+               <member name="CORE-SOUNDS-EN_GB-G729" displayname="English (British Accent), G.729 format">
+                       <support_level>core</support_level>
+               </member>
+               <member name="CORE-SOUNDS-EN_GB-G722" displayname="English (British Accent), G.722 format">
+                       <support_level>core</support_level>
+               </member>
+               <member name="CORE-SOUNDS-EN_GB-SLN16" displayname="English (British Accent), Signed-linear 16kHz format">
+                       <support_level>core</support_level>
+               </member>
+               <member name="CORE-SOUNDS-EN_GB-SIREN7" displayname="English (British Accent), G.722.1 (Siren7) format">
+                       <support_level>core</support_level>
+               </member>
+               <member name="CORE-SOUNDS-EN_GB-SIREN14" displayname="English (British Accent), G.722.1C (Siren14) format">
+                       <support_level>core</support_level>
+               </member>
                <member name="CORE-SOUNDS-ES-WAV" displayname="Spanish, WAV format">
                        <support_level>core</support_level>
                </member>
                <member name="CORE-SOUNDS-FR-SIREN14" displayname="French, G.722.1C (Siren14) format">
                        <support_level>core</support_level>
                </member>
-               <member name="CORE-SOUNDS-EN_AU-WAV" displayname="English (Australian Accent), WAV format">
-                       <support_level>core</support_level>
+                <member name="CORE-SOUNDS-IT-WAV" displayname="Italian, WAV format">
+                       <support_level>core</support_level>
                </member>
-               <member name="CORE-SOUNDS-EN_AU-ULAW" displayname="English (Australian Accent), mu-Law format">
-                       <support_level>core</support_level>
+                <member name="CORE-SOUNDS-IT-ULAW" displayname="Italian, mu-Law format">
+                       <support_level>core</support_level>
                </member>
-               <member name="CORE-SOUNDS-EN_AU-ALAW" displayname="English (Australian Accent), a-Law format">
-                       <support_level>core</support_level>
+                <member name="CORE-SOUNDS-IT-ALAW" displayname="Italian, a-Law format">
+                       <support_level>core</support_level>
                </member>
-               <member name="CORE-SOUNDS-EN_AU-GSM" displayname="English (Australian Accent), GSM format">
-                       <support_level>core</support_level>
+                <member name="CORE-SOUNDS-IT-GSM" displayname="Italian, GSM format">
+                       <support_level>core</support_level>
                </member>
-               <member name="CORE-SOUNDS-EN_AU-G729" displayname="English (Australian Accent), G.729 format">
-                       <support_level>core</support_level>
+                <member name="CORE-SOUNDS-IT-G729" displayname="Italian, G.729 format">
+                       <support_level>core</support_level>
                </member>
-               <member name="CORE-SOUNDS-EN_AU-G722" displayname="English (Australian Accent), G.722 format">
-                       <support_level>core</support_level>
+                <member name="CORE-SOUNDS-IT-G722" displayname="Italian, G.722 format">
+                       <support_level>core</support_level>
                </member>
-               <member name="CORE-SOUNDS-EN_AU-SLN16" displayname="English (Australian Accent), Signed-linear 16kHz format">
-                       <support_level>core</support_level>
+                <member name="CORE-SOUNDS-IT-SLN16" displayname="Italian, Signed-linear 16kHz format">
+                       <support_level>core</support_level>
                </member>
-               <member name="CORE-SOUNDS-EN_AU-SIREN7" displayname="English (Australian Accent), G.722.1 (Siren7) format">
-                       <support_level>core</support_level>
+                <member name="CORE-SOUNDS-IT-SIREN7" displayname="Italian, G.722.1 (Siren7) format">
+                       <support_level>core</support_level>
                </member>
-               <member name="CORE-SOUNDS-EN_AU-SIREN14" displayname="English (Australian Accent), G.722.1C (Siren14) format">
-                       <support_level>core</support_level>
+                <member name="CORE-SOUNDS-IT-SIREN14" displayname="Italian, G.722.1C (Siren14) format">
+                       <support_level>core</support_level>
                </member>
                <member name="CORE-SOUNDS-RU-WAV" displayname="Russian, WAV format">
                        <support_level>core</support_level>
                <member name="EXTRA-SOUNDS-EN-SIREN14" displayname="English, G.722.1C (Siren14) format">
                        <support_level>core</support_level>
                </member>
+               <member name="EXTRA-SOUNDS-EN_GB-WAV" displayname="English (British Accent), WAV format">
+                       <support_level>core</support_level>
+               </member>
+               <member name="EXTRA-SOUNDS-EN_GB-ULAW" displayname="English (British Accent), mu-Law format">
+                       <support_level>core</support_level>
+               </member>
+               <member name="EXTRA-SOUNDS-EN_GB-ALAW" displayname="English (British Accent), a-Law format">
+                       <support_level>core</support_level>
+               </member>
+               <member name="EXTRA-SOUNDS-EN_GB-GSM" displayname="English (British Accent), GSM format" >
+                       <support_level>core</support_level>
+               </member>
+               <member name="EXTRA-SOUNDS-EN_GB-G729" displayname="English (British Accent), G.729 format">
+                       <support_level>core</support_level>
+               </member>
+               <member name="EXTRA-SOUNDS-EN_GB-G722" displayname="English (British Accent), G.722 format">
+                       <support_level>core</support_level>
+               </member>
+               <member name="EXTRA-SOUNDS-EN_GB-SLN16" displayname="English (British Accent), Signed-linear 16kHz format">
+                       <support_level>core</support_level>
+               </member>
+               <member name="EXTRA-SOUNDS-EN_GB-SIREN7" displayname="English (British Accent), G.722.1 (Siren7) format">
+                       <support_level>core</support_level>
+               </member>
+               <member name="EXTRA-SOUNDS-EN_GB-SIREN14" displayname="English (British Accent), G.722.1C (Siren14) format">
+                       <support_level>core</support_level>
+               </member>
                <member name="EXTRA-SOUNDS-FR-WAV" displayname="French, WAV format">
                        <support_level>core</support_level>
                </member>