提交 315e7c14 authored 作者: Brian West's avatar Brian West

thanks stkn

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5946 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 71122959
<include><!--This line will be ignored it's here to validate the xml and is optional -->
<macro name="msgcount">
<input pattern="(.*)">
<match>
<action function="execute" data="sleep(1000)"/>
<action function="play-file" data="vm-youhave.wav"/>
<action function="say" data="$1" method="pronounced" type="items"/>
<action function="play-file" data="vm-messages.wav"/>
<!-- or -->
<!--<action function="speak-text" data="Sie haben $1 Nachrichten"/>-->
</match>
</input>
</macro>
<macro name="saydate">
<input pattern="(.*)">
<match>
<action function="say" data="$1" method="pronounced" type="current_date_time"/>
</match>
</input>
</macro>
<macro name="timespec">
<input pattern="(.*)">
<match>
<action function="say" data="$1" method="pronounced" type="time_measurement"/>
</match>
</input>
</macro>
<macro name="ip-addr">
<input pattern="(.*)">
<match>
<action function="say" data="$1" method="iterated" type="ip_address"/>
<action function="say" data="$1" method="pronounced" type="ip_address"/>
</match>
</input>
</macro>
<macro name="spell">
<input pattern="(.*)">
<match>
<action function="say" data="$1" method="pronounced" type="name_spelled"/>
</match>
</input>
</macro>
<macro name="spell-phonetic">
<input pattern="(.*)">
<match>
<action function="say" data="$1" method="pronounced" type="name_phonetic"/>
</match>
</input>
</macro>
<macro name="tts-timeleft">
<!-- The parser will visit each <input> tag and execute the actions in <match> or <nomatch> depending on the pattern param -->
<!-- If the function "break" is encountered all parsing will cease -->
<input pattern="(\d+):(\d+)">
<match>
<action function="speak-text" data="Sie haben $1 Minuten, $2 Sekunden übrig $strftime(%Y-%m-%d)"/>
<action function="break"/>
</match>
<nomatch>
<action function="speak-text" data="Die Eingabe war ungültig."/>
</nomatch>
</input>
<input pattern="(\d+) min (\d+) sek">
<match>
<action function="speak-text" data="Sie haben $1 Minuten, $2 Sekunden übrig $strftime(%Y-%m-%d)"/>
</match>
<nomatch>
<action function="speak-text" data="Die Eingabe war ungültig."/>
</nomatch>
</input>
</macro>
</include><!--This line will be ignored it's here to validate the xml and is optional -->
<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="speak-text" data="Bitte geben Sie Ihren Benutzernamen ein, gefolgt von $1."/>
</match>
</input>
</macro>
<macro name="voicemail_enter_pass">
<input pattern="(.*)">
<match>
<action function="speak-text" data="Bitte geben Sie Ihr Passwort ein, gefolgt von $1."/>
</match>
</input>
</macro>
<macro name="voicemail_fail_auth">
<input pattern="(.*)">
<match>
<action function="speak-text" data="Falsche Benutzerdaten."/>
</match>
</input>
</macro>
<macro name="voicemail_hello">
<input pattern="(.*)">
<match>
<action function="speak-text" data="Willkommen in Ihrem Postfach."/>
</match>
</input>
</macro>
<macro name="voicemail_goodbye">
<input pattern="(.*)">
<match>
<action function="speak-text" data="Auf Wiedersehen."/>
</match>
</input>
</macro>
<macro name="voicemail_abort">
<input pattern="(.*)">
<match>
<action function="speak-text" data="Zu viele Fehlversuche."/>
</match>
</input>
</macro>
<macro name="voicemail_message_count">
<input pattern="^([^:]+):([^:]+):{0,1}(.*)">
<match>
<!--
This would need support from mod_voicemail.c, german plural for messages is "Nachrichten", singular is "Nachricht"
numbers are a bit different too,,, "eine Nachricht" vs. "eins" (= the number "one")
<action function="speak-text" data="Sie haben $1 $2 Nachricht$3 im Ordner ${voicemail_current_folder}."/>
-->
<action function="speak-text" data="Sie haben $1 $2 Nachrichten im Ordner ${voicemail_current_folder}."/>
</match>
</input>
</macro>
<macro name="voicemail_menu">
<input pattern="^([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*])$">
<match>
<action function="speak-text"
data="Um neue Nachrichten zu hren, drcken Sie $1. Um gespeicherte Nachrichten zu hren, drcken Sie $2, Fr erweiterte Optionen, drcken Sie $3. Zum beenden drcken Sie $4."/>
</match>
</input>
</macro>
<macro name="voicemail_config_menu">
<input pattern="^([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*])$">
<match>
<action function="speak-text"
data="Um eine Ansage aufzunehmen, drcken Sie $1. Um eine Ansage auszuwhlen, drcken Sie $2. Um ihren Namen aufzunehmen, drcken Sie $3. Um zum Hauptmen zurckzukehren, drcken Sie $4."/>
</match>
</input>
</macro>
<macro name="voicemail_record_name">
<input pattern="^(.*)$">
<match>
<action function="speak-text" data="Sprechen Sie Ihren Namen nach dem Ton, drcken Sie eine beliebige Taste oder hren Sie auf zu sprechen um die Aufnahme zu beenden."/>
</match>
</input>
</macro>
<macro name="voicemail_record_file_check">
<input pattern="^([0-9#*]):([0-9#*]):([0-9#*])$">
<match>
<action function="speak-text"
data="Um die Aufzeichnung anzuhren, drcken Sie $1. Um die Aufzeichnung zu speichern, drcken Sie $2. Fr eine erneute Aufnahme drcken Sie $3."/>
</match>
</input>
</macro>
<macro name="voicemail_record_urgent_check">
<input pattern="^([0-9#*]):([0-9#*])$">
<match>
<action function="speak-text"
data="Drcken Sie $1 um diese Nachricht als wichtig zu markieren. Um fortzufahren drcken Sie $2."/>
</match>
</input>
</macro>
<macro name="voicemail_listen_file_check">
<input pattern="^([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*])$">
<match>
<action function="speak-text"
data="Drcken Sie $1 um die Nachricht erneut zu hren. Um die Nachricht zu speichern, drcken Sie $2. Zum lschen der Nachricht drcken Sie $3. Fr die Weiterleitung als Email, drcken Sie $4."/>
</match>
</input>
</macro>
<macro name="voicemail_choose_greeting">
<input pattern="^(.*)$">
<match>
<action function="speak-text" data="Whlen Sie eine Ansage zwischen 1 und 3."/>
</match>
</input>
</macro>
<macro name="voicemail_choose_greeting_fail">
<input pattern="^(.*)$">
<match>
<action function="speak-text" data="Ungltige Eingabe."/>
</match>
</input>
</macro>
<macro name="voicemail_record_greeting">
<input pattern="^(.*)$">
<match>
<action function="speak-text" data="Zeichnen Sie Ihre Ansage nach dem Ton auf. Drcken Sie eine beliebige Taste oder hren Sie auf zu sprechen um die Aufnahme zu beenden."/>
</match>
</input>
</macro>
<macro name="voicemail_record_message">
<input pattern="^(.*)$">
<match>
<action function="speak-text" data="Sprechen Sie nach dem Ton. Drcken Sie eine beliebige Taste oder hren Sie auf zu sprechen um die Aufnahme zu beenden."/>
</match>
</input>
</macro>
<macro name="voicemail_greeting_selected">
<input pattern="^(.*)$">
<match>
<action function="speak-text" data="Ansage $1 ausgewhlt."/>
</match>
</input>
</macro>
<macro name="voicemail_play_greeting">
<input pattern="^(.*)$">
<match>
<action function="speak-text" data="$1 ist nicht verfgbar."/>
</match>
</input>
</macro>
<macro name="voicemail_say_number">
<input pattern="^(.*)$">
<match>
<action function="speak-text" data="$1"/>
</match>
</input>
</macro>
<macro name="voicemail_say_message_number">
<input pattern="^([a-z]+):(.*)$">
<match>
<action function="speak-text" data="$1 Nachricht Nummer $2."/>
</match>
</input>
</macro>
<macro name="voicemail_say_phone_number">
<input pattern="^(.*)$">
<match>
<action function="speak-text" data="$1."/>
</match>
</input>
</macro>
<macro name="voicemail_say_name">
<input pattern="^(.*)$">
<match>
<action function="speak-text" data="$1."/>
</match>
</input>
</macro>
<macro name="voicemail_ack">
<input pattern="^(.*)$">
<match>
<action function="speak-text" data="Nachricht $1"/>
</match>
</input>
</macro>
<macro name="voicemail_say_date">
<input pattern="^(.*)$">
<match>
<action function="speak-text" data="$strftime($1|%A, %B %d %Y, %I %M %p)"/>
</match>
</input>
</macro>
</include><!--This line will be ignored it's here to validate the xml and is optional -->
<language>
<de>
<ascii>
<prompt phrase="Leerzeichen" filename="32.wav"/>
<prompt phrase="Raute" filename="35.wav"/>
<prompt phrase="Stern" filename="42.wav"/>
<prompt phrase="Punkt" filename="46.wav"/>
<prompt phrase="A" filename="97.wav"/>
<prompt phrase="B" filename="98.wav"/>
<prompt phrase="C" filename="99.wav"/>
<prompt phrase="D" filename="100.wav"/>
<prompt phrase="E" filename="101.wav"/>
<prompt phrase="F" filename="102.wav"/>
<prompt phrase="G" filename="103.wav"/>
<prompt phrase="H" filename="104.wav"/>
<prompt phrase="I" filename="105.wav"/>
<prompt phrase="J" filename="106.wav"/>
<prompt phrase="K" filename="107.wav"/>
<prompt phrase="L" filename="108.wav"/>
<prompt phrase="M" filename="109.wav"/>
<prompt phrase="N" filename="110.wav"/>
<prompt phrase="O" filename="111.wav"/>
<prompt phrase="P" filename="112.wav"/>
<prompt phrase="Q" filename="113.wav"/>
<prompt phrase="R" filename="114.wav"/>
<prompt phrase="S" filename="115.wav"/>
<prompt phrase="T" filename="116.wav"/>
<prompt phrase="U" filename="117.wav"/>
<prompt phrase="V" filename="118.wav"/>
<prompt phrase="W" filename="119.wav"/>
<prompt phrase="X" filename="120.wav"/>
<prompt phrase="Y" filename="121.wav"/>
<prompt phrase="Z" filename="122.wav"/>
</ascii>
<phonetic-ascii>
<!-- reference: http://www.bmi.gv.at/oeffentlsicherheit/2006/11_12/Buchstabieren.pdf -->
<prompt phrase="Leerzeichen" filename="32.wav"/>
<prompt phrase="Punkt" filename="46.wav"/>
<prompt phrase="Anton" filename="97.wav"/>
<prompt phrase="Berta" filename="98.wav"/>
<prompt phrase="Csar" filename="99.wav"/>
<prompt phrase="Dora" filename="100.wav"/>
<prompt phrase="Emil" filename="101.wav"/>
<prompt phrase="Friedrich" filename="102.wav"/>
<prompt phrase="Gustav" filename="103.wav"/>
<prompt phrase="Heinrich" filename="104.wav"/>
<prompt phrase="Ida" filename="105.wav"/>
<prompt phrase="Julius" filename="106.wav"/>
<prompt phrase="Kaufmann" filename="107.wav"/>
<prompt phrase="Ludwig" filename="108.wav"/>
<prompt phrase="Martha" filename="109.wav"/>
<prompt phrase="Nordpol" filename="110.wav"/>
<prompt phrase="Otto" filename="111.wav"/>
<prompt phrase="Paule" filename="112.wav"/>
<prompt phrase="Quelle" filename="113.wav"/>
<prompt phrase="Richard" filename="114.wav"/>
<prompt phrase="Samuel" filename="115.wav"/>
<prompt phrase="Theodor" filename="116.wav"/>
<prompt phrase="Ulrich" filename="117.wav"/>
<prompt phrase="Viktor" filename="118.wav"/>
<prompt phrase="Wilhelm" filename="119.wav"/>
<prompt phrase="Xanthippe" filename="120.wav"/>
<prompt phrase="Ypsilon" filename="121.wav"/>
<prompt phrase="Zacharias" filename="122.wav"/>
<!-- additional -->
<prompt phrase="rger" filename="200.wav"/>
<prompt phrase="konom" filename="201.wav"/>
<prompt phrase="bermut" filename="202.wav"/>
<prompt phrase="Eszet" filename="203.wav"/>
</phonetic-ascii>
<digits>
<prompt phrase="Null" filename="0.wav"/>
<prompt phrase="Eins" filename="1.wav"/>
<prompt phrase="Zwei" filename="2.wav"/>
<prompt phrase="Drei" filename="3.wav"/>
<prompt phrase="Vier" filename="4.wav"/>
<prompt phrase="Fnf" filename="5.wav"/>
<prompt phrase="Sechs" filename="6.wav"/>
<prompt phrase="Sieben" filename="7.wav"/>
<prompt phrase="Acht" filename="8.wav"/>
<prompt phrase="Neun" filename="9.wav"/>
<prompt phrase="Zehn" filename="10.wav"/>
<prompt phrase="Elf" filename="11.wav"/>
<prompt phrase="Zwlf" filename="12.wav"/>
<prompt phrase="Dreizehn" filename="13.wav"/>
<prompt phrase="Vierzehn" filename="14.wav"/>
<prompt phrase="Fnfzehn" filename="15.wav"/>
<prompt phrase="Sechzehn" filename="16.wav"/>
<prompt phrase="Siebzehn" filename="17.wav"/>
<prompt phrase="Achtzehn" filename="18.wav"/>
<prompt phrase="Neunzehn" filename="19.wav"/>
<prompt phrase="Zwanzig" filename="20.wav"/>
<prompt phrase="Dreissig" filename="30.wav"/>
<prompt phrase="Vierzig" filename="40.wav"/>
<prompt phrase="Fnfzig" filename="50.wav"/>
<prompt phrase="Sechzig" filename="60.wav"/>
<prompt phrase="Siebzig" filename="70.wav"/>
<prompt phrase="Achtzig" filename="80.wav"/>
<prompt phrase="Neunzig" filename="90.wav"/>
<prompt phrase="Punkt" filename="dot.wav"/>
<prompt phrase="Erstes" filename="h-1.wav"/>
<prompt phrase="Zweites" filename="h-2.wav"/>
<prompt phrase="Drittes" filename="h-3.wav"/>
<prompt phrase="Viertes" filename="h-4.wav"/>
<prompt phrase="Fnftes" filename="h-5.wav"/>
<prompt phrase="Sechstes" filename="h-6.wav"/>
<prompt phrase="Siebtes" filename="h-7.wav"/>
<prompt phrase="Achtes" filename="h-8.wav"/>
<prompt phrase="Neuntes" filename="h-9.wav"/>
<prompt phrase="Zehntes" filename="h-10.wav"/>
<prompt phrase="Elftes" filename="h-11.wav"/>
<prompt phrase="Zwlftes" filename="h-12.wav"/>
<prompt phrase="Dreizehntes" filename="h-13.wav"/>
<prompt phrase="Vierzehntes" filename="h-14.wav"/>
<prompt phrase="Fnfzehntes" filename="h-15.wav"/>
<prompt phrase="Sechzehntes" filename="h-16.wav"/>
<prompt phrase="Siebzehntes" filename="h-17.wav"/>
<prompt phrase="Achtzehntes" filename="h-18.wav"/>
<prompt phrase="Neunzehntes" filename="h-19.wav"/>
<prompt phrase="Zwanzigstes" filename="h-20.wav"/>
<prompt phrase="Dreissigstes" filename="h-30.wav"/>
<prompt phrase="Hundert" filename="hundred.wav"/>
<prompt phrase="Millionen" filename="million.wav"/>
<prompt phrase="Komma" filename="period.wav"/>
<prompt phrase="Punkt" filename="point.wav"/>
<prompt phrase="Raute" filename="pound.wav"/>
<prompt phrase="Stern" filename="star.wav"/>
<prompt phrase="Tausend" filename="thousand.wav"/>
</digits>
<currency>
<prompt phrase="Und" filename="and.wav"/>
<prompt phrase="Cent" filename="cent.wav"/>
<!-- vvv ??? -->
<prompt phrase="Zentral" filename="central.wav"/>
<prompt phrase="Cent pro Minute" filename="cents-per-minute.wav"/>
<prompt phrase="Cent" filename="cents.wav"/>
<prompt phrase="Euro" filename="dollar.wav"/>
<prompt phrase="Euro" filename="dollars.wav"/>
<prompt phrase="Minus" filename="minus.wav"/>
<prompt phrase="Negativ" filename="negative.wav"/>
</currency>
<time>
<prompt phrase="A.M." filename="a-m.wav"/>
<prompt phrase="um" filename="at.wav"/>
<prompt phrase="Sonntag" filename="day-0.wav"/>
<prompt phrase="Montag" filename="day-1.wav"/>
<prompt phrase="Dienstag" filename="day-2.wav"/>
<prompt phrase="Mittwoch" filename="day-3.wav"/>
<prompt phrase="Donnerstag" filename="day-4.wav"/>
<prompt phrase="Freitag" filename="day-5.wav"/>
<prompt phrase="Samstag" filename="day-6.wav"/>
<prompt phrase="Stunde" filename="hour.wav"/>
<prompt phrase="Stunden" filename="hours.wav"/>
<prompt phrase="Minute" filename="minute.wav"/>
<prompt phrase="Minuten" filename="minutes.wav"/>
<prompt phrase="Januar" filename="mon-0.wav"/>
<prompt phrase="Febuar" filename="mon-1.wav"/>
<prompt phrase="Mrz" filename="mon-2.wav"/>
<prompt phrase="April" filename="mon-3.wav"/>
<prompt phrase="Mai" filename="mon-4.wav"/>
<prompt phrase="Juni" filename="mon-5.wav"/>
<prompt phrase="Juli" filename="mon-6.wav"/>
<prompt phrase="August" filename="mon-7.wav"/>
<prompt phrase="September" filename="mon-8.wav"/>
<prompt phrase="Oktober" filename="mon-9.wav"/>
<prompt phrase="November" filename="mon-10.wav"/>
<prompt phrase="Dezember" filename="mon-11.wav"/>
<prompt phrase="Uhr" filename="oclock.wav"/>
<prompt phrase="oh" filename="oh.wav"/>
<prompt phrase="P.M." filename="p-m.wav"/>
<prompt phrase="Sekunde" filename="second.wav"/>
<prompt phrase="Sekunden" filename="seconds.wav"/>
<prompt phrase="Heute" filename="today.wav"/>
<prompt phrase="Morgen" filename="tomorrow.wav"/>
<prompt phrase="Gestern" filename="yesterday.wav"/>
</time>
<voicemail>
<prompt phrase="Sie haben" filename="vm-you_have.wav"/>
<prompt phrase="Bitte geben Sie Ihren Benutzernamen ein, gefolgt von" filename="vm-enter_id.wav"/>
<prompt phrase="Bitte geben Sie Ihr Passwort ein, gefolgt von" filename="vm-enter_pass.wav"/>
<prompt phrase="Benutzerdaten falsch" filename="vm-fail_auth.wav"/>
<prompt phrase="Willkommen in Ihrem Postfach" filename="vm-hello.wav"/>
<prompt phrase="Auf Wiedersehen" filename="vm-goodbye.wav"/>
<prompt phrase="Sagen Sie Ihren Namen nach dem Ton, drcken Sie eine beliebige Taste oder hren Sie auf zu sprechen um die Aufnahme zu beenden." filename="vm-record_name1.wav"/>
<prompt phrase="Whlen Sie eine Ansage zwischen 1 und 3" filename="vm-choose_greeting.wav"/>
<prompt phrase="Ungltige Eingabe" filename="vm-choose_greeting_fail.wav"/>
<prompt phrase="Zu viele Fehlversuche" filename="vm-abort.wav"/>
<prompt phrase="Sprechen Sie nach dem Ton. Drcken Sie eine beliebige Taste oder hren Sie auf zu sprechen um die Aufnahme zu beenden" filename="vm-record_greeting.wav"/>
<prompt phrase="Sprechen Sie nach dem Ton. Drcken Sie eine beliebige Taste oder hren Sie auf zu sprechen um die Aufnahme zu beenden" filename="vm-record_message.wav"/>
<prompt phrase="ist nicht verfgbar" filename="vm-play_greeting.wav"/>
<prompt phrase="dringend, neu" filename="vm-urgent-new.wav"/>
<prompt phrase="neu" filename="vm-new.wav"/>
<prompt phrase="dringend, gespeichert" filename="vm-urgent-saved.wav"/>
<prompt phrase="gespeichert" filename="vm-saved.wav"/>
<prompt phrase="Nachricht" filename="vm-message.wav"/>
<prompt phrase="Nachrichten" filename="vm-messages.wav"/>
<prompt phrase="drcken Sie" filename="vm-press.wav"/>
<prompt phrase="zum anhren neuer Nachrichten" filename="vm-listen_new.wav"/>
<prompt phrase="zum anhren gespeicherter Nachrichten" filename="vm-listen_saved.wav"/>
<prompt phrase="fr erweiterte Optionen" filename="vm-advanced.wav"/>
<prompt phrase="zum verlassen" filename="vm-to_exit.wav"/>
<prompt phrase="zum aufnehmen einer Ansage" filename="vm-record_greeting.wav"/>
<prompt phrase="zum auswhlen einer Ansage" filename="vm-choose_greeting.wav"/>
<prompt phrase="zum aufnehmen Ihres Namens" filename="vm-record_name2.wav"/>
<prompt phrase="fr das Hauptmen" filename="vm-main_menu.wav"/>
<prompt phrase="zum anhren dieser Nachricht" filename="vm-listen_to_recording.wav"/>
<prompt phrase="zum speichern der Nachricht" filename="vm-save_recording.wav"/>
<prompt phrase="zum erneuten Aufnehmen" filename="vm-rerecord.wav"/>
<prompt phrase="um diese Nachricht als dringen zu markieren" filename="vm-mark_urgent.wav"/>
<prompt phrase="zum Fortfahren" filename="vm-continue.wav"/>
<prompt phrase="zum erneuten anhren dieser Nachricht" filename="vm-listen_to_recording_again.wav"/>
<prompt phrase="zum lschen dieser Nachricht" filename="vm-delete_recording.wav"/>
<prompt phrase="um diese Nachricht an Ihre EMailadresse weiter zu leiten" filename="vm-forward_to_email.wav"/>
<prompt phrase="Ansage" filename="vm-greeting.wav"/>
<prompt phrase="ausgewhlt" filename="vm-selected.wav"/>
<prompt phrase="ist nicht verfgbar" filename="vm-not_avaliable.wav"/>
<prompt phrase="Nachricht nummer" filename="vm-message_number.wav"/>
<prompt phrase="gelscht" filename="vm-deleted.wav"/>
</voicemail>
</de>
</language>
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论