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="Sie haben $1 Nachrichten"/>-->
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="Sie haben $1 Minuten, $2 Sekunden übrig $strftime(%Y-%m-%d)"/>
56 <action function="break"/>
59 <action function="speak-text" data="Die Eingabe war ungültig."/>
62 <input pattern="(\d+) min (\d+) sek">
64 <action function="speak-text" data="Sie haben $1 Minuten, $2 Sekunden übrig $strftime(%Y-%m-%d)"/>
67 <action function="speak-text" data="Die Eingabe war ungültig."/>
81 vim:set softtabstop=2 shiftwidth=2 tabstop=2 expandtab: