Commit Graph

5259 Commits

Author SHA1 Message Date
Len
c00dda8b99 Update {$mac}.cfg (#4326) 2019-07-02 11:18:57 -06:00
Len
9e75b31d78 Update {$mac}.cfg (#4327) 2019-07-02 11:18:19 -06:00
Nate
fad7c24b90 limit_offset() function refinement 2019-07-01 20:52:54 -06:00
Nate
492d03a5b9 Allow underscore in order_by() function. 2019-07-01 20:37:34 -06:00
Nate
d075a083cf Database class integration. Create order_by() and limit_offset() functions. 2019-07-01 17:30:03 -06:00
Nate
32b04431f7 Fix typo in select() method switch statement. 2019-07-01 13:26:26 -06:00
Nate
a591c87776 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
4480563044 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
e630208bb9 Update {$mac}.cfg (#4287)
add line key to T54s
2019-06-29 13:32:41 -06:00
Len
3477842f51 Update {$mac}.xml (#4316) 2019-06-29 13:30:31 -06:00
Len
3691c0ece1 Update {$mac}.xml (#4317) 2019-06-29 13:29:55 -06:00
Len
baef31c370 Update {$mac}.xml (#4318) 2019-06-29 13:29:34 -06:00
Len
db46983ba8 Update {$mac}.xml (#4319) 2019-06-29 13:29:22 -06:00
Len
85d779c190 Update {$mac}.xml (#4320) 2019-06-29 13:28:41 -06:00
FusionPBX
50187b2caf Update {$mac}.cfg 2019-06-29 12:14:05 -06:00
FusionPBX
53b6ba2e57 Update {$mac}.cfg 2019-06-29 12:13:03 -06:00
FusionPBX
ac98f4cb5a Update {$mac}.cfg 2019-06-29 12:02:58 -06:00
FusionPBX
3824e5ec33 Update {$mac}.cfg 2019-06-29 11:59:46 -06:00
FusionPBX
38d8120bfe Update index.lua 2019-06-28 13:12:04 -06:00
FusionPBX
7918358124 Update functions.php 2019-06-27 10:16:43 -06:00
Len
d939aaaeb7 Create {$mac}.xml (#4306) 2019-06-26 23:57:07 -06:00
Len
4d954b27d5 Create {$mac}.xml (#4307) 2019-06-26 23:56:48 -06:00
Len
d099272778 Create {$mac}.xml (#4308) 2019-06-25 12:34:16 -06:00
Len
5fb80c530c Create {$mac}.xml (#4310) 2019-06-25 12:34:00 -06:00
Len
eadeea6138 Create {$mac}.xml (#4305) 2019-06-25 11:47:59 -06:00
Len
c532440a51 Create {$mac}.xml (#4309) 2019-06-25 11:47:27 -06:00
Len
8ec112c687 Update {$mac}.xml (#4304) 2019-06-24 21:34:11 -06:00
emaktech
f44ed4370c 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
d74a8eedf0 Update {$mac}.xml (#4302) 2019-06-21 22:02:50 -06:00
mtghr
284450607a 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
add3dc70ec 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
4008f2255f Update {$mac}.xml (#4294) 2019-06-18 21:12:33 -06:00
Len
9f97c527c3 Update {$mac}.xml (#4295) 2019-06-18 21:10:47 -06:00
Len
b770356a65 Update {$mac}.xml (#4296) 2019-06-18 21:09:58 -06:00
Len
8889c159fc Update {$mac}.xml (#4297) 2019-06-18 21:09:11 -06:00
Len
b6c22e07fa Update {$mac}.xml (#4298) 2019-06-18 21:08:24 -06:00
FusionPBX
9425225820 Create {$mac}.xml 2019-06-18 19:14:28 -06:00
Len
6ced89ca28 Update {$mac}.xml (#4282)
* Update {$mac}.xml

* Update {$mac}.xml
2019-06-15 08:43:56 -06:00
FusionPBX
70fffb8e37 Update hangup_rx.lua 2019-06-14 23:59:37 -06:00
FusionPBX
baea8db575 Update fax_retry.lua 2019-06-14 23:56:56 -06:00
Len
d60c7a25af Update {$mac}.xml (#4281)
* Update {$mac}.xml

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

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

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

* Update {$mac}.xml
2019-06-14 19:56:50 -06:00
FusionPBX
e53860eb47 This code actually breaks inbound fax email. Commented it out and it works again. 2019-06-11 18:42:58 -06:00
FusionPBX
8ac8f04872 Update hangup_rx.lua 2019-06-11 02:58:52 -06:00
blackwolfresearch
ece98a9c01 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
768c2e094e Create y000000000096.cfg (#4261) 2019-06-05 23:47:16 -06:00
jpattWPC
3a6dcdd340 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
4ae27f13b6 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