Skip to content

show php when sending fax on the web ui #1

@bbrendon

Description

@bbrendon

Using Freepbx 2.11.0.23.
After clicking send, i get a page (URL .../sendfax.php) with contents like:

Web FAX for Asterisk

asterisk ALL=(ALL) NOPASSWD: /usr/bin/wvPDF (for whatever the apache user is) $wv_command = "sudo /usr/bin/wvPDF $input_file_doc $input_file" ; // echo "
executing : ". $wv_command . "
\n"; $wv_command_output = system($wv_command, $retval); // echo $wv_command_output; if ($retval != 0) { echo "There was an error converting your DOC file to PDF. Try uploading the file again or with an older version of PDF"; $error = $ERROR_CONVERTING_DOCUMENT; $doc_convert_output = $wv_command_output; // die(); }else{ // set the input file type to .pdf now as it's converted $input_file_type = "pdf"; } } else{ echo "There was an error uploading the file, please try again!"; } } // END DOC file detected // IF it was originally a PDF if ($ext == "pd
....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions