Please do further testing/review and give comments and suggest cleanup, etc. This bug is only tripped if all of the following are true: a) fax send fails b) email notification of fax failure also fails c) Other? how to test - have a 100% working fax to email setup. - Change Advanced->defaults->email and set the port to be something invalid. - e.g. smtp port 9999 is invalid - send a test fax to something without a fax - e.g. I just faxed my own DID which does NOT have fax answering - each time the phone rings answer...wait 5 seconds, and then hang up - note: it will retry sending the fax 5 times so repeat the above. - on the last try it will give up, and try to send the failure email - the email will fail (bad port) and then it will insert the failed email into v_emails - the insert will fail and nothing in v_emails Error was caused by trying to insert '' into the domain_uuid field. '' is invalid in a uuid field, but null is okay. The null is caused by no x-headers being passed. So these two fields end up null: $headers["X-FusionPBX-Domain-UUID"] $headers["X-FusionPBX-Email-Type"] Ignoring unset/uninitialized variables hides bugs. Fix: feed the X-Header in the calling lua code. |
||
|---|---|---|
| app | ||
| core | ||
| resources | ||
| secure | ||
| themes/default | ||
| .gitignore | ||
| .htaccess | ||
| .project | ||
| README.md | ||
| index.php | ||
| login.php | ||
| logout.php | ||
| project_root.php | ||
| root.php | ||
README.md
What is FusionPBX?
FusionPBX is a flexible, customizable administration web GUI that takes FreeSwitch and converts it into a single- or multi-tenant gateway or PBX system out of the box. It can be run on any operating system and x86-based hardware of your choice. It provides the functionality your business needs and brings corporate-level phone system features to small, medium, and large businesses. Read more at FusionPBX. Please visit our youtube channel
In addition to providing all of the usual PBX functionality, FusionPBX allows you to configure:
- Multi-Tenant
- Unlimited Extensions
- Voicemail-to-Email
- Music on Hold
- Call Parking
- Automatic Call Distribution
- Interactive Voice Response
- Ring Groups
- Find Me / Follow Me
- Dialplan Features that can be endlessly combined for your preferences
- Many other Features
Free Support
We provide several avenues for you to get your system up and running on your own and learn the basics of the system.
- Youtube Channel
- Documentation
- How to Contribute
- IRC in the #fusionpbx channel
Commercial Support
These options support the project and cover any kind of help you might need from architecture, installation, best practices, troubleshooting, custom feature programming, and training.
- Commercial Paid Support
- Custom Feature Development
- Admin Training
- Advanced Training
- Developer Training
Software Requirements
- Debian Jessie - Recommended This is the distribution recommended by the FreeSwitch team
- Fusion will also install on Debian Wheezy, Ubuntu 10.10 LTS and is known to work on FreeBSD
- FusionPBX Installer
Community
We have a pretty thriving community. You can find us here:
Contributing
###Requirements It's easy to contribute to FusionPBX the only thing we ask before accepting your pull request is that you sign a Contributor License Agreement. We ask that you sign the Contributor License Agreement for the following reasons:
- It protects FusionPBX by you gauranteeing that your contributions are yours to contribute and not the property of an employer or something found on the web.
- It protects you from using code that belongs to others that is subject unfriendly licensing.
How to Contribute
- The Quick Way - Step by step instructions to contribute to FusionPBX with links to our CLA and how to submit pull requests.
- The FusionPBX Contribution Site - The full repo with more information for the curious.
How to Install FusionPBX
- As root do the following:
apt-get update && apt-get upgrade && apt-get install -y git
cd /usr/src
git clone https://github.com/fusionpbx/fusionpbx-install.sh.git
chmod 755 -R /usr/src/fusionpbx-install.sh
cd /usr/src/fusionpbx-install.sh/debian
./install.sh
This install script is designed to be an fast, simple, and in a modular way to install FusionPBX. Start with a minimal install of Debian 8 with SSH enabled. Run the following commands under root. The script installs FusionPBX, FreeSWITCH release package and its dependencies, IPTables, Fail2ban, NGINX, PHP FPM and PostgreSQL.
Some installations require special considerations. Visit https://github.com/fusionpbx/fusionpbx-install.sh readme section for more details.