From: Mathieu Rene Date: Mon, 11 May 2009 00:27:58 +0000 (+0000) Subject: mod_voicemail: expand the right variable X-Git-Tag: v1.0.4~930 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e31d2edef7c2ef9586392ff21d454ad81098de4;p=thirdparty%2Ffreeswitch.git mod_voicemail: expand the right variable git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13272 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/applications/mod_voicemail/mod_voicemail.c b/src/mod/applications/mod_voicemail/mod_voicemail.c index a08097a10f..f2ff641849 100644 --- a/src/mod/applications/mod_voicemail/mod_voicemail.c +++ b/src/mod/applications/mod_voicemail/mod_voicemail.c @@ -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); }