It has a correction that I first posted on the trixbox site many months ago but it never caught up to the final set of corrections. So I thought I'd also post them here.
Sorry I'm not sure of the proper format so. I'll try and make this simple...
Edit the fax-process.pl script.
Search for the line: "# Convert %20 to spaces, leave anythign else alone."
remove that line and the following one (should be line 54 and 55).
Replace with the following lines:
# Convert %2x to proper characters, leave anything else alone.
$subject =~ s/\%20/ /g;
$subject =~ s/\%21/\!/g;
$subject =~ s/\%22/\"/g;
$subject =~ s/\%23/\#/g;
$subject =~ s/\%24/\$/g;
$subject =~ s/\%25/\%/g;
$subject =~ s/\%26/\&/g;
$subject =~ s/\%27/\'/g;
$subject =~ s/\%28/\(/g;
$subject =~ s/\%29/\)/g;
$subject =~ s/\%2a/\*/g;
$subject =~ s/\%2A/\*/g;
$subject =~ s/\%2b/\+/g;
$subject =~ s/\%2B/\+/g;
$subject =~ s/\%2c/\,/g;
$subject =~ s/\%2C/\,/g;
$subject =~ s/\%2d/\-/g;
$subject =~ s/\%2D/\-/g;
$subject =~ s/\%2e/\./g;
$subject =~ s/\%2E/\./g;
$subject =~ s/\%2f/\//g;
$subject =~ s/\%2F/\//g;
This will translate any of the special characters that I've seen to date in any fax DID line back to the proper ASCII characters. Yes I'm also sure there is a better and more efficient way to do it in a loop with a string array (or convert the hex to it's number, then convert that to a character, but I don't do Perl, so I hacked it this way to work.
Enjoy.
Thanks to Rob Thomas for all his great work on the original script.