Commit Graph

60 Commits

Author SHA1 Message Date
FusionPBX 824a9f361c
Update fax_send.php 2018-05-02 11:41:52 -06:00
FusionPBX 6b9e8fac2f
Update fax_send.php 2018-02-06 18:24:46 -07:00
Mafoo 9570ce1bf0 Enhance - More messages::add updates (#2662)
convert more messages over to messsagse::add
2017-06-09 20:13:40 -06:00
Harald Gutmann ebb7c2e32b allow page-break on fax_message & fax_footer (#1978) (#2378)
* enable page-breaks on fax messages

* fix footer & allow page break

* update footer placement to work properly on single page
2017-02-16 19:48:17 -07:00
Luis Daniel Lucio Quiroz 83c82f1bbf Be sure FAX path exists before uploading (#2345) 2017-02-07 21:37:48 -07:00
FusionPBX ab5394aba4 Update fax_send.php
Prevent the fax cover page from exceeding 1 page.
2017-01-22 22:34:47 -07:00
FusionPBX 587cdefd0a Update fax_send.php
Fax conversion failed until adding the /tmp as the home directory in this way.
2016-12-17 12:47:38 -07:00
FusionPBX 1efc9e24e7 Update fax_send.php
Adjust the spacing for better consistency matching the rest of the code.
2016-12-02 21:35:40 -07:00
FusionPBX 8445a2bffb Update fax_send.php
Get fax variables from default settings and use them for sending.
2016-11-11 13:19:52 -07:00
Chris Black 26a0a702aa fix fax multiple files. (#1963)
Added some changes from ICR regarding the text/plain emails, added a
uuid to the file name when getting saved to the FS in the event that
multiple emails come in with the same exact file name and also reset
the tif_files in fax_send as it was just adding to the end of the array
and creating bad tiffcp commands.
2016-09-30 15:47:22 -06:00
hargut ceb532eb7e Fix e-mail attachment handling / conversion & allow local emails to be valid (#1921)
* Enable local email addresses to be valid. E.g required for local Fax submission.

* Fix filenames & allow spaces in filenames.

* Fix attachment file names.

* Revert "Fix filenames & allow spaces in filenames."

This reverts commit 0908f42cc7.
See commit ecf490ff79 for the proper fix.
2016-09-19 08:54:58 -06:00
markjcrane 6f2601e32a Use FreeSWITCH to run mkdir so it inherits its own user and group permissions. 2016-06-28 15:18:40 -06:00
Mafoo 59ddf92f1b I got the permissions wrong (#1616)
it should have been in octal mod (leading 0)
also updated the fax application as it needs the stickygid too
2016-05-26 05:55:46 -06:00
Harry G. Coin 91a92d8e5e \r\n --> \n
Cause all the .php files containing lines ending with \r\n to instead end with \n.

DYI with:

find fusionpbx -type f -name '*.php' -exec dos2unix '{}' \;
2016-04-25 20:30:23 -05:00
markjcrane 7d61371bc9 Rename the EventSocket class. 2016-04-02 19:23:16 -06:00
mafoo e410824380 WhitespaceClean-app/batch_2
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 12:01:24 +00:00
Alexey Melnichuk 5cb8aa1d2a Change. `Send` button redirect to `Active` page. 2015-12-09 13:00:42 +03:00
Alexey Melnichuk 32685f7d98 Merge branch 'master' into fax_queue 2015-12-09 12:37:55 +03:00
markjcrane 68bb079781 Remove count($_SESSION["domains"]) > 1 from the as the domain name should always be part of the fax directory path. 2015-12-08 21:59:09 -07:00
FusionPBX 62279c2acc Merge pull request #1280 from moteus/fax_path_domain_name
Change. Use path with domain name for faxes for single tenant installation.
2015-12-04 11:44:33 -07:00
Alexey Melnichuk 5f9554c301 Fix. send fax by user listed in fax server list 2015-12-04 21:14:33 +03:00
Alexey Melnichuk 6fa4da3612 Fix. send fax by user listed in fax server list 2015-12-04 21:09:25 +03:00
Alexey Melnichuk 9568eb43f4 Change. Use path with domain name for faxes for single tenant installation. 2015-12-04 12:57:30 +03:00
Alexey Melnichuk c9be5948c0 Add. Send reply message after fax task done. 2015-11-30 11:57:09 +03:00
markjcrane 331778e36c Correct the primary key of v_fax_tasks table. Coding standards require primary key to remove v_ prefix, singular form and add a _uuid postfix. Result is task_uuid has been changed to fax_task_uuid. 2015-11-25 08:51:54 -07:00
Alexey Melnichuk ef38b27777 Change. Use function to deal with fax_queue in fax_send.php. 2015-11-23 14:57:44 +03:00
Alexey Melnichuk 4219034bf5 Fix. Decode email message from quoted-printable/base64.
Fix. Allow set custom fonts to support non latin alphabet.
2015-11-20 14:45:06 +03:00
Alexey Melnichuk 5e0947813c Add. Supports MySQL/SQLite to fax queue. 2015-11-20 10:38:51 +03:00
Alexey Melnichuk 70ac60caf3 Add. Allow specify DTMF in parentheses in phone number.
E.g. `123456 (PP789)`
2015-11-19 14:30:06 +03:00
Alexey Melnichuk 8abdbf3f0b Add. Web UI to configure fax_queue. 2015-11-18 15:37:41 +03:00
Alexey Melnichuk a10e508972 Fix. multiple calls fax_send caused error.
Fix. require EventSocket implicitly.
Fix. require `test` class.
2015-11-12 14:00:01 +03:00
markjcrane 81917bd977 Remove absolute_codec_string='PCMU,PCMA' as it failed to allow PCMA. 2015-09-30 20:56:59 -06:00
Alexey Melnichuk a6440ac0aa Fix. Send fax via web on Windows.
* tiffXXX utils did not work with paths like `C:/xxx/ddd.tif`
 * using `gswin32c` instead of `gs`
 * using `copy` function instead of `cp` command
2015-07-09 16:12:27 +04:00
Mark Crane 4a67abb23a Remove the default settings fax prefix and move it to the FAX server table. 2015-05-21 03:48:37 +00:00
Mark Crane fce5968566 Add category: fax, subcategory: prefix, type: text and set a value of some kind of prefix. 2015-05-21 03:05:07 +00:00
Nate Jones 95e965b108 Fax: Upgrade script to generate and store meta-data from existing fax files, fix Lua script to insert correct fax file path into db, JavaScript prompt corrections, adjust redirect after send to use new interface, fix delete so files on file system are removed (using path from db), fix paging and sorting on Inbox and Sent, fix TIF to PDF conversion for viewing sent/received faxes (if PDF version not present). 2015-05-09 05:22:29 +00:00
luis daniel lucio quiroz 85d84b11d0 do not change headers, add yours 2015-03-23 01:53:25 +00:00
Nate Jones e575f492d5 Fax Server: Additional checks on folder presence and permissions. 2015-03-22 08:22:51 +00:00
Errol Samuels 747b45f9a0 Fixed problem with accountcode not passing in SIP Header 2015-03-21 09:02:51 +00:00
Nate Jones 561c292ec0 Fax Server: New Fax - Minor layout adjustment for consistency. 2015-02-24 18:39:21 +00:00
Nate Jones bf64ee1c09 Fax Server: Move default FusionPBX cover page logo graphic to resources folder. 2015-02-19 23:55:44 +00:00
luis daniel lucio quiroz 56872c05a2 for_fax now on fax 2015-01-27 14:51:57 +00:00
luis daniel lucio quiroz 226651280e accountcode now on fax, PCMU/A as absolute codec string 2015-01-26 19:54:52 +00:00
Mark Crane 03220c9754 Add the text class to more of the applications. 2015-01-18 10:06:08 +00:00
Nate Jones 8ca42bd67c Fax Server: Included check typo, and pull contact email from contact_emails table. 2014-11-29 15:29:49 +00:00
Nate Jones 6a459dd3b4 Fax Server: Fixed uninitialized variable error. 2014-11-29 13:51:05 +00:00
Nate Jones c3f0a450c2 Fax Server: Send faxes to multiple recipients at once, customizable 'Subject Tag' for Remote Inbox viewing, preparations for Email-to-Fax functionality. 2014-11-29 13:32:42 +00:00
Nate Jones d7180a79f3 Fax Server: Added interface to access (via IMAP or POP3) the inbound fax target email account. Required: PHP IMAP extension (obviously). 2014-11-27 13:37:08 +00:00
Nate Jones 6534872d28 Contacts: Ability to add unlimited Emails and URLs. Ability to specify a primary Email, Address, URL, and Number. Ability to select or define a custom label for Emails, Addresses, URLs, and Numbers (similar to Google Contacts). 2014-11-19 03:44:41 +00:00
Nate Jones f4bda82934 Fax Server: Only display allowed (shared and/or private) contacts in recipient select box when creating a new fax. 2014-10-18 08:58:59 +00:00