e3e6f0214205ec84274fbec5b77eb0f405f179b2
1 <include><!--This line will be ignored it's here to validate the xml and is optional -->
2 <macro name=
"msgcount">
5 <action function=
"execute" data=
"sleep(1000)"/>
6 <action function=
"play-file" data=
"voicemail/vm-you_have.wav"/>
7 <action function=
"say" data=
"$1" method=
"pronounced" type=
"items"/>
8 <action function=
"play-file" data=
"voicemail/vm-messages.wav"/>
10 <!--<action function="speak-text" data="you have $1 messages"/>-->
14 <macro name=
"saydate">
15 <input pattern=
"(.*)">
17 <action function=
"say" data=
"$1" method=
"pronounced" type=
"current_date_time"/>
21 <macro name=
"timespec">
22 <input pattern=
"(.*)">
24 <action function=
"say" data=
"$1" method=
"pronounced" type=
"time_measurement"/>
28 <macro name=
"ip-addr">
29 <input pattern=
"(.*)">
31 <action function=
"say" data=
"$1" method=
"iterated" type=
"ip_address"/>
32 <action function=
"say" data=
"$1" method=
"pronounced" type=
"ip_address"/>
37 <input pattern=
"(.*)">
39 <action function=
"say" data=
"$1" method=
"pronounced" type=
"name_spelled"/>
43 <macro name=
"spell-phonetic">
44 <input pattern=
"(.*)">
46 <action function=
"say" data=
"$1" method=
"pronounced" type=
"name_phonetic"/>
50 <macro name=
"tts-timeleft">
51 <!-- The parser will visit each <input> tag and execute the actions in <match> or <nomatch> depending on the pattern param -->
52 <!-- If the function "break" is encountered all parsing will cease -->
53 <input pattern=
"(\d+):(\d+)">
55 <action function=
"speak-text" data=
"You have $1 minutes, $2 seconds remaining $strftime(%Y-%m-%d)"/>
56 <action function=
"break"/>
59 <action function=
"speak-text" data=
"That input was invalid."/>
62 <input pattern=
"(\d+) min (\d+) sec">
64 <action function=
"speak-text" data=
"You have $1 minutes, $2 seconds remaining $strftime(%Y-%m-%d)"/>
67 <action function=
"speak-text" data=
"That input was invalid."/>
71 </include><!--This line will be ignored it's here to validate the xml and is optional -->