mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 19:53:56 +00:00
Copy voicemail to another extension added single quotes to the copy string to help with paths with spaces.
This commit is contained in:
@@ -125,7 +125,7 @@
|
||||
|
||||
--if local after email is true then copy the recording file
|
||||
mkdir(voicemail_dir.."/"..forward_voicemail_id);
|
||||
os.execute("cp "..voicemail_dir.."/"..voicemail_id.."/msg_"..uuid.."."..vm_message_ext.." "..voicemail_dir.."/"..forward_voicemail_id.."/msg_"..uuid.."."..vm_message_ext);
|
||||
os.execute("cp '"..voicemail_dir.."/"..voicemail_id.."/msg_"..uuid.."."..vm_message_ext.."' '"..voicemail_dir.."/"..forward_voicemail_id.."/msg_"..uuid.."."..vm_message_ext.."'");
|
||||
|
||||
--send the email with the voicemail recording attached
|
||||
send_email(forward_voicemail_id, uuid);
|
||||
|
||||
Reference in New Issue
Block a user