123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374 |
- <include>
- <macro name="voicemail_enter_id">
- <input pattern="(.*)">
- <match>
- <action function="play-file" data="voicemail/vm-enter_id.wav"/>
- <!--<action function="say" data="$1" method="pronounced" type="name_spelled"/>-->
- </match>
- </input>
- </macro>
- <macro name="voicemail_enter_pass">
- <input pattern="(.*)">
- <match>
- <action function="play-file" data="voicemail/vm-enter_pass.wav"/>
- <!-- лишнее и так долго <action function="say" data="$1" method="pronounced" type="name_spelled"/>-->
- </match>
- </input>
- </macro>
- <macro name="voicemail_fail_auth">
- <input pattern="(.*)">
- <match>
- <action function="play-file" data="voicemail/vm-fail_auth.wav"/>
- </match>
- </input>
- </macro>
- <macro name="voicemail_hello">
- <input pattern="(.*)">
- <match>
- <action function="play-file" data="voicemail/vm-hello.wav"/>
- </match>
- </input>
- </macro>
- <macro name="voicemail_goodbye">
- <input pattern="(.*)">
- <match>
- <action function="play-file" data="voicemail/vm-goodbye.wav"/>
- </match>
- </input>
- </macro>
- <macro name="voicemail_abort">
- <input pattern="(.*)">
- <match>
- <action function="play-file" data="voicemail/vm-abort.wav"/>
- </match>
- </input>
- </macro>
- <macro name="voicemail_message_count">
- <input pattern="^(\d+[0,2-9]1|[2-9]1|1):(.*)$"> <!--1, и всё что больше 20-ти 21,31,41 .. -->
- <match>
- <action function="play-file" data="voicemail/vm-you_have.wav"/>
- <action function="say" data="$1" method="pronounced" type="MESSAGES"/>
- <action function="play-file" data="voicemail/vm-$2.wav"/>
- <action function="play-file" data="voicemail/vm-message.wav"/>
- <!--<action function="play-file" data="voicemail/vm-in_folder.wav"/>-->
- </match>
- </input>
- <!-- от 10 до 19 и ноль --> <!-- от 5до 9 и больше 20-ти 25-29 -->
- <input pattern="^(\d+1[0-9]|1[0-9]|0|\d+[0-9][0,5-9]|[2-9][0,5-9]|[0,5-9]):(.*)$">
- <match>
- <action function="play-file" data="voicemail/vm-you_have.wav"/>
- <action function="say" data="$1" method="pronounced" type="MESSAGES"/>
- <action function="play-file" data="voicemail/vm-$2x.wav"/>
- <action function="play-file" data="voicemail/vm-messagex.wav"/>
- <!--<action function="play-file" data="voicemail/vm-in_folder.wav"/>-->
- </match>
- </input>
- <input pattern="^(\d+[0,2-9][2-4]|[2-9][2-4]|[2-4]):(.*)$">
- <match>
- <action function="play-file" data="voicemail/vm-you_have.wav"/>
- <action function="say" data="$1" method="pronounced" type="MESSAGES"/>
- <action function="play-file" data="voicemail/vm-$2x.wav"/>
- <action function="play-file" data="voicemail/vm-messages.wav"/>
- <action function="play-file" data="voicemail/vm-in_folder.wav"/>
- </match>
- </input>
- </macro>
- <macro name="voicemail_menu">
- <input pattern="^([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*])$">
- <match>
- <action function="play-file" data="voicemail/vm-press.wav"/>
- <action function="say" data="$1" method="pronounced" type="name_spelled"/>
- <action function="play-file" data="voicemail/vm-listen_new.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="voicemail/vm-listen_saved.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="voicemail/vm-advanced.wav"/>
- <action function="play-file" data="voicemail/vm-press.wav"/>
- <action function="say" data="$4" method="pronounced" type="name_phonetic"/>
- <action function="play-file" data="voicemail/vm-to_exit.wav"/>
- </match>
- </input>
- </macro>
- <macro name="voicemail_config_menu">
- <input pattern="^([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*])$">
- <match>
- <action function="play-file" data="voicemail/vm-press.wav"/>
- <action function="say" data="$1" method="pronounced" type="name_spelled"/>
- <action function="play-file" data="voicemail/vm-to_record_greeting.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="voicemail/vm-choose_greeting.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="voicemail/vm-record_name2.wav"/>
- <action function="play-file" data="voicemail/vm-press.wav"/>
- <action function="say" data="$4" method="pronounced" type="name_spelled"/>
- <action function="play-file" data="voicemail/vm-change_password.wav"/>
- <action function="play-file" data="voicemail/vm-press.wav"/>
- <action function="say" data="$5" method="pronounced" type="name_spelled"/>
- <action function="play-file" data="voicemail/vm-main_menu.wav"/>
- </match>
- </input>
- </macro>
- <macro name="voicemail_record_name">
- <input pattern="^(.*)$">
- <match>
- <action function="play-file" data="voicemail/vm-record_name1.wav"/>
- </match>
- </input>
- </macro>
- <macro name="voicemail_record_file_check">
- <input pattern="^([0-9#*]):([0-9#*]):([0-9#*])$">
- <match>
- <action function="play-file" data="voicemail/vm-listen_to_recording.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="voicemail/vm-save_recording.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="voicemail/vm-rerecord.wav"/>
- <action function="play-file" data="voicemail/vm-press.wav"/>
- <action function="say" data="$3" method="pronounced" type="name_spelled"/>
- </match>
- </input>
- </macro>
- <macro name="voicemail_record_urgent_check">
- <input pattern="^([0-9#*]):([0-9#*])$">
- <match>
- <action function="play-file" data="voicemail/vm-mark-urgent.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="voicemail/vm-continue.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="voicemail_forward_prepend">
- <input pattern="^([0-9#*]):([0-9#*])$">
- <match>
- <action function="play-file" data="voicemail/vm-forward_add_intro.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="voicemail/vm-send_message_now.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="voicemail_forward_message_enter_extension">
- <input pattern="^([0-9#*])$">
- <match>
- <action function="play-file" data="voicemail/vm-forward_enter_ext.wav"/>
- <action function="play-file" data="voicemail/vm-followed_by.wav"/>
- <action function="say" data="$1" method="pronounced" type="name_spelled"/>
- </match>
- </input>
- </macro>
- <macro name="voicemail_invalid_extension">
- <input pattern="^(.*)$">
- <match>
- <action function="play-file" data="voicemail/vm-that_was_an_invalid_ext.wav"/>
- </match>
- </input>
- </macro>
- <macro name="voicemail_listen_file_check">
- <input pattern="^([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*]):(.*)$">
- <match>
- <action function="play-file" data="voicemail/vm-listen_to_recording.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="voicemail/vm-save_recording.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="voicemail/vm-delete_recording.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="voicemail/vm-forward_to_email.wav"/>
- <action function="play-file" data="voicemail/vm-press.wav"/>
- <action function="say" data="$4" method="pronounced" type="name_spelled"/>
- <action function="play-file" data="voicemail/vm-return_call.wav"/>
- <action function="play-file" data="voicemail/vm-press.wav"/>
- <action function="say" data="$5" method="pronounced" type="name_spelled"/>
- <action function="play-file" data="voicemail/vm-to_forward.wav"/>
- <action function="play-file" data="voicemail/vm-press.wav"/>
- <action function="say" data="$6" method="pronounced" type="name_spelled"/>
- </match>
- </input>
- <input pattern="^([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*])$">
- <match>
- <action function="play-file" data="voicemail/vm-listen_to_recording.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="voicemail/vm-save_recording.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="voicemail/vm-delete_recording.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="voicemail/vm-return_call.wav"/>
- <action function="play-file" data="voicemail/vm-press.wav"/>
- <action function="say" data="$5" method="pronounced" type="name_spelled"/>
- <action function="play-file" data="voicemail/vm-to_forward.wav"/>
- <action function="play-file" data="voicemail/vm-press.wav"/>
- <action function="say" data="$6" method="pronounced" type="name_spelled"/>
- </match>
- </input>
- </macro>
- <macro name="voicemail_choose_greeting">
- <input pattern="^(.*)$">
- <match>
- <action function="play-file" data="voicemail/vm-choose_greeting_choose.wav"/>
- </match>
- </input>
- </macro>
- <macro name="voicemail_choose_greeting_fail">
- <input pattern="^(.*)$">
- <match>
- <action function="play-file" data="voicemail/vm-choose_greeting_fail.wav"/>
- </match>
- </input>
- </macro>
- <macro name="voicemail_record_greeting">
- <input pattern="^(.*)$">
- <match>
- <action function="play-file" data="voicemail/vm-record_greeting.wav"/>
- </match>
- </input>
- </macro>
- <macro name="voicemail_record_message">
- <input pattern="^(.*)$">
- <match>
- <action function="play-file" data="voicemail/vm-record_message.wav"/>
- </match>
- </input>
- </macro>
- <macro name="voicemail_greeting_selected">
- <input pattern="^(\d+)$">
- <match>
- <action function="play-file" data="voicemail/vm-greeting.wav"/>
- <action function="say" data="$1" method="pronounced" type="items"/>
- <action function="play-file" data="voicemail/vm-selected.wav"/>
- </match>
- </input>
- </macro>
- <macro name="voicemail_play_greeting">
- <input pattern="^(.*)$">
- <match>
- <action function="play-file" data="voicemail/vm-person.wav"/>
- <action function="say" data="$1" method="pronounced" type="name_spelled"/>
- <action function="play-file" data="voicemail/vm-not_available.wav"/>
- </match>
- </input>
- </macro>
- <macro name="voicemail_say_number">
- <input pattern="^(\d+)$">
- <match>
- <action function="say" data="$1" method="pronounced" type="items"/>
- </match>
- </input>
- </macro>
- <macro name="voicemail_say_message_number">
- <input pattern="^([a-z]+):(\d+)$">
- <match>
- <action function="play-file" data="voicemail/vm-$1.wav"/>
- <action function="play-file" data="voicemail/vm-message_number.wav"/>
- <action function="say" data="$2" method="pronounced" type="items"/>
- </match>
- </input>
- </macro>
- <macro name="voicemail_say_phone_number">
- <input pattern="^(.*)$">
- <match>
- <action function="say" data="$1" method="pronounced" type="name_spelled"/>
- </match>
- </input>
- </macro>
- <macro name="voicemail_say_name">
- <input pattern="^(.*)$">
- <match>
- <action function="say" data="$1" method="pronounced" type="name_spelled"/>
- </match>
- </input>
- </macro>
- <!-- Note: Update this to marked-urgent,emailed and saved once new sound files are recorded -->
- <macro name="voicemail_ack">
- <input pattern="^(too-small)$">
- <match>
- <action function="play-file" data="voicemail/vm-too-small.wav"/>
- </match>
- </input>
- <input pattern="^(deleted)$">
- <match>
- <action function="play-file" data="voicemail/vm-message.wav"/>
- <action function="play-file" data="voicemail/vm-$1.wav"/>
- </match>
- </input>
- <input pattern="^(saved)$">
- <match>
- <action function="play-file" data="voicemail/vm-message.wav"/>
- <action function="play-file" data="voicemail/vm-$1.wav"/>
- </match>
- </input>
- <input pattern="^(emailed)$">
- <match>
- <action function="play-file" data="voicemail/vm-message.wav"/>
- <action function="play-file" data="voicemail/vm-$1.wav"/>
- </match>
- </input>
- <input pattern="^(marked-urgent)$">
- <match>
- <action function="play-file" data="voicemail/vm-message.wav"/>
- <action function="play-file" data="voicemail/vm-$1.wav"/>
- </match>
- </input>
- </macro>
- <macro name="voicemail_say_date">
- <input pattern="^(.*)$">
- <match>
- <action function="say" data="$1" method="pronounced" type="current_date_time"/>
- </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:
- -->
|