forked from Mirrors/freeswitch
3241ad1512
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6056 d0543943-73ff-0310-b7d9-9358b9ac24b2
274 lines
9.5 KiB
XML
274 lines
9.5 KiB
XML
<include><!--This line will be ignored it's here to validate the xml and is optional -->
|
|
<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="items"/>
|
|
</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="items"/>
|
|
</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="^1:(.*)$">
|
|
<match>
|
|
<action function="play-file" data="voicemail/vm-you_have.wav"/>
|
|
<action function="say" data="1" method="pronounced" type="items"/>
|
|
<action function="play-file" data="voicemail/vm-$1.wav"/>
|
|
<action function="play-file" data="voicemail/vm-message.wav"/>
|
|
<action function="play-file" data="voicemail/vm-in_folder.wav"/>
|
|
</match>
|
|
</input>
|
|
<input pattern="^([0,2-9]+):(.*)$">
|
|
<match>
|
|
<action function="play-file" data="voicemail/vm-you_have.wav"/>
|
|
<action function="say" data="$1" method="pronounced" type="items"/>
|
|
<action function="play-file" data="voicemail/vm-$1.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="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#*])$">
|
|
<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-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-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-press.wav"/>
|
|
<action function="say" data="$1" method="pronounced" type="name_spelled"/>
|
|
<action function="play-file" data="voicemail/vm-listen_to_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-save_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-rerecord.wav"/>
|
|
</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_listen_file_check">
|
|
<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_to_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-save_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-delete_recording.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-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"/>
|
|
</match>
|
|
</input>
|
|
</macro>
|
|
|
|
<macro name="voicemail_choose_greeting">
|
|
<input pattern="^(.*)$">
|
|
<match>
|
|
<action function="play-file" data="voicemail/vm-choose_greeting.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="^(.*)$">
|
|
<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="say" data="$1" method="pronounced" type="name_spelled"/>
|
|
<action function="play-file" data="voicemail/vm-not_avaliable.wav"/>
|
|
</match>
|
|
</input>
|
|
</macro>
|
|
|
|
<macro name="voicemail_say_number">
|
|
<input pattern="^(.*)$">
|
|
<match>
|
|
<action function="say" data="$1" method="pronounced" type="items"/>
|
|
</match>
|
|
</input>
|
|
</macro>
|
|
|
|
<macro name="voicemail_say_message_number">
|
|
<input pattern="^([a-z]+):(.*)$">
|
|
<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>
|
|
|
|
<macro name="voicemail_ack">
|
|
<input pattern="^(.*)$">
|
|
<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="$strftime($1|%A, %B %d %Y, %I %M %p)" method="pronounced" type="current_date_time"/>
|
|
</match>
|
|
</input>
|
|
</macro>
|
|
|
|
</include><!--This line will be ignored it's here to validate the xml and is optional -->
|