]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Preliminary work for adding verification of vm password change
authorMichael S Collins <msc@freeswitch.org>
Fri, 27 Jan 2012 18:56:32 +0000 (10:56 -0800)
committerMichael S Collins <msc@freeswitch.org>
Fri, 27 Jan 2012 18:56:32 +0000 (10:56 -0800)
conf/lang/en/vm/sounds.xml
docs/phrase/phrase_en.xml
src/mod/applications/mod_voicemail/mod_voicemail.c

index e58d4904bbb62f4922ab48eebf28e40a87adf145..afff3ebb3fb16b5bf8f1db26ff22b7b9377f99c4 100644 (file)
     </input>
   </macro>
 
+  <macro name="voicemail_change_pass_success">
+    <input pattern="(.*)">
+      <match>
+       <action function="play-file" data="ivr/ivr-Thank_you.wav"/>
+      </match>
+    </input>
+  </macro>
+
   <macro name="voicemail_hello">
     <input pattern="(.*)">
       <match>
index 934d351722962e826e04af7105fc0b2537b9bcfc..d073cf447ab18cc5cb230dfb7e14e42c050ffd09 100644 (file)
       <prompt phrase="Send this caller to voicemail" filename="ivr-send_to_voicemail.wav"/>
       <prompt phrase="To speak to a customer service representative" filename="ivr-speak_to_a_customer_service_representative.wav"/>
       <prompt phrase="Take a message" filename="ivr-take_a_message.wav"/>
-      <prompt phrase="Thank you" filename="ivr-thank_you.wav"/>
       <prompt phrase="That was an invalid entry" filename="ivr-that_was_an_invalid_entry.wav"/>
       <prompt phrase="This is a call from" filename="ivr-this_is_a_call_from.wav"/>
       <prompt phrase="This IVR will let you test some of the features..." filename="ivr-this_ivr_will_let_you_test_features.wav"/>
          <prompt phrase="...other person in this conference." filename="conf-other_person_conference.wav"/>    
          <prompt phrase="...other member in this conference." filename="conf-other_member_conference.wav"/>    
          <prompt phrase="There is..." filename="ivr-there_is.wav"/>    
+         <prompt phrase="That number is on the Do Not Call list." filename="ivr-do_not_call_list.wav"/>        
+         <prompt phrase="The call attempt has been aborted." filename="ivr-call_attempt_aborted.wav"/> 
          <prompt phrase="" filename=""/>       
     </ivr>
     <misc>
index d8fbee8e6bf92a238212bdc78687546f685e504c..146a712dddb8e6ca066cb5f390ee6b6bd6816a85 100644 (file)
@@ -989,6 +989,7 @@ typedef enum {
 #define VM_ENTER_ID_MACRO "voicemail_enter_id"
 #define VM_ENTER_PASS_MACRO "voicemail_enter_pass"
 #define VM_FAIL_AUTH_MACRO "voicemail_fail_auth"
+#define VM_CHANGE_PASS_SUCCESS_MACRO "voicemail_change_pass_success"
 #define VM_ABORT_MACRO "voicemail_abort"
 #define VM_HELLO_MACRO "voicemail_hello"
 #define VM_GOODBYE_MACRO "voicemail_goodbye"
@@ -2201,6 +2202,7 @@ static void voicemail_check_main(switch_core_session_t *session, vm_profile_t *p
                                                        switch_safe_free(file_path);
                                                        switch_safe_free(sql);
                                                        ok = 1;
+                                                       /* add feedback for user - let him/her know that password change was successful */
                                                }
                                        
                                                switch_event_destroy(&params);