diff options
-rw-r--r-- | misc/freeswitch/conf/freeswitch.xml | 28 |
1 files changed, 6 insertions, 22 deletions
diff --git a/misc/freeswitch/conf/freeswitch.xml b/misc/freeswitch/conf/freeswitch.xml index 3190577..0a6538e 100644 --- a/misc/freeswitch/conf/freeswitch.xml +++ b/misc/freeswitch/conf/freeswitch.xml @@ -160,27 +160,19 @@ </input> </macro> <macro name="voicemail_config_menu"> - <input pattern="^([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*])$"> + <input pattern="^([0-9#*]):([0-9#*]):([0-9#*])$"> <match> <action function="play-file" data="voicemail/vm-to_record_greeting.wav"/> <action function="play-file" data="voicemail/vm-press.wav"/> <action function="say" data="$1" method="pronounced" type="name_spelled"/> <action function="execute" data="sleep(100)"/> - <action function="play-file" data="voicemail/vm-choose_greeting.wav"/> - <action function="play-file" data="voicemail/vm-press.wav"/> - <action function="say" data="$2" method="pronounced" type="name_spelled"/> - <action function="execute" data="sleep(100)"/> - <action function="play-file" data="voicemail/vm-record_name2.wav"/> - <action function="play-file" data="voicemail/vm-press.wav"/> - <action function="say" data="$3" method="pronounced" type="name_spelled"/> - <action function="execute" data="sleep(100)"/> <action function="play-file" data="voicemail/vm-change_password.wav"/> <action function="play-file" data="voicemail/vm-press.wav"/> - <action function="say" data="$4" method="pronounced" type="name_spelled"/> + <action function="say" data="$2" method="pronounced" type="name_spelled"/> <action function="execute" data="sleep(100)"/> <action function="play-file" data="voicemail/vm-main_menu.wav"/> <action function="play-file" data="voicemail/vm-press.wav"/> - <action function="say" data="$5" method="pronounced" type="name_spelled"/> + <action function="say" data="$3" method="pronounced" type="name_spelled"/> </match> </input> </macro> @@ -758,27 +750,19 @@ </input> </macro> <macro name="voicemail_config_menu"> - <input pattern="^([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*])$"> + <input pattern="^([0-9#*]):([0-9#*]):([0-9#*])$"> <match> <action function="play-file" data="voicemail/vm-to_record_greeting.wav"/> <action function="play-file" data="voicemail/vm-press.wav"/> <action function="say" data="$1" method="pronounced" type="name_spelled"/> <action function="execute" data="sleep(100)"/> - <action function="play-file" data="voicemail/vm-choose_greeting.wav"/> - <action function="play-file" data="voicemail/vm-press.wav"/> - <action function="say" data="$2" method="pronounced" type="name_spelled"/> - <action function="execute" data="sleep(100)"/> - <action function="play-file" data="voicemail/vm-record_name2.wav"/> - <action function="play-file" data="voicemail/vm-press.wav"/> - <action function="say" data="$3" method="pronounced" type="name_spelled"/> - <action function="execute" data="sleep(100)"/> <action function="play-file" data="voicemail/vm-change_password.wav"/> <action function="play-file" data="voicemail/vm-press.wav"/> - <action function="say" data="$4" method="pronounced" type="name_spelled"/> + <action function="say" data="$2" method="pronounced" type="name_spelled"/> <action function="execute" data="sleep(100)"/> <action function="play-file" data="voicemail/vm-main_menu.wav"/> <action function="play-file" data="voicemail/vm-press.wav"/> - <action function="say" data="$5" method="pronounced" type="name_spelled"/> + <action function="say" data="$3" method="pronounced" type="name_spelled"/> </match> </input> </macro> |