1 <?xml version="1.0" encoding="utf-8"?>
2 <include><!--This line will be ignored it's here to validate the xml and is optional -->
4 <macro name="saymoney">
7 <action function="say" data="$1" method="pronounced" type="currency"/>
11 <macro name="msgcount">
12 <input pattern="(.*)">
14 <action function="execute" data="sleep(1000)"/>
15 <action function="play-file" data="voicemail/vm-you_have.wav"/>
16 <action function="say" data="$1" method="pronounced" type="items"/>
17 <action function="play-file" data="voicemail/vm-messages.wav"/>
19 <!--<action function="speak-text" data="you have $1 messages"/>-->
23 <macro name="saydate">
24 <input pattern="(.*)">
26 <action function="say" data="$1" method="pronounced" type="current_date_time"/>
30 <macro name="saydatetime">
31 <input pattern="(.*)">
33 <action function="say" data="$1" method="pronounced" type="current_date_time"/>
37 <macro name="timespec">
38 <input pattern="(.*)">
40 <action function="say" data="$1" method="pronounced" type="time_measurement"/>
44 <macro name="timespec2">
45 <input pattern="(.*)">
47 <action function="say" data="$1" method="pronounced" type="CURRENT_DATE_TIME"/>
51 <macro name="ip-addr-interated">
52 <input pattern="(.*)">
54 <action function="say" data="$1" method="iterated" type="ip_address"/>
58 <macro name="ip-addr">
59 <input pattern="(.*)">
61 <action function="say" data="$1" method="pronounced" type="ip_address"/>
66 <input pattern="(.*)">
68 <action function="say" data="$1" method="pronounced" type="name_spelled"/>
72 <macro name="spell-phonetic">
73 <input pattern="(.*)">
75 <action function="say" data="$1" method="pronounced" type="name_phonetic"/>
79 <macro name="tts-timeleft">
80 <!-- The parser will visit each <input> tag and execute the actions in <match> or <nomatch> depending on the pattern param -->
81 <!-- If the function "break" is encountered all parsing will cease -->
82 <input pattern="(\d+):(\d+)">
84 <action function="speak-text" data="You have $1 minutes, $2 seconds remaining $strftime(%Y-%m-%d)"/>
85 <action function="break"/>
88 <action function="speak-text" data="That input was invalid."/>
91 <input pattern="(\d+) min (\d+) sec">
93 <action function="speak-text" data="You have $1 minutes, $2 seconds remaining $strftime(%Y-%m-%d)"/>
96 <action function="speak-text" data="That input was invalid."/>
100 </include><!--This line will be ignored it's here to validate the xml and is optional -->