Commit Graph

5305 Commits

Author SHA1 Message Date
Nate
506332c95f Database class integration. Create order_by() and limit_offset() functions. 2019-07-01 17:30:03 -06:00
Nate
9b57165ed3 Fix typo in select() method switch statement. 2019-07-01 13:26:26 -06:00
Nate
058dec41b9 Database Class Support for "...ies" Table Names (#4321)
Currently, the permission checks within the class try to singularize the table name, then check for permissions based on the result.  This PR modifies the private singular() function to support table names that end in "...ies", where an _add or _edit permission likely uses a 'y' instead.  An example would be where inserting records into v_event_categories, the class should probably look for an "event_category_add" permission, instead of "event_categorie_add".  Likewise for update queries.  

This proposed change isn't foolproof, obviously. In the case of inserting or updating records in a table named v_pies, it would fail to suffice.  You're welcome to integrate a better solution, if one exists.
2019-06-30 15:11:15 -06:00
mtghr
9b5b6d6099 Update {$mac}.cfg (#4061)
* Update {$mac}.cfg

Polycom will not support wild  card cert only if you disable strictCertCommonNameValidation

also polycom is missing many root  certs so we need an option to push them via the template 

bot stuff was tested by me in  production and its working fine

* Use isset
2019-06-29 13:40:11 -06:00
Chris Black
5fe2f6f400 Update {$mac}.cfg (#4287)
add line key to T54s
2019-06-29 13:32:41 -06:00
Len
6e07792505 Update {$mac}.xml (#4316) 2019-06-29 13:30:31 -06:00
Len
2180784eb4 Update {$mac}.xml (#4317) 2019-06-29 13:29:55 -06:00
Len
27510c09dc Update {$mac}.xml (#4318) 2019-06-29 13:29:34 -06:00
Len
82787ebbe1 Update {$mac}.xml (#4319) 2019-06-29 13:29:22 -06:00
Len
b2190f5f22 Update {$mac}.xml (#4320) 2019-06-29 13:28:41 -06:00
FusionPBX
806a5ac02c Update {$mac}.cfg 2019-06-29 12:14:05 -06:00
FusionPBX
35740e069f Update {$mac}.cfg 2019-06-29 12:13:03 -06:00
FusionPBX
0cd5a32458 Update {$mac}.cfg 2019-06-29 12:02:58 -06:00
FusionPBX
a32711142f Update {$mac}.cfg 2019-06-29 11:59:46 -06:00
FusionPBX
0f10a0a01e Update index.lua 2019-06-28 13:12:04 -06:00
FusionPBX
77ef2b6142 Update functions.php 2019-06-27 10:16:43 -06:00
Len
2881eb9c63 Create {$mac}.xml (#4306) 2019-06-26 23:57:07 -06:00
Len
ce3a01bd2e Create {$mac}.xml (#4307) 2019-06-26 23:56:48 -06:00
Len
b2e5d71a81 Create {$mac}.xml (#4308) 2019-06-25 12:34:16 -06:00
Len
61ffff0bc5 Create {$mac}.xml (#4310) 2019-06-25 12:34:00 -06:00
Len
ae53af87e2 Create {$mac}.xml (#4305) 2019-06-25 11:47:59 -06:00
Len
24f6206bd2 Create {$mac}.xml (#4309) 2019-06-25 11:47:27 -06:00
Len
2ddd0478a8 Update {$mac}.xml (#4304) 2019-06-24 21:34:11 -06:00
emaktech
9dcaddd814 Fix Ring Group Delay Timing (#4003)
This is going to sound really stupid but I have tested this extensively, submitted a Jira on it months ago (was told FS 1.6.20 was no longer supported) and it's still an issue. Please do not take my word for this and create a ring group to test the delay settings with a stopwatch and you should see the real vs set delay discrepancy.

In FreeSWITCH (both on 1.6.20 and 1.8.5) when sending leg_delay_start values, for whatever reason the actual time is double the value sent. The result of this is that if you send 1000ms as leg_delay_start the actual time the call will be delayed is 2000ms.

Because of this bad behavior, ring group delay settings end up being exactly double what is set. e.g. if you set 10s, you will have to wait 20s for the call to be initiated on leg b.

The easiest way to fix this behavior is to simply multiply leg_delay_start by half as much to get the right "real" delay time. Ugly, I know... I'm not sure if leg_delay_start value is passed elsewhere, I'm thinking this behavior may also be present in find me/follow me. If this gets accepted I will look for other locations where this behavior occurs and submit separate PRs if I find any other instances of this.
2019-06-21 22:04:14 -06:00
Len
b8a203201b Update {$mac}.xml (#4302) 2019-06-21 22:02:50 -06:00
mtghr
57e4f82528 Update {$mac}.cfg (#4301)
the Expire time was set to 3600 with no way to change it
2019-06-20 07:15:21 -06:00
Luis Daniel Lucio Quiroz
6b256a41b3 gives save_var_xml() more tolerance (#4299)
when there is no local freeswitch running (big cluster deployments where Fusion UI is in another server), sometimes there is no local freeswitch running. this breaks the variables per host.

This patch gives the chance to use the hostname as a fallback option before giving up.
2019-06-20 03:35:41 -06:00
Len
a3660b3a62 Update {$mac}.xml (#4294) 2019-06-18 21:12:33 -06:00
Len
2df3444558 Update {$mac}.xml (#4295) 2019-06-18 21:10:47 -06:00
Len
c26cc68c02 Update {$mac}.xml (#4296) 2019-06-18 21:09:58 -06:00
Len
a422a4aab8 Update {$mac}.xml (#4297) 2019-06-18 21:09:11 -06:00
Len
0000bca8e3 Update {$mac}.xml (#4298) 2019-06-18 21:08:24 -06:00
FusionPBX
a5e1c9b783 Create {$mac}.xml 2019-06-18 19:14:28 -06:00
Len
0730dc1ed6 Update {$mac}.xml (#4282)
* Update {$mac}.xml

* Update {$mac}.xml
2019-06-15 08:43:56 -06:00
FusionPBX
5aeaf79d90 Update hangup_rx.lua 2019-06-14 23:59:37 -06:00
FusionPBX
49038db08c Update fax_retry.lua 2019-06-14 23:56:56 -06:00
Len
2c75b5eece Update {$mac}.xml (#4281)
* Update {$mac}.xml

* Update {$mac}.xml
2019-06-14 22:12:43 -06:00
Len
3b266d1e14 Update {$mac}.xml (#4283)
* Update {$mac}.xml

* Update {$mac}.xml
2019-06-14 19:58:40 -06:00
Len
193aae4d27 Update {$mac}.xml (#4284)
* Update {$mac}.xml

* Update {$mac}.xml
2019-06-14 19:57:04 -06:00
Len
abbe0c3237 Update {$mac}.xml (#4285)
* Update {$mac}.xml

* Update {$mac}.xml
2019-06-14 19:56:50 -06:00
FusionPBX
b71a333d40 This code actually breaks inbound fax email. Commented it out and it works again. 2019-06-11 18:42:58 -06:00
FusionPBX
57f6309744 Update hangup_rx.lua 2019-06-11 02:58:52 -06:00
blackwolfresearch
51fcd89756 Security Fixes (#4268)
* Updated fixes for CVE-2019-11409

* Fix for XSS - (CVE-2018-19094)

* Fix for fax cmd injection (CVE-2018-19096)
2019-06-06 18:46:00 -06:00
Len
dccc9d2f15 Create y000000000096.cfg (#4261) 2019-06-05 23:47:16 -06:00
jpattWPC
e1efd90943 Allow Phrases to be used in IVRs (#4263)
With the current implementation, Phrases cannot be used in IVRs as streamfile.lua prevents keypresses from being passed back to the IVR. This fix makes a small change to the way phrases are stored and allows streamfile to be run without blocking IVR keypresses.
2019-06-05 21:12:13 -06:00
jpattWPC
7937f72ed3 Add support for PostgreSQL TLS (#4262)
This commit adds support for PostgreSQL TLS communication. This requires /etc/fusionpbx/config.php to have two parameters added:

$db_secure = true;
$db_cert_authority = "/path/to/ca.crt";
2019-06-05 21:10:58 -06:00
Len
4b9f6c0a2b Create {$mac}.cfg (#4257) 2019-06-05 10:56:31 -06:00
Len
92efbd9364 Create directory.xml (#4258) 2019-06-05 10:50:09 -06:00
Len
c084caa5b6 Create favorite_setting.xml (#4259) 2019-06-05 10:49:49 -06:00
Len
974d5e2cff Create {$mac}.boot (#4260) 2019-06-05 10:49:30 -06:00