]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
You can't prefix this one with MWI as it ends up in the body of the MWI notify causin...
authorBrian West <brian@freeswitch.org>
Tue, 23 Jul 2013 22:22:15 +0000 (17:22 -0500)
committerBrian West <brian@freeswitch.org>
Tue, 23 Jul 2013 22:23:04 +0000 (17:23 -0500)
src/mod/applications/mod_voicemail/mod_voicemail.c

index 0d3a7973a91877dcce30dec9dbd2526a1c93cdf6..41f7cef5d61dcdd7b284a75057143b85351d4cd9 100644 (file)
@@ -1918,7 +1918,7 @@ static void update_mwi(vm_profile_t *profile, const char *id, const char *domain
                yn = "yes";
        }
        switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "MWI-Messages-Waiting", yn);
-       switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "MWI-Update-Reason", update_reason);
+       switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "Update-Reason", update_reason);
        switch_event_add_header(event, SWITCH_STACK_BOTTOM, "MWI-Message-Account", "%s@%s", id, domain_name);
        /* 
        switch_event_add_header(event, SWITCH_STACK_BOTTOM, "MWI-Voice-Message", "%d/%d (%d/%d)", total_new_messages, total_saved_messages,