[4.5] Fix fax email Subject when not using sofia/gatewa (#5204)

Same as 4.4
This commit is contained in:
Luis Daniel Lucio Quiroz
2020-03-25 17:45:15 -04:00
committed by GitHub
parent f4a4879e50
commit 296fdead32

View File

@@ -315,7 +315,10 @@
uri_array = explode("/",fax_uri);
number_dialed = uri_array[4];
if (number_dialed == nil) then
number_dialed = '0';
number_dialed = uri_array[3];
if (number_dialed == nil) then
number_dialed = '0';
end
end
--do not use apostrophies in message, they are not escaped and the mail will fail.