From 410cb1a26865fd0721f929091fe2098dc41241da Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sat, 4 Jul 2015 04:16:44 -0600 Subject: [PATCH 1/2] Update confirm.lua Add a domain_name nil check. --- resources/install/scripts/confirm.lua | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/resources/install/scripts/confirm.lua b/resources/install/scripts/confirm.lua index 6aafb066e3..6154979de3 100644 --- a/resources/install/scripts/confirm.lua +++ b/resources/install/scripts/confirm.lua @@ -65,9 +65,11 @@ if (not default_voice) then default_voice = 'callie'; end --if the screen file is found then set confirm to true - call_screen_file = "/tmp/" .. domain_name .. "-" .. caller_id_number .. "." .. record_ext; - if (file_exists(call_screen_file)) then - confirm = "true"; + if (domain_name ~= nil) then + call_screen_file = "/tmp/" .. domain_name .. "-" .. caller_id_number .. "." .. record_ext; + if (file_exists(call_screen_file)) then + confirm = "true"; + end end --confirm the calls @@ -104,4 +106,4 @@ --send to the log --freeswitch.consoleLog("NOTICE", "[confirm] automatically accepted\n"); end - end \ No newline at end of file + end From 76f4a4e1ee71df792b2acce14ece928260a9409b Mon Sep 17 00:00:00 2001 From: Rich Breton Date: Sun, 5 Jul 2015 01:01:37 -0600 Subject: [PATCH 2/2] Update README.md Adding more clarification for contributions --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 5b6f653d5c..3565995baf 100644 --- a/README.md +++ b/README.md @@ -55,12 +55,17 @@ We have a pretty thriving community if you know how to get to us: 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: 1. 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. 2. It protects you from using code that belongs to others that is subject unfriendly licensing. +### How to Contribute +* [The Quick Way](https://github.com/Fusionpbx/opensource/blob/master/sign-cla.md) - Step by step instructions to contribute to FusionPBX with links to our CLA and how to submit pull requests. +* [The FusionPBX Contribution Site](https://github.com/Fusionpbx/opensource) - The full repo with more information for the curious. How to Install FusionPBX COMING SOON ----------------------------