Create 075_default_language.xml

Added this to set default language only when its not already set. This is more flexible then setting it in global-variables or domain-variables.
This commit is contained in:
FusionPBX 2024-01-10 14:36:14 -07:00 committed by GitHub
parent ae5cb03547
commit 23757cc2ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
<extension name="default_language" number="" context="${domain_name}" continue="true" app_uuid="7aeb5e2d-8ee7-4ea6-b6d7-e93096c2fe4f" enabled="false" order="75">
<condition field="${default_language}" expression="^$" break="never">
<action application="set" data="default_language=en" inline="true"/>
<action application="set" data="default_dialect=us" inline="true"/>
<action application="set" data="default_voice=callie" inline="true"/>
</condition>
</extension>