]> git.ipfire.org Git - thirdparty/freeswitch.git/commit
switch_ivr/xml: Change the structure of the phrases/language system. Previously it...
authorMarc Olivier Chouinard <mochouinard@moctel.com>
Wed, 20 Apr 2011 17:09:03 +0000 (13:09 -0400)
committerMarc Olivier Chouinard <mochouinard@moctel.com>
Wed, 20 Apr 2011 17:09:03 +0000 (13:09 -0400)
commit4137b360cf42044d8b7c141d7a976dcfe272abfe
tree9474dada8d84001a393dc6310f8e361eb5967d25
parent6dd1237445ab67659cf75edbf15d5ec64f8ff15b
switch_ivr/xml: Change the structure of the phrases/language system. Previously it was fxml->phrases->macros->language->macro.  Changed it so fxml->languages->language->phrases->macros->macro
You can have sub macros <macros name="voicemail"><macro ...> and allow you to call it login@voicemail.
Change the sound-path to sound-prefix to make it constistant with the rest of freeswitch.
Also allow to set a sound-prefix to a macros, so you can override it for a specific file set.
You can set say-modules="en" or whatever in the <language section to define that say module to use.
13 files changed:
conf/freeswitch.xml
conf/lang/de/de.xml
conf/lang/en/en.xml
conf/lang/fr/fr.xml
conf/lang/he/he.xml
conf/lang/ru/ru.xml
src/include/switch_xml.h
src/mod/applications/mod_protovm/protovm.conf.xml
src/mod/applications/mod_protovm/sounds.xml
src/mod/xml_int/mod_xml_ldap/mod_xml_ldap.c
src/switch_ivr.c
src/switch_ivr_play_say.c
src/switch_xml.c