FS-5797 --resolve

This commit is contained in:
Anthony Minessale 2013-09-17 13:34:50 -05:00
parent 507008ac11
commit 8885ba1c7b
1 changed files with 4 additions and 3 deletions

View File

@ -3079,7 +3079,7 @@ static switch_status_t deliver_vm(vm_profile_t *profile,
for (vm_cc_i=0; vm_cc_i<vm_cc_num; vm_cc_i++) { for (vm_cc_i=0; vm_cc_i<vm_cc_num; vm_cc_i++) {
const char *vm_cc_current = vm_cc_list[vm_cc_i]; const char *vm_cc_current = vm_cc_list[vm_cc_i];
char *cmd = switch_core_session_sprintf(session, "%s %s %s '%s' %s@%s %s", char *cmd = switch_mprintf("%s %s %s '%s' %s@%s %s",
vm_cc_current, file_path, caller_id_number, vm_cc_current, file_path, caller_id_number,
caller_id_name, myid, domain_name, read_flags); caller_id_name, myid, domain_name, read_flags);
@ -3088,6 +3088,7 @@ static switch_status_t deliver_vm(vm_profile_t *profile,
} else { } else {
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR, "Failed to Carbon Copy to %s\n", vm_cc_current); switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR, "Failed to Carbon Copy to %s\n", vm_cc_current);
} }
switch_safe_free(cmd);
} }
switch_safe_free(vm_cc_dup); switch_safe_free(vm_cc_dup);