<?xml version="1.0" encoding="utf-8"?>
<!--
//  Copyright (C) 2006 Microsoft Corporation.  All rights reserved.
//  The xml file that describes the finite state machine.
-->
<FiniteStateMachine>
	<FsmModule>
		<Menu id="StartPersonalOptions">
			<!-- When coming from the VUI, play this intro -->
			<Condition value="useAsr">
				<Prompt type="statement" name="tuiPersonalOptionsIntro"/>
				<Prompt type="statement" name="tuiTouchToneRequired"/>
			</Condition>
			<Transition event="noKey" action="null" refId="600"/>
		</Menu>
		<!-- Personal Options =======================================================================-->
		<PersonalOptions id="600" firstActivityId="699">

			<Transition event="quotaExceeded" action="null" refId="QuotaExceededError"/>


			<Menu id = "QuotaExceededError" uninterruptible="true">
				<Prompt type = "statement" name = "tuiErrorQuotaExceeded"/>				
				<Transition event = "noKey" action="null" refId="out-106"/>
			</Menu>


			<!-- Decides whether this is a First Time User, Change Password, or User initiated -->
			<Menu id="699" minDtmfSize="0" maxDtmfSize="0" dtmfInputValue="option">
				<Transition event="noKey" action="getSystemTask" refId="601"/>
				<Transition event="firstTimeUserTask" action="null" refId="685"/>
				<Transition event="changePasswordTask" action="null" refId="604"/>
				<Transition event="oofStatusTask" condition="Oof" action="toggleOOF" heavyaction="true" refId="PlayNewOOFStatus"/>
				<Transition event="oofStatusTask" condition="NOT Oof" action="null" refId="PlayCurrentOOFStatus"/>
			</Menu>
			<!-- Personal Options Main Menu -->
			<Menu id="601" minDtmfSize="1" maxDtmfSize="1" dtmfInputValue="option">
				<!-- 
				To turn on/off your out of office status, press 1
				To record your greetings, press 2.
				To change your PIN, press 3.
				To start using the voice user interface, press 4.
				To change your local time zone, press 5.
				To use a 12/24-hour time format, press 6.
				To return to the main menu, press the star key.
				-->
				<Prompt condition="NOT Oof" type="statement" name="tuiPersonalOptionsTurnOnOOF"/>
				<Prompt condition="Oof" type="statement" name="tuiPersonalOptionsTurnOffOOF"/>
				<Prompt type="statement" name="tuiPersonalOptionsGreetings"/>
				<Prompt type="statement" name="tuiPersonalOptionsPIN"/>
				<Condition value="canToggleASR">
					<Prompt condition="useAsr" type="statement" name="tuiPersonalOptionsDTMF"/>
					<Prompt condition="NOT useAsr" type="statement" name="tuiPersonalOptionsVUI"/>
				</Condition>
				<Prompt type="statement" name="tuiPersonalOptionsTimeZone"/>
				<Condition value="canToggleTimeFormat">
					<Prompt condition="timeFormat24" type="statement" name="tuiPersonalOptions12HourFormat"/>
					<Prompt condition="NOT timeFormat24" type="statement" name="tuiPersonalOptions24HourFormat"/>
				</Condition>
				<Prompt type="statement" name="tuiPersonalOptionsReturnMainMenu"/>
				<Prompt type="statement" name="tuiPersonalOptionsRepeatMenu"/>

				<Transition event="1" action="toggleOOF" heavyaction="true" refId="PlayNewOOFStatus"/>
				<Transition event="2" action="setGreetingsAction" refId="602"/>
				<Transition event="3" action="null" refId="603"/>
				<Transition event="4" condition="canToggleASR" action="toggleASR" refId="PlayASRStatus"/>
				<Transition event="5" action="null" refId="SelectTimeZone"/>
				<Transition event="6" condition="canToggleTimeFormat" action="toggleTimeFormat" heavyaction="true" refId="PlayTimeFormat"/>
				<Transition event="*" action="null" refId="out-106"/>
				<Transition event="0" action="null" refId="601"/>
			</Menu>
			<Menu id="ReturnToPersonalOptions">
				<Prompt type="statement" name="tuiReturnToPersonalOptions"/>
				<Transition event="noKey" action="null" refId="601"/>
			</Menu>
			<Menu id="PlayNewOOFStatus">
				<Prompt type="statement" condition="Oof" name="tuiOOFTurnedOn"/>
				<Prompt type="statement" condition="NOT Oof" name="tuiOOFTurnedOff"/>
				<Transition event="noKey" condition="Oof" action="getOof" refId="630"/>
				<Transition event="noKey" condition="NOT Oof AND NOT emailOof" action="getSystemTask" refId="ReturnToPersonalOptions"/>
				<Transition event="noKey" condition="NOT Oof AND emailOof" action="null" refId="ChangeEmailOofMenu"/>
				<Transition event="oofStatusTask" action="null" refId="out-106"/>
				<!-- auto events-->
				<Transition event="noOof" action="null" refId="631"/>
			</Menu>
			<Menu id="PlayCurrentOOFStatus">
				<Prompt type="statement" condition="Oof" name="tuiOOFIsOn"/>
				<Prompt type="statement" condition="NOT Oof" name="tuiOOFIsOff"/>
				<Transition event="noKey" action="getSystemTask" refId="ReturnToPersonalOptions"/>
				<Transition event="oofStatusTask" action="null" refId="out-106"/>
			</Menu>
			
			<Menu id="ChangeEmailOofMenu" minDtmfSize="1" maxDtmfSize="1" dtmfInputValue="option">
				<Prompt condition="emailOof" type="statement" name="tuiPersonalOptionsTurnOffEmailOOF"/>
				<Prompt condition="NOT emailOof" type="statement" name="tuiPersonalOptionsTurnOnEmailOOF"/>
				<Transition event="1" action="toggleEmailOOF" heavyaction="true" refId="PlayNewEmailOOFStatus"/>
				<Transition event="*" action="getSystemTask" refId="ReturnToPersonalOptions"/>
				<Transition event="oofStatusTask" action="null" refId="out-106"/>
			</Menu>
			<Menu id="PlayNewEmailOOFStatus">
				<Prompt type="statement" condition="emailOof" name="tuiEmailOOFTurnedOn"/>
				<Prompt type="statement" condition="NOT emailOof" name="tuiEmailOOFTurnedOff"/>
				<Transition event="noKey" action="getSystemTask" refId="ReturnToPersonalOptions"/>
				<Transition event="oofStatusTask" action="null" refId="out-106"/>
			</Menu>

			<Menu id="PlayTimeFormat">
				<Prompt type="statement" condition="timeFormat24" name="tuiTimeFormatSetTo24Hour"/>
				<Prompt type="statement" condition="NOT timeFormat24" name="tuiTimeFormatSetTo12Hour"/>
				<Transition event="noKey" action="null" refId="ReturnToPersonalOptions"/>
			</Menu>
			<Menu id="PlayASRStatus">
				<Prompt type="statement" condition="useAsr" name="tuiYouSelectedVUI"/>
				<Prompt type="statement" condition="NOT useAsr" name="tuiYouSelectedDTMF"/>
				<Transition event="noKey" action="null" refId="out-ReturnToMainMenu"/>
			</Menu>

			<!-- Greetings and Names Menu -->
			<Menu id="602" minDtmfSize="1" maxDtmfSize="1" dtmfInputValue="option">
				<Prompt type="statement" name="tuiRecordGreetingMenu"/>
				
				<Transition event="1" action="getExternal" heavyaction="true" refId="610"/>
				<Transition event="2" action="getOof" heavyaction="true" refId="630"/>
				<Transition event="3" action="getName" heavyaction="true" refId="640"/>
				<Transition event="*" action="null" refId="ReturnToPersonalOptions"/>
				<Transition event="0" action="null" refId="602"/>
				
				<!-- Events triggered by the get_ functions -->
				<Transition event="noExternal" action="null" refId="611"/>
				<Transition event="noOof" action="null" refId="631"/>
				<Transition event="noName" action="null" refId="641"/>
			</Menu>
			<!-- Change Password Menu -->
			<Menu id="603" minDtmfSize="1" maxDtmfSize="password" dtmfInputValue="password" dtmfStopTones="*#" interDigitTimeout="5" inputTimeout="20">
				<Prompt type="statement" name="tuiEnterNewPassword"/>
				<Prompt type="multiStatement" name="tuiChangePasswordDigits">
					<Prompt type="cardinal" name="adminMinPwdLen" suffix="singularPlural"/>
				</Prompt>
				<Prompt type="statement" name="tuiToCancelPressStar"/>
				<Transition event="anyKey" action="validatePassword" refId="660"/>
				<Transition event="passwordValidated" action="null" refId="661"/>
				<Transition event="*" action="getSystemTask" refId="ReturnToPersonalOptions"/>
				<Transition event="firstTimeUserTask" action="null" refId="681"/>
				<Transition event="changePasswordTask" action="null" refId="604"/>
				<Transition event="#" action="null" refId="603"/>
			</Menu>
			<!-- Password must be changed prompt -->
			<Menu id="604" minDtmfSize="0" maxDtmfSize="0" dtmfInputValue="option">
				<Prompt type="statement" name="tuiPasswordExpired"/>
				<Transition event="noKey" action="null" refId="603"/>
			</Menu>
			<!-- External Greetings Menus -->
			<Menu id = "610" minDtmfSize = "0" maxDtmfSize = "0" dtmfInputValue = "option">
				<Transition event = "noKey" action = "null" refId = "614"/>
				<Prompt type = "statement" name = "tuiPersonalGreetingCurrent">
					<Prompt type = "tempwave" name = "greeting"/>
				</Prompt>
			</Menu>
			<Menu id="611" minDtmfSize="1" maxDtmfSize="1" dtmfInputValue="option">
				<Transition event="1" action="null" refId="612"/>
				<Transition event="#" action="null" refId="612"/>
				<Transition event="*" action="getSystemTask" refId="602"/>
				<Transition event="firstTimeUserTask" action="null" refId="680"/>
				<Prompt type="statement" name="tuiPersonalGreetingIntro"/>
			</Menu>
			<Menu id="612" minDtmfSize="0" maxDtmfSize="1" dtmfInputValue="option">
				<Transition event="noKey" action="null" refId="613"/>
				<Transition event="#" action="null" refId="613"/>
				<Prompt type="statement" name="tuiRecordGreetingCue"/>
			</Menu>
			<Record id = "613" dtmfStopTones="#"  type="greeting">
				<Transition event = "anyKey" action = "null" refId = "615" />
				<Transition event = "silence" action = "null" refId = "617" />			
				<Transition event = "timeout" action = "null" refId = "616" />			
			</Record>
			<Menu id="614" minDtmfSize="1" maxDtmfSize="1" dtmfInputValue="option">
				<Prompt condition = "IsNull(greeting)" type="statement" name="tuiAfterGreetingNoGreeting"/>
				<Prompt condition = "NOT IsNull(greeting)" type="statement" name="tuiAfterGreeting"/>

				<Transition event="1" action="saveExternal" heavyaction="true" refId="650"/>
				<Transition event="2" action="clearRecording" refId="612"/>
				<Transition event="3" condition = "NOT IsNull(greeting)" action="deleteExternal" heavyaction="true" refId="651"/>
				<Transition event="*" action="getSystemTask" refId="602"/>
				<Transition event="firstTimeUserTask" action="null" refId="680"/>
				<Transition event="0" action="null" refId="614"/>
			</Menu>
			<Menu id="615" minDtmfSize="0" maxDtmfSize="0" dtmfInputValue="option">
				<Prompt condition = "NOT IsNull(recording)" type = "tempwave" name = "recording"/>
				<Transition event="noKey" action="null" refId="614"/>
			</Menu>
			<Menu id = "616" minDtmfSize = "0" maxDtmfSize = "0" dtmfInputValue = "option">
				<Prompt type="statement" name="tuiGreetingRecordingTooLong"/>
				<Transition event = "noKey" action = "null" refId = "615"/>			
			</Menu>
			<Menu id = "617" dtmfInputValue = "option">
				<Prompt condition="IsNull(recording)" type="statement" name="tuiAreYouThere"/>
				<Transition condition="IsNull(recording)" event = "noKey" action = "null" refId = "612"/>			
				<Transition condition="NOT IsNull(recording)" event = "noKey" action = "null" refId = "615"/>			
			</Menu>
			<!-- OOF Greetings Menus -->
			<Menu id = "630" minDtmfSize = "0" maxDtmfSize = "0" dtmfInputValue = "option">
				<Transition event = "noKey" action = "null" refId = "634"/>
				<Prompt type = "statement" name = "tuiOofGreetingCurrent">
					<Prompt type = "tempwave" name = "greeting"/>
				</Prompt>
			</Menu>
			<Menu id="631" minDtmfSize="1" maxDtmfSize="1" dtmfInputValue="option">
				<Prompt type="statement" name="tuiOofGreetingIntro"/>
				<Transition event="1" action="null" refId="632"/>
				<Transition event="#" action="null" refId="632"/>
				<Transition event="*" action="null" refId="RecordGreetingComplete"/>
			</Menu>
			<Menu id="632" minDtmfSize="0" maxDtmfSize="1" dtmfInputValue="option">
				<Transition event="noKey" action="null" refId="633"/>
				<Transition event="#" action="null" refId="633"/>
				<Prompt type="statement" name="tuiRecordGreetingCue"/>
			</Menu>
			<Record id = "633" dtmfStopTones="#" type="greeting">
				<Transition event = "anyKey" action = "null" refId = "635"/>
				<Transition event = "silence" action = "null" refId = "637" />									
				<Transition event = "timeout" action = "null" refId = "636" />									
			</Record>
			<Menu id="634" minDtmfSize="1" maxDtmfSize="1" dtmfInputValue="option">
				<Prompt condition = "IsNull(greeting)" type="statement" name="tuiAfterGreetingNoGreeting"/>
				<Prompt condition = "NOT IsNull(greeting)" type="statement" name="tuiAfterGreeting"/>

				<Transition event="1" action="saveOof" heavyaction="true" refId="650"/>
				<Transition event="2" action="clearRecording" refId="632"/>
				<Transition event="3" condition = "NOT IsNull(greeting)" action="deleteOof" heavyaction="true" refId="651"/>
				<Transition event="*" action="null" refId="RecordGreetingComplete"/>
				<Transition event="0" action="null" refId="634"/>
			</Menu>
			<Menu id="635" minDtmfSize="0" maxDtmfSize="0" dtmfInputValue="option">
				<Prompt condition = "NOT IsNull(recording)" type = "tempwave" name = "recording"/>
				<Transition event="noKey" action="null" refId="634"/>
			</Menu>
			<Menu id = "636" minDtmfSize = "0" maxDtmfSize = "0" dtmfInputValue = "option">
				<Prompt type="statement" name="tuiGreetingRecordingTooLong"/>
				<Transition event = "noKey" action = "null" refId = "635"/>			
			</Menu>
			<Menu id = "637" dtmfInputValue = "option">
				<Prompt condition="IsNull(recording)" type="statement" name="tuiAreYouThere"/>
				<Transition condition="IsNull(recording)" event = "noKey" action = "null" refId = "632"/>			
				<Transition condition="NOT IsNull(recording)" event = "noKey" action = "null" refId = "635"/>			
			</Menu>
			<!-- Recorded Name Menus -->
			<Menu id = "640" minDtmfSize = "0" maxDtmfSize = "0" dtmfInputValue = "option">
				<Transition event = "noKey" action = "null" refId = "644"/>
				<Prompt type = "statement" name = "tuiRecordedNameCurrent">
					<Prompt type = "tempwave" name = "greeting"/>
				</Prompt>
			</Menu>
			<Menu id="641" minDtmfSize="1" maxDtmfSize="1" dtmfInputValue="option">
				<Transition event="1" action="null" refId="642"/>
				<Transition event="#" action="null" refId="642"/>
				<Transition event="*" action="getSystemTask" refId="602"/>
				<Transition event="firstTimeUserTask" action="null" refId="680"/>
				<Prompt type="statement" name="tuiRecordedNameIntro"/>
			</Menu>
			<Menu id="642" minDtmfSize="0" maxDtmfSize="1" dtmfInputValue="option">
				<Transition event="noKey" action="null" refId="643"/>
				<Transition event="#" action="null" refId="643"/>
				<Prompt type="statement" name="tuiRecordedNameCue"/>
			</Menu>
			<Record id = "643" dtmfStopTones="#"  type="name">
				<Transition event = "anyKey" action = "null" refId = "645"/>
				<Transition event = "silence" action = "null" refId = "647" />
				<Transition event = "timeout" action = "null" refId = "646" />
			</Record>
			<Menu id="644" minDtmfSize="1" maxDtmfSize="1" dtmfInputValue="option">
				<Prompt condition = "IsNull(greeting)" type="statement" name="tuiAfterGreetingNoGreeting"/>
				<Prompt condition = "NOT IsNull(greeting)" type="statement" name="tuiAfterGreeting"/>

				<Transition event="1" action="saveName" heavyaction="true" refId="650"/>
				<Transition event="2" action="clearRecording" refId="642"/>
				<Transition event="3" condition = "NOT IsNull(greeting)" action="deleteName" heavyaction="true" refId="651"/>
				<Transition event="*" action="getSystemTask" refId="602"/>
				<Transition event="firstTimeUserTask" action="null" refId="680"/>
				<Transition event="0" action="null" refId="644"/>
			</Menu>
			<Menu id="645" minDtmfSize="0" maxDtmfSize="0" dtmfInputValue="option">
				<Prompt condition = "NOT IsNull(recording)" type = "tempwave" name = "recording"/>
				<Transition event="noKey" action="null" refId="644"/>
			</Menu>
			<Menu id = "646" minDtmfSize = "0" maxDtmfSize = "0" dtmfInputValue = "option">
				<Prompt type="statement" name="tuiNameRecordingTooLong"/>
				<Transition event = "noKey" action = "null" refId = "645"/>			
			</Menu>
			<Menu id = "647" dtmfInputValue = "option">
				<Prompt condition="IsNull(recording)" type="statement" name="tuiAreYouThere"/>
				<Transition condition="IsNull(recording)" event = "noKey" action = "null" refId = "642"/>			
				<Transition condition="NOT IsNull(recording)" event = "noKey" action = "null" refId = "645"/>			
			</Menu>
			<!-- Recording Accepted -->
			<Menu id="650" minDtmfSize="0" maxDtmfSize="0" dtmfInputValue="option">
				<Prompt type="statement" name="tuiRecordingAccepted"/>
				<Transition event="noKey" action="null" refId="RecordGreetingComplete"/>
			</Menu>
			<!-- Recording Deleted -->
			<Menu id="651" minDtmfSize="0" maxDtmfSize="0" dtmfInputValue="option">
				<Prompt type="statement" name="tuiRecordingDeleted"/>
				<Transition event="noKey" action="null" refId="RecordGreetingComplete"/>
			</Menu>

			<Menu id="RecordGreetingComplete">
				<Condition value="lastAction EQ @ToggleOOF">
					<Transition event="noKey" condition="emailOof" action="getSystemTask" refId="ReturnToPersonalOptions"/>
					<Transition event="noKey" condition="NOT emailOof" action="null" refId="ChangeEmailOofMenu"/>
				</Condition>
				<Condition value="NOT (lastAction EQ @ToggleOOF)">
					<Transition event="noKey" action="getSystemTask" refId="602"/>
				</Condition>
				<Transition event="firstTimeUserTask" action="null" refId="680"/>
				<Transition event="oofStatusTask" action="null" refId="out-106"/>
			</Menu>

			<!-- Invalid Password -->
			<Menu id="660" minDtmfSize="1" maxDtmfSize="password" dtmfInputValue="password" dtmfStopTones="*#" interDigitTimeout="5" inputTimeout="20">
				<Prompt type="statement" name="tuiChangePasswordInvalid"/>
				<Prompt type="multiStatement" name="tuiChangePasswordDigits">
					<Prompt type="cardinal" name="adminMinPwdLen" suffix="singularPlural"/>
				</Prompt>
				<Prompt type="multiStatement" name="tuiChangePasswordPrevious">
					<Prompt type="cardinal" name="adminOldPwdLen" suffix="singularPlural"/>
				</Prompt>
				<Prompt type="statement" name="tuiChangePasswordPatterns"/>

				<Transition event="anyKey" action="validatePassword" refId="660"/>
				<Transition event="passwordValidated" action="null" refId="661"/>
				<Transition event="*" action="getSystemTask" refId="ReturnToPersonalOptions"/>
				<Transition event="firstTimeUserTask" action="null" refId="681"/>
				<Transition event="changePasswordTask" action="null" refId="604"/>
			</Menu>
			<!-- Verfiy password -->
			<Menu id="661" minDtmfSize="1" maxDtmfSize="password" dtmfInputValue="password" dtmfStopTones="*#" interDigitTimeout="5" inputTimeout="20">
				<Prompt type="statement" name="tuiVerifyPassword"/>
				<Transition event="anyKey" action="matchPasswords" refId="662"/>
				<Transition event="passwordsMatch" action="null" refId="663"/>
				<Transition event="*" action="getSystemTask" refId="ReturnToPersonalOptions"/>
				<Transition event="firstTimeUserTask" action="null" refId="681"/>
				<Transition event="changePasswordTask" action="null" refId="604"/>
				<Transition event="#" action="null" refId="661"/>
			</Menu>
			<!-- Passwords do not match -->
			<Menu id="662" minDtmfSize="0" maxDtmfSize="0" dtmfInputValue="option">
				<Prompt type="statement" name="tuiVerifyPasswordFailed"/>
				<Transition event="noKey" action="null" refId="603"/>
			</Menu>
			<!-- Passwords match -->
			<Menu id="663" minDtmfSize="0" maxDtmfSize="0" dtmfInputValue="option">
				<Prompt type="statement" name="tuiVerifyPasswordSuccess"/>
				<Transition event="noKey" action="getSystemTask" refId="ReturnToPersonalOptions"/>
				<Transition event="firstTimeUserTask" action="null" refId="680"/>
				<Transition condition="NOT useAsr" event="changePasswordTask" action="null" refId="out-170"/>
				<Transition condition="useAsr" event="changePasswordTask" action="null" refId="out-MainMenuQA"/>
			</Menu>

			<!-- First Time User Script Staging area -->
			<Menu id="680" minDtmfSize="0" maxDtmfSize="0" dtmfInputValue="option">
				<Transition event="noKey" action="getFirstTimeUserTask" refId="683"/>
				<Transition event="changePasswordTask" action="null" refId="681"/>
				<Transition event="recordNameTask" action="null" refId="682"/>
				<Transition event="recordExternalTask" action="null" refId="611"/>
			</Menu>
			<!-- Welcome to first time user...-->
			<Menu id="685" minDtmfSize="0" maxDtmfSize="0" dtmfInputValue="option">
				<Prompt type="statement" name="tuiFTUSetup"/>
				<Transition event="noKey" action="null" refId="680"/>
			</Menu>
			<!-- First Time User Main Menu -->
			<Menu id="681" minDtmfSize="1" maxDtmfSize="1" dtmfInputValue="option">
				<Prompt type="statement" name="tuiFTUChangePassword"/>
				<Transition event="1" action="null" refId="603"/>
				<Transition event="0" action="null" refId="681"/>
			</Menu>
			<!-- First Time User / Record Greetings Introduction -->
			<Menu id="682" minDtmfSize="0" maxDtmfSize="0" dtmfInputValue="option">
				<Prompt type="statement" name="tuiFTURecordGreetings"/>
				<Transition event="noKey" action="null" refId="641"/>
			</Menu>
			<!-- First Time User Setup Complete Action -->
			<Menu id="683" minDtmfSize="0" maxDtmfSize="0" dtmfInputValue="option">
				<Transition event="noKey" action="firstTimeUserComplete" heavyaction="true" refId="684"/>
			</Menu>
			<!-- First Time User Setup Complete Prompt-->
			<Menu id="684" minDtmfSize="0" maxDtmfSize="0" dtmfInputValue="option">
				<Prompt type="statement" name="tuiFTUComplete"/>
				<Transition event="noKey" condition = "NOT useAsr" action="null" heavyaction="true" refId="out-170"/>
				<Transition event="noKey" condition = "useAsr" action="null" heavyaction="true" refId="out-MainMenuQA"/>
			</Menu>

			<!-- Select the user's time zone -->
			<Menu id="SelectTimeZone" minDtmfSize="3" maxDtmfSize="4" dtmfInputValue="option" interDigitTimeout="3">
				<Prompt type="statement" name="tuiEnterYourLocalTime"/>
				<Transition event="#" action="null" refId="SelectTimeZone"/>
				<Transition event="*" action="null" refId="ReturnToPersonalOptions"/>
				<Transition event="anyKey" action="findTimeZone" refId="PlayTimeZoneList"/>
				<Transition event="invalidTimeZone" action="null" refId="TimeZoneNotFoundStatement"/>
				<Transition event="invalidTimeFormat" action="null" refId="InvalidTimeFormatStatement"/>
			</Menu>
			<Menu id="TimeZoneNotFoundStatement">
				<Prompt type="statement" name="tuiTimeZoneNotFound"/>
				<Transition event="noKey" action="null" refId="SelectTimeZone"/>
			</Menu>
			<Menu id="InvalidTimeFormatStatement">
				<Prompt type="statement" name="tuiInvalidTimeFormat"/>
				<Transition event="noKey" action="null" refId="SelectTimeZone"/>
			</Menu>
			<Menu id="PlayTimeZoneList">
				<Condition value="playGMTOffset">
					<Prompt condition="NOT positiveOffset" type="multiStatement" name="tuiGMT_Minus">
						<Prompt type="cardinal" name="offsetHours" suffix="singularPlural"/>
						<Prompt type="cardinal" name="offsetMinutes" suffix="singularPlural"/>
					</Prompt>
					<Prompt condition="positiveOffset" type="multiStatement" name="tuiGMT_Plus">
						<Prompt type="cardinal" name="offsetHours" suffix="singularPlural"/>
						<Prompt type="cardinal" name="offsetMinutes" suffix="singularPlural"/>
					</Prompt>
				</Condition>
				
				<Prompt condition="timeZoneIndex EQ 0" type="statement" name="tuiTimeZoneOption1">
					<Prompt type="timeZone" name="currentTimeZone"/>
				</Prompt>
				<Prompt condition="timeZoneIndex EQ 1" type="statement" name="tuiTimeZoneOption2">
					<Prompt type="timeZone" name="currentTimeZone"/>
				</Prompt>
				<Prompt condition="timeZoneIndex EQ 2" type="statement" name="tuiTimeZoneOption3">
					<Prompt type="timeZone" name="currentTimeZone"/>
				</Prompt>
				<Prompt condition="timeZoneIndex EQ 3" type="statement" name="tuiTimeZoneOption4">
					<Prompt type="timeZone" name="currentTimeZone"/>
				</Prompt>
				<Prompt condition="timeZoneIndex EQ 4" type="statement" name="tuiTimeZoneOption5">
					<Prompt type="timeZone" name="currentTimeZone"/>
				</Prompt>
				<Prompt condition="timeZoneIndex EQ 5" type="statement" name="tuiTimeZoneOption6">
					<Prompt type="timeZone" name="currentTimeZone"/>
				</Prompt>
				<Prompt condition="timeZoneIndex EQ 6" type="statement" name="tuiTimeZoneOption7">
					<Prompt type="timeZone" name="currentTimeZone"/>
				</Prompt>
				<Prompt condition="timeZoneIndex EQ 7" type="statement" name="tuiTimeZoneOption8">
					<Prompt type="timeZone" name="currentTimeZone"/>
				</Prompt>
				<Prompt condition="timeZoneIndex EQ 8" type="statement" name="tuiTimeZoneOption9">
					<Prompt type="timeZone" name="currentTimeZone"/>
				</Prompt>
				<Transition event="noKey" action="nextTimeZone" refId="PlayTimeZoneList" />
				<Transition event="anyKey" action="null" refId="TimeZoneSelectionMenu" />
				<Transition event="endOfTimeZoneList" action="null" refId="TimeZoneSelectionMenu" />
			</Menu>
			<Menu id="TimeZoneSelectionMenu" minDtmfSize="1" maxDtmfSize="1" dtmfInputValue="option">
				<Prompt type="statement" name="tuiCommonRepeatMenu"/>
				<Prompt type="statement" name="tuiCommonCancel"/>
				<Transition event="*" action="null" refId="SelectTimeZone" />
				<Transition event="0" action="firstTimeZone" refId="PlayTimeZoneList" />
				<!-- handle # in case it's in the buffer from the previous menu -->
				<Transition event="#" action="firstTimeZone" refId="PlayTimeZoneList"/>
				<!-- any other key -> selectTimeZone (autoEvent:invalidTimeZone) -->
				<Transition event="anyKey" action="selectTimeZone" heavyaction="true" refId="TimeZoneSelectedStatement" />
				<Transition event="invalidTimeZone" action="null"	refId="InvalidTimeZoneStatement"/>
			</Menu>
			
			<Menu id="InvalidTimeZoneStatement">
				<Prompt type="statement" name="tuiInvalidKeys">
					<Prompt type="digit" name="lastInput"/>
				</Prompt>
				<Transition event="noKey" action="firstTimeZone" refId="PlayTimeZoneList"/>
			</Menu>
			
			<Menu id="TimeZoneSelectedStatement">
				<Prompt type="statement" name="tuiTimeZoneSelected">
					<Prompt type="timeZone" name="currentTimeZone"/>
				</Prompt>
				<Transition event="noKey" action="null" refId="ReturnToPersonalOptions"/>
			</Menu>

		</PersonalOptions>
	</FsmModule>
</FiniteStateMachine>




