fb2956f426
git-svn-id: svn://svn.openwrt.org/openwrt/packages@35036 3c298f89-4303-0410-b956-a3cf2f4a3e73
131 lines
4.5 KiB
XML
131 lines
4.5 KiB
XML
<include>
|
|
|
|
<macro name="directory_intro">
|
|
<input pattern="^(last_name)" break_on_match="false">
|
|
<match>
|
|
<action function="play-file" data="directory/dir-enter_person.wav"/>
|
|
<action function="play-file" data="directory/dir-last_name.wav"/>
|
|
</match>
|
|
</input>
|
|
<input pattern="^(first_name)" break_on_match="false">
|
|
<match>
|
|
<action function="play-file" data="directory/dir-enter_person.wav"/>
|
|
<action function="play-file" data="directory/dir-first_name.wav"/>
|
|
</match>
|
|
</input>
|
|
<input pattern="^(last_name):([0-9#*])$" break_on_match="false">
|
|
<match>
|
|
<action function="play-file" data="directory/dir-to_search_by.wav"/>
|
|
<action function="play-file" data="directory/dir-first_name.wav"/>
|
|
<action function="play-file" data="voicemail/vm-press.wav"/>
|
|
<action function="say" data="$2" method="pronounced" type="name_spelled"/>
|
|
</match>
|
|
</input>
|
|
<input pattern="^(first_name):([0-9#*])$" break_on_match="false">
|
|
<match>
|
|
<action function="play-file" data="directory/dir-to_search_by.wav"/>
|
|
<action function="play-file" data="directory/dir-last_name.wav"/>
|
|
<action function="play-file" data="voicemail/vm-press.wav"/>
|
|
<action function="say" data="$2" method="pronounced" type="name_spelled"/>
|
|
</match>
|
|
</input>
|
|
</macro>
|
|
|
|
<macro name="directory_min_search_digits">
|
|
<input pattern="^(.*)$">
|
|
<match>
|
|
<action function="play-file" data="directory/dir-specify_mininum.wav"/>
|
|
<action function="say" data="$1" method="pronounced" type="items"/>
|
|
<action function="play-file" data="directory/dir-letters_of_person_name.wav"/>
|
|
</match>
|
|
</input>
|
|
</macro>
|
|
|
|
<macro name="directory_result_count">
|
|
<input pattern="^0$" break_on_match="true">
|
|
<match>
|
|
<action function="play-file" data="directory/dir-no_matching_results.wav"/>
|
|
</match>
|
|
</input>
|
|
<input pattern="^(.*)$">
|
|
<match>
|
|
<action function="say" data="$1" method="pronounced" type="items"/>
|
|
<action function="play-file" data="directory/dir-result_match.wav"/>
|
|
</match>
|
|
</input>
|
|
</macro>
|
|
|
|
<macro name="directory_result_count_too_large">
|
|
<input pattern="^(.*)$">
|
|
<match>
|
|
<action function="play-file" data="directory/dir-too_many_result.wav"/>
|
|
</match>
|
|
</input>
|
|
</macro>
|
|
|
|
<macro name="directory_result_last">
|
|
<input pattern="^(.*)$">
|
|
<match>
|
|
<action function="play-file" data="directory/dir-no_more_results.wav"/>
|
|
</match>
|
|
</input>
|
|
</macro>
|
|
|
|
<macro name="directory_result_item">
|
|
<input pattern="^(.*)$">
|
|
<match>
|
|
<action function="play-file" data="directory/dir-result_number.wav"/>
|
|
<action function="say" data="$1" method="pronounced" type="items"/>
|
|
</match>
|
|
</input>
|
|
</macro>
|
|
|
|
<macro name="directory_result_at">
|
|
<input pattern="^(.*)$">
|
|
<match>
|
|
<action function="play-file" data="directory/dir-at_extension.wav"/>
|
|
<action function="say" data="$1" method="pronounced" type="name_spelled"/>
|
|
</match>
|
|
</input>
|
|
</macro>
|
|
|
|
<macro name="directory_result_menu">
|
|
<input pattern="^([0-9#*]),([0-9#*]),([0-9#*]),([0-9#*])$">
|
|
<match>
|
|
<action function="play-file" data="directory/dir-to_select_entry.wav"/>
|
|
<action function="play-file" data="voicemail/vm-press.wav"/>
|
|
<action function="say" data="$1" method="pronounced" type="name_spelled"/>
|
|
<action function="play-file" data="directory/dir-for_next.wav"/>
|
|
<action function="play-file" data="voicemail/vm-press.wav"/>
|
|
<action function="say" data="$2" method="pronounced" type="name_spelled"/>
|
|
<action function="play-file" data="directory/dir-for_prev.wav"/>
|
|
<action function="play-file" data="voicemail/vm-press.wav"/>
|
|
<action function="say" data="$3" method="pronounced" type="name_spelled"/>
|
|
<action function="play-file" data="directory/dir-start_new_search.wav"/>
|
|
<action function="play-file" data="voicemail/vm-press.wav"/>
|
|
<action function="say" data="$4" method="pronounced" type="name_spelled"/>
|
|
</match>
|
|
</input>
|
|
</macro>
|
|
|
|
<macro name="directory_result_say_name">
|
|
<input pattern="^(.*)$">
|
|
<match>
|
|
<action function="say" data="$1" method="pronounced" type="name_spelled"/>
|
|
</match>
|
|
</input>
|
|
</macro>
|
|
|
|
</include>
|
|
<!--
|
|
For Emacs:
|
|
Local Variables:
|
|
mode:xml
|
|
indent-tabs-mode:nil
|
|
tab-width:2
|
|
c-basic-offset:2
|
|
End:
|
|
For VIM:
|
|
vim:set softtabstop=2 shiftwidth=2 tabstop=2 expandtab:
|
|
-->
|