]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
mod_voicemail: expand the right variable
authorMathieu Rene <mrene@avgs.ca>
Mon, 11 May 2009 00:27:58 +0000 (00:27 +0000)
committerMathieu Rene <mrene@avgs.ca>
Mon, 11 May 2009 00:27:58 +0000 (00:27 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13272 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_voicemail/mod_voicemail.c

index a08097a10f796a68f5b1a6d1868a9f5f225828c1..f2ff641849fcf7887cbcb9c35a40767dd00dc0bc 100644 (file)
@@ -2521,7 +2521,7 @@ static switch_status_t deliver_vm(vm_profile_t *profile,
                if (switch_strlen_zero(profile->email_from)) {
                        from = switch_core_sprintf(pool, "%s@%s", myid, domain_name);
                } else {
-                       from = switch_event_expand_headers(params, profile->email_headers);
+                       from = switch_event_expand_headers(params, profile->email_from);
                }