]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-4736 --resolve
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 19 Oct 2012 21:29:43 +0000 (17:29 -0400)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 19 Oct 2012 21:29:43 +0000 (17:29 -0400)
src/mod/applications/mod_voicemail/mod_voicemail.c

index fabe6e32d1b960846791d4b77a1f4e0f767ed420..8e58bfbac5d654a0ca45c47d1f996e35ef5615e2 100644 (file)
@@ -2786,6 +2786,9 @@ static switch_status_t deliver_vm(vm_profile_t *profile,
                if (vm_email) {
                        switch_event_add_header_string(params, SWITCH_STACK_BOTTOM, "voicemail_email", vm_email);
                }
+               if (vm_email_from) {
+                       switch_event_add_header_string(params, SWITCH_STACK_BOTTOM, "voicemail_email_from", vm_email_from);
+               }
                if (vm_notify_email) {
                        switch_event_add_header_string(params, SWITCH_STACK_BOTTOM, "voicemail_notify_email", vm_notify_email);
                }