add packages_10.03.2 in preparation for the 10.03.2 interim release
[10.03/packages.git] / net / freeswitch / files / etc.packages / say-ru / lang / ru / demo / demo.xml
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 -->
3
4     <macro name="saymoney">
5      <input pattern="(.*)">
6         <match>
7           <action function="say" data="$1" method="pronounced" type="currency"/>
8         </match>
9       </input>
10     </macro>
11     <macro name="msgcount">
12       <input pattern="(.*)">
13         <match>
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"/>
18           <!-- or -->
19           <!--<action function="speak-text" data="you have $1 messages"/>-->
20         </match>
21       </input>
22     </macro>
23     <macro name="saydate">
24       <input pattern="(.*)">
25         <match>
26           <action function="say" data="$1" method="pronounced" type="current_date_time"/>
27         </match>
28       </input>
29     </macro>
30     <macro name="saydatetime">
31       <input pattern="(.*)">
32         <match>
33           <action function="say" data="$1" method="pronounced" type="current_date_time"/>
34         </match>
35       </input>
36     </macro>
37     <macro name="timespec">
38       <input pattern="(.*)">
39         <match>
40           <action function="say" data="$1" method="pronounced" type="time_measurement"/>
41         </match>
42       </input>
43     </macro>
44     <macro name="timespec2">
45       <input pattern="(.*)">
46         <match>
47           <action function="say" data="$1" method="pronounced" type="CURRENT_DATE_TIME"/>
48         </match>
49       </input>
50     </macro>
51     <macro name="ip-addr-interated">
52       <input pattern="(.*)">
53         <match>
54           <action function="say" data="$1" method="iterated" type="ip_address"/>
55         </match>
56       </input>
57     </macro>
58     <macro name="ip-addr">
59       <input pattern="(.*)">
60         <match>
61           <action function="say" data="$1" method="pronounced" type="ip_address"/>
62         </match>
63       </input>
64     </macro>
65     <macro name="spell">
66       <input pattern="(.*)">
67         <match>
68           <action function="say" data="$1" method="pronounced" type="name_spelled"/>
69         </match>
70       </input>
71     </macro>
72     <macro name="spell-phonetic">
73       <input pattern="(.*)">
74         <match>
75           <action function="say" data="$1" method="pronounced" type="name_phonetic"/>
76         </match>
77       </input>
78     </macro>
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+)">
83         <match>
84           <action function="speak-text" data="You have $1 minutes, $2 seconds remaining $strftime(%Y-%m-%d)"/>
85           <action function="break"/>
86         </match>
87         <nomatch>
88           <action function="speak-text" data="That input was invalid."/>
89         </nomatch>
90       </input>
91       <input pattern="(\d+) min (\d+) sec">
92         <match>
93           <action function="speak-text" data="You have $1 minutes, $2 seconds remaining $strftime(%Y-%m-%d)"/>
94         </match>
95         <nomatch>
96           <action function="speak-text" data="That input was invalid."/>
97         </nomatch>
98       </input>
99     </macro>
100 </include><!--This line will be ignored it's here to validate the xml and is optional -->