2013-01-07 14:25:52 +00:00
<include >
2010-08-22 22:18:15 +00:00
<macro name= "voicemail_enter_id" >
<input pattern= "(.*)" >
<match >
2013-01-07 14:25:52 +00:00
<action function= "speak-text" data= "please enter your i d, followed by $1." />
2010-08-22 22:18:15 +00:00
</match>
</input>
</macro>
<macro name= "voicemail_enter_pass" >
<input pattern= "(.*)" >
<match >
2013-01-07 14:25:52 +00:00
<action function= "speak-text" data= "please enter your password, followed by $1." />
2010-08-22 22:18:15 +00:00
</match>
</input>
</macro>
<macro name= "voicemail_fail_auth" >
<input pattern= "(.*)" >
<match >
2013-01-07 14:25:52 +00:00
<action function= "speak-text" data= "login incorrect." />
2010-08-22 22:18:15 +00:00
</match>
</input>
</macro>
<macro name= "voicemail_hello" >
<input pattern= "(.*)" >
<match >
2013-01-07 14:25:52 +00:00
<action function= "speak-text" data= "welcome to your voicemail." />
2010-08-22 22:18:15 +00:00
</match>
</input>
</macro>
<macro name= "voicemail_goodbye" >
<input pattern= "(.*)" >
<match >
2013-01-07 14:25:52 +00:00
<action function= "speak-text" data= "goodbye." />
2010-08-22 22:18:15 +00:00
</match>
</input>
</macro>
<macro name= "voicemail_abort" >
<input pattern= "(.*)" >
<match >
2013-01-07 14:25:52 +00:00
<action function= "speak-text" data= "too many failed attempts." />
2010-08-22 22:18:15 +00:00
</match>
</input>
</macro>
<macro name= "voicemail_message_count" >
<input pattern= "^1:(.*)$" break_on_match= "true" >
<match >
2013-01-07 14:25:52 +00:00
<action function= "speak-text" data= "you have 1 $1 message in folder ${voicemail_current_folder}." />
2010-08-22 22:18:15 +00:00
</match>
</input>
<input pattern= "^(\d+):(.*)$" >
<match >
2013-01-07 14:25:52 +00:00
<action function= "speak-text" data= "you have $1 $2 messages in folder ${voicemail_current_folder}." />
2010-08-22 22:18:15 +00:00
</match>
</input>
</macro>
<macro name= "voicemail_menu" >
<input pattern= "^([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*])$" >
<match >
2013-01-07 14:25:52 +00:00
<action function= "speak-text"
data="To listen to new messages, press $1, To listen to saved messages, press $2, For advanced options, press $3, to exit, press $4."/>
2010-08-22 22:18:15 +00:00
</match>
</input>
</macro>
<macro name= "voicemail_config_menu" >
<input pattern= "^([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*])$" >
<match >
2013-01-07 14:25:52 +00:00
<action function= "speak-text"
data="To record a greeting, press $1, To choose a greeting, press $2, To record your name, press $3, to change your password, press $5, to return to the main menu, press $5."/>
2010-08-22 22:18:15 +00:00
</match>
</input>
</macro>
<macro name= "voicemail_record_name" >
<input pattern= "^(.*)$" >
<match >
2013-01-07 14:25:52 +00:00
<action function= "speak-text" data= "at the tone, please record your name, press any key or stop talking to end the recording." />
2010-08-22 22:18:15 +00:00
</match>
</input>
</macro>
<macro name= "voicemail_record_file_check" >
<input pattern= "^([0-9#*]):([0-9#*]):([0-9#*])$" >
<match >
2013-01-07 14:25:52 +00:00
<action function= "speak-text"
data="To listen to the recording, press $1, To save the recording, press $2, To re record, press $3."/>
2010-08-22 22:18:15 +00:00
</match>
</input>
</macro>
<macro name= "voicemail_record_urgent_check" >
<input pattern= "^([0-9#*]):([0-9#*])$" >
<match >
2013-01-07 14:25:52 +00:00
<action function= "speak-text"
data="To mark this message urgent, press $1, To continue, press $2."/>
2010-08-22 22:18:15 +00:00
</match>
</input>
</macro>
<macro name= "voicemail_invalid_extension" >
<input pattern= "^([0-9#*])$" >
<match >
2013-01-07 14:25:52 +00:00
<action function= "speak-text" data= "$1 is not a valid extension." />
2010-08-22 22:18:15 +00:00
</match>
</input>
</macro>
<macro name= "voicemail_forward_message_enter_extension" >
<input pattern= "^([0-9#*])$" >
<match >
2013-01-07 14:25:52 +00:00
<action function= "speak-text" data= "enter the extension you wish to forward to, then press $1" />
2010-08-22 22:18:15 +00:00
</match>
</input>
</macro>
<macro name= "voicemail_forward_prepend" >
<input pattern= "^([0-9#*])$" >
<match >
2013-01-07 14:25:52 +00:00
<action function= "speak-text" data= "To record an announcement, press $1." />
2010-08-22 22:18:15 +00:00
</match>
</input>
</macro>
<macro name= "voicemail_listen_file_check" >
<input pattern= "^([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*])$" >
<match >
2013-01-07 14:25:52 +00:00
<action function= "speak-text"
data="To listen to the recording again, press $1, To save the recording, press $2, To delete the recording, press $3, to forward the recording to your email, press $4, to call the caller now, press $5, To forward this message to another extension, press $6."/>
2010-08-22 22:18:15 +00:00
</match>
</input>
</macro>
<macro name= "voicemail_choose_greeting" >
<input pattern= "^(.*)$" >
<match >
2013-01-07 14:25:52 +00:00
<action function= "speak-text" data= "choose a greeting between 1 and 3." />
2010-08-22 22:18:15 +00:00
</match>
</input>
</macro>
<macro name= "voicemail_choose_greeting_fail" >
<input pattern= "^(.*)$" >
<match >
2013-01-07 14:25:52 +00:00
<action function= "speak-text" data= "invalid value." />
2010-08-22 22:18:15 +00:00
</match>
</input>
</macro>
<macro name= "voicemail_record_greeting" >
<input pattern= "^(.*)$" >
<match >
2013-01-07 14:25:52 +00:00
<action function= "speak-text" data= "record your greeting at the tone, press any key or stop talking to end the recording." />
2010-08-22 22:18:15 +00:00
</match>
</input>
</macro>
<macro name= "voicemail_record_message" >
<input pattern= "^(.*)$" >
<match >
2013-01-07 14:25:52 +00:00
<action function= "speak-text" data= "record your message at the tone, press any key or stop talking to end the recording." />
2010-08-22 22:18:15 +00:00
</match>
</input>
</macro>
<macro name= "voicemail_greeting_selected" >
<input pattern= "^(.*)$" >
<match >
2013-01-07 14:25:52 +00:00
<action function= "speak-text" data= "greeting $1 selected." />
2010-08-22 22:18:15 +00:00
</match>
</input>
</macro>
<macro name= "voicemail_play_greeting" >
<input pattern= "^(.*)$" >
<match >
2013-01-07 14:25:52 +00:00
<action function= "speak-text" data= "$1 is not available." />
2010-08-22 22:18:15 +00:00
</match>
</input>
</macro>
<macro name= "voicemail_say_number" >
<input pattern= "^(.*)$" >
<match >
2013-01-07 14:25:52 +00:00
<action function= "speak-text" data= "$1" />
2010-08-22 22:18:15 +00:00
</match>
</input>
</macro>
<macro name= "voicemail_say_message_number" >
<input pattern= "^([a-z]+):(.*)$" >
<match >
2013-01-07 14:25:52 +00:00
<action function= "speak-text" data= "$1 message number $2." />
2010-08-22 22:18:15 +00:00
</match>
</input>
</macro>
<macro name= "voicemail_say_phone_number" >
<input pattern= "^(.*)$" >
<match >
2013-01-07 14:25:52 +00:00
<action function= "speak-text" data= "$1." />
2010-08-22 22:18:15 +00:00
</match>
</input>
</macro>
<macro name= "voicemail_say_name" >
<input pattern= "^(.*)$" >
<match >
2013-01-07 14:25:52 +00:00
<action function= "speak-text" data= "$1." />
2010-08-22 22:18:15 +00:00
</match>
</input>
</macro>
<macro name= "voicemail_ack" >
<input pattern= "^(.*)$" >
<match >
2013-01-07 14:25:52 +00:00
<action function= "speak-text" data= "message $1" />
2010-08-22 22:18:15 +00:00
</match>
</input>
</macro>
<macro name= "voicemail_say_date" >
<input pattern= "^(.*)$" >
<match >
2013-01-07 14:25:52 +00:00
<action function= "speak-text" data= "${strftime($1|%A, %B %d %Y, %I:%M %p)}" />
2010-08-22 22:18:15 +00:00
</match>
</input>
</macro>
2013-01-07 14:25:52 +00:00
</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:
-->