﻿<?xml version="1.0" encoding="utf-8" ?> 
<GlobalConfig>
	<AllowTemporaryTTS>true</AllowTemporaryTTS>

	<AsrCultures>
		<AsrCulture culture="en-US"/>
		<AsrCulture culture="en-GB"/>
		<AsrCulture culture="en-AU"/>		
	</AsrCultures>

	<SpokenDateFormatters>
		<SpokenDateFormatter culture="en-US" formatter="monthDay"/>
	</SpokenDateFormatters>

	<SpokenTimeFormatters>
		<SpokenTimeFormatter culture="en-US" formatter="hourMinute"/>
	</SpokenTimeFormatters>

	<ConfigFile>bin\Root.fsm</ConfigFile>
  
	<WaveDir>UnifiedMessaging\prompts\</WaveDir>
  
	<GrammarDir>UnifiedMessaging\grammars\</GrammarDir>
    
	<IncomingTrunks>4</IncomingTrunks>
  
	<ExtensionDigits>5</ExtensionDigits>

	<!-- For specifying FAX port ranges - please use the below parameters
		<MinFAXPort>xx</MinFAXPort>
		<MaxFAXPort>xx</MaxFAXPort>
		-->

	<MaxCallSecondsExceededPrompts>
		<Prompt type = "statement" name = "tuiMaxCallDurationMet" />
		<Prompt type = "statement" name = "tuiGoodbye" />
	</MaxCallSecondsExceededPrompts>
  
	<ComfortNoisePrompts>
		<!-- comfortnoise.wav is 45 seconds.  4x45 = 3min -->
		<Prompt type = "wave" name = "comfortnoise.wav" />
		<Prompt type = "statement" name = "tuiHBODelay" />
		<Prompt type = "wave" name = "comfortnoise.wav" />
		<Prompt type = "statement" name = "tuiHBODelay" />
		<Prompt type = "wave" name = "comfortnoise.wav" />
		<Prompt type = "statement" name = "tuiHBODelay" />
		<Prompt type = "wave" name = "comfortnoise.wav" />
		<Prompt type = "statement" name = "tuiHBODelay" />
		<!-- comfortnoise.wav is 45 seconds.  4x45 = 3min -->
		<Prompt type = "wave" name = "comfortnoise.wav" />
		<Prompt type = "statement" name = "tuiHBODelay" />
		<Prompt type = "wave" name = "comfortnoise.wav" />
		<Prompt type = "statement" name = "tuiHBODelay" />
		<Prompt type = "wave" name = "comfortnoise.wav" />
		<Prompt type = "statement" name = "tuiHBODelay" />
		<Prompt type = "wave" name = "comfortnoise.wav" />
		<Prompt type = "statement" name = "tuiHBODelay" />
		<!-- 6 minutes -->
		<Prompt type = "statement" name = "tuiSystemError" />
	</ComfortNoisePrompts>
	
  	<PKDFIterCount>1000</PKDFIterCount>

	<ChangePasswordChances>5</ChangePasswordChances>
	<VoipPlatform>mss</VoipPlatform>
	<OutboundCallANI>12345</OutboundCallANI>
	<SourcePartyInfoEnabled>false</SourcePartyInfoEnabled>
	<RunningInTestMode>false</RunningInTestMode>

	<SuffixGroups>
		<SuffixGroup name = "singularPlural" rule = "(?&lt;_Zero&gt;^[0]$)|(?&lt;_Singular&gt;^[1]$)|(?&lt;_Plural&gt;[\d]+)|(?&lt;_Plural2&gt;[.]*)">
			<SuffixRule culture="en-US" rule = "(?&lt;_Zero&gt;^[0]$)|(?&lt;_Singular&gt;^[1]$)|(?&lt;_Plural&gt;[\d]+)|(?&lt;_Plural2&gt;[.]*)"/>
  		</SuffixGroup>
	</SuffixGroups>

	<NotImplementedPrompt type="statement" name="tuiFeatureNotAvailable" />
	<InvalidKeyPrompt type = "statement" name = "tuiInvalidKeys">
		<Prompt type = "digit" name = "lastInput" />
	</InvalidKeyPrompt>
	<SorryTryAgainLaterPrompt type = "statement" name = "tuiSorryTryAgainLater" />
	<SorryASytemErrorOccured type = "statement" name = "tuiSystemError" />
	<DefaultTimeRangePrompt type = "statement" name="tuiDefaultTimeRange">
		<Prompt type = "time" name = "startTime" />
		<Prompt type = "time" name = "endTime" />
	</DefaultTimeRangePrompt>
	<AreYouTherePrompt type = "statement" name = "tuiAreYouThere" />
	<RepeatPrompt type="statement" name = "vuiRepeating"/>
	<GoodbyePrompt type="statement" name = "vuiGlobalGoodbye"/>
	<GoodbyeConfirmationPrompt type="statement" name = "vuiGoodbyeConfirmation"/>
	<DefaultMumble1Prompt type="statement" name = "vuiDefaultMumble1" condition = "NOT repeat"/>
	<DefaultMumble2Prompt type="statement" name = "vuiDefaultMumble2" condition = "NOT repeat"/>
	<DefaultSilence1Prompt type="statement" name = "vuiDefaultSilence1" condition = "NOT repeat"/>
	<DefaultSilence2Prompt type="statement" name = "vuiDefaultSilence2" condition = "NOT repeat"/>
	<DefaultSpeechErrorPrompt type="statement" name = "vuiDefaultSpeechError" condition = "NOT repeat"/>
	<DefaultInvalidCommandPrompt type="statement" name = "vuiDefaultInvalidCommand" condition = "NOT repeat"/>
	<DtmfFallbackPrompt type = "statement" name = "vuiDtmfFallback" />
	<DefaultHelpGrammar type = "static" name="common.grxml" rule ="help" />
	<DefaultRepeatGrammar type = "static" name="common.grxml" rule ="repeat" />
	<DefaultMainMenuShortcutGrammar type = "static" name="common.grxml" rule ="mainMenuShortcut" />
	<DefaultGoodbyeGrammar type = "static" name="common.grxml" rule ="goodbye" />
	<DefaultGoodbyeConfirmationGrammar type = "static" name="common.grxml" rule ="yesNo" />
  	<AsrOverride>false</AsrOverride>  
	<NormalizationLevelDB>-18</NormalizationLevelDB>
	<VoiceMailFilePath>UnifiedMessaging\voicemail</VoiceMailFilePath>
	<UMBadMailFilePath>UnifiedMessaging\badvoicemail</UMBadMailFilePath>
	<VoiceMessagePollingTime>10</VoiceMessagePollingTime>
	<MaxSmtpMessagesPending>1000</MaxSmtpMessagesPending>
	<HeavyBlockingOperationParameters>
		<TimesToRepeatPrompts>1</TimesToRepeatPrompts>
	</HeavyBlockingOperationParameters>

	<SubjectPrefixes>
		<Prefix value="RE:" type="reply"/>
		<Prefix value="Отн.:" type="reply"/>
		<Prefix value="Resp.:" type="reply"/>
		<Prefix value="答复:" type="reply"/>
		<Prefix value="SV:" type="reply"/>
		<Prefix value="AW:" type="reply"/>
		<Prefix value="ΑΠ:" type="reply"/>
		<Prefix value="उत्तर" type="reply"/>
		<Prefix value="R:" type="reply"/>
		<Prefix value="Atb.:" type="reply"/>
		<Prefix value="PER:" type="reply"/>
		<Prefix value="پاسخ:" type="reply"/>
		<Prefix value="ODP:" type="reply"/>
		<Prefix value="RES:" type="reply"/>
		<Prefix value="НА:" type="reply"/>
		<Prefix value="YNT:" type="reply"/>
		<Prefix value="Відп:" type="reply"/>
		<Prefix value="بحوالہ:" type="reply"/>
		<Prefix value="FW:" type="forward"/>
		<Prefix value="Препратено:" type="forward"/>
		<Prefix value="Reenv.:" type="forward"/>
		<Prefix value="转发:" type="forward"/>
		<Prefix value="VS:" type="forward"/>
		<Prefix value="Ed:" type="forward"/>
		<Prefix value="VL:" type="forward"/>
		<Prefix value="TR :" type="forward"/>
		<Prefix value="WG:" type="forward"/>
		<Prefix value="ΠΡ:" type="forward"/>
		<Prefix value="अग्रेषित" type="forward"/>
		<Prefix value="FS:" type="forward"/>
		<Prefix value="I:" type="forward"/>
		<Prefix value="Қайта жіберу:" type="forward"/>
		<Prefix value="Pārs.:" type="forward"/>
		<Prefix value="هدايت:" type="forward"/>
		<Prefix value="PD:" type="forward"/>
		<Prefix value="ENC:" type="forward"/>
		<Prefix value="Redirecţionat:" type="forward"/>
		<Prefix value=">>:" type="forward"/>
		<Prefix value="RV:" type="forward"/>
		<Prefix value="VB:" type="forward"/>
		<Prefix value="İLT:" type="forward"/>
  	</SubjectPrefixes>

	<EnableGrammarGenerationSchedule>true</EnableGrammarGenerationSchedule>
	<EnableGrammarGenerationOnChanges>true</EnableGrammarGenerationOnChanges>
	<EnableDistributionListGrammarGeneration>true</EnableDistributionListGrammarGeneration>
	<!-- 
		This setting determines if Speech Engine will preload grammars
		generated by UM
	-->
	<PreloadGrammars>false</PreloadGrammars>
	<UpdateDtmfMap>false</UpdateDtmfMap>
	<!-- This setting determines if the SpeechGrammarFilterList should be used for grammar generation -->
	<UseExclusionListForGrammarGeneration>true</UseExclusionListForGrammarGeneration>
	<!-- filter list used for generating grammar -->
	<ExclusionListFile>SpeechGrammarFilterList.xml</ExclusionListFile>

	<!-- 
		This setting determines the output of grammar generation.
		Characters in the display name that match the value of the source attribute are 
		replaced with the string in the target attribute 
	-->
	<GrammarReplacement>
		<!-- replace hyphen with space -->
		<Replace source="-" target=" "/>
		<!-- replace apostrophe with space -->
		<Replace source="&apos;" target=" "/>
	</GrammarReplacement>

	<!-- 
		The following value determines how many digits from the right of a number
		in the personal contacts are used to match against the callerId
	-->
	<CallerIdResolvingPrecision>10</CallerIdResolvingPrecision>

	<MaxNormalizedForms>1</MaxNormalizedForms>

	<!-- 
		TTS volume settings
	-->
	<TTSVolumes>
		<TTSVolume culture="de-DE" volume="70" />
		<TTSVolume culture="en-US" volume="40" />
		<TTSVolume culture="en-AU" volume="70" />
		<TTSVolume culture="en-GB" volume="50" />
		<TTSVolume culture="es-ES" volume="70" />
		<TTSVolume culture="es-MX" volume="80" />
		<TTSVolume culture="fr-CA" volume="40" />
		<TTSVolume culture="fr-FR" volume="40" />
		<TTSVolume culture="it-IT" volume="50" />
		<TTSVolume culture="ja-JP" volume="100" />
		<TTSVolume culture="ko-KR" volume="70" />
		<TTSVolume culture="nl-NL" volume="30" />
		<TTSVolume culture="pt-BR" volume="50" />
		<TTSVolume culture="sv-SE" volume="50" />
		<TTSVolume culture="zh-CN" volume="40" />
		<TTSVolume culture="zh-TW" volume="40" />
	</TTSVolumes>


	<!-- 
		EnableInbandFaxDetection: Specifies whether inband fax detection is enabled 
		or not. The default setting is false and UM relies on the IP Gateways to 
		perform the FAX detection.
	-->
	<EnableInbandFaxDetection>false</EnableInbandFaxDetection>

	<!-- 
		Minimum length of text needed for language auto-detection
		(-1: Disable auto-detection)
	-->
	<LanguageAutoDetectionMinLength>512</LanguageAutoDetectionMinLength>
	<!-- 
		UseT38UDPRedundancyForFax: Specifies whether t38UDPRedundancy should be advertised in SDP as FAX FEC 
		The default setting is false 
	-->
	<UseT38UDPRedundancyForFax>false</UseT38UDPRedundancyForFax>
</GlobalConfig>
