Commit Graph

5387 Commits

Author SHA1 Message Date
FusionPBX 11fc0b2e78 Update {$mac}.cfg 2019-07-15 09:10:23 -06:00
Len 0b71d6d40d Update {$mac}.xml (#4353) 2019-07-13 10:24:09 -06:00
Len b81639ff60 Update {$mac}.xml (#4354) 2019-07-13 10:23:33 -06:00
Len 2bbb9cdc8c Update {$mac}.xml (#4355) 2019-07-13 10:23:16 -06:00
Len 128a1e47b2 Update {$mac}.xml (#4356) 2019-07-13 10:23:03 -06:00
Len f2c917e5fd Update {$mac}.xml (#4357) 2019-07-13 10:22:18 -06:00
Len 59b813e4d3 Update {$mac}.xml (#4352) 2019-07-12 23:07:40 -06:00
Len 5be94064ca Update {$mac}.xml (#4351) 2019-07-11 20:04:54 -06:00
Len eba6da5287 Update {$mac}.xml (#4350) 2019-07-11 20:04:25 -06:00
agree 4e613ec51b Update {$mac}.cfg (#4349) 2019-07-11 14:18:31 -06:00
Len d7e75aff5c Update {$mac}.cfg (#4348) 2019-07-11 14:01:41 -06:00
Nate 77b85a3f9c Database class integration. Modify database class singular() method to support table names ending in 'ses', such as v_databases. 2019-07-09 20:06:17 -06:00
Len b626e6fa5a Create directory.xml (#4338) 2019-07-09 19:09:14 -06:00
Len 2907aaae54 Create favorite_setting.xml (#4339) 2019-07-09 19:08:53 -06:00
Len 3ad7be316c Create y000000000095.cfg (#4340) 2019-07-09 19:08:31 -06:00
Len 04ec03edd0 Create {$mac}.boot (#4341) 2019-07-09 19:08:13 -06:00
Len 86c4de9076 Create {$mac}.cfg (#4342) 2019-07-09 19:07:52 -06:00
Len 798ec34a52 Create directory.xml (#4343) 2019-07-09 19:07:28 -06:00
Len 311ee35a21 Create favorite_setting.xml (#4344) 2019-07-09 19:06:58 -06:00
Len 23cad8a942 Create {$mac}.boot (#4345) 2019-07-09 19:06:31 -06:00
Len 229c8b6061 Create {$mac}.cfg (#4346) 2019-07-09 19:06:03 -06:00
Len b0ea55086b Create y000000000097.cfg (#4347) 2019-07-09 19:00:27 -06:00
Len b89543b7e5 Update {$mac}.xml (#4331)
* Update {$mac}.xml

* Update {$mac}.xml
2019-07-03 21:12:13 -06:00
Len 91be736b39 Update {$mac}.xml (#4332)
* Update {$mac}.xml

* Update {$mac}.xml
2019-07-03 21:11:46 -06:00
Len 0ba10b57b2 Update {$mac}.xml (#4333)
* Update {$mac}.xml

* Update {$mac}.xml
2019-07-03 21:11:29 -06:00
Len 670093e7c9 Update {$mac}.xml (#4334)
* Update {$mac}.xml

* Update {$mac}.xml
2019-07-03 21:11:12 -06:00
Len 6d309f41f9 Update {$mac}.xml (#4335)
* Update {$mac}.xml

* Update {$mac}.xml
2019-07-03 21:10:51 -06:00
agree b614f05c25 Update {$mac}.cfg (#4330) 2019-07-03 18:40:25 -06:00
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
Len 3dcec79663 Create {$mac}.cfg (#4257) 2019-06-05 10:56:31 -06:00
Len 9c01dfb2ea Create directory.xml (#4258) 2019-06-05 10:50:09 -06:00
Len cd62e5b24f Create favorite_setting.xml (#4259) 2019-06-05 10:49:49 -06:00
Len ad2367b8fe Create {$mac}.boot (#4260) 2019-06-05 10:49:30 -06:00
chansizzle 5724c26a01 Update app_languages.php (#4252) 2019-06-03 16:23:33 -06:00
FusionPBX ce8ac1d3e2 Update index.lua 2019-06-03 08:24:13 -06:00
Len e0555de2d3 Update {$mac}.xml (#4241) 2019-06-02 13:09:42 -06:00
Bryan Redeagle 9e0826ab3c Added support for Digium D-Series phones. (#4229) 2019-06-02 10:01:54 -06:00
Len 6df7a33fbd Update {$mac}.xml (#4236) 2019-06-01 20:47:10 -06:00
Len 63a0af5695 Update {$mac}.xml (#4237) 2019-06-01 20:46:47 -06:00
Len b1d8067e89 Update {$mac}.xml (#4240) 2019-06-01 20:46:05 -06:00
Len 6d3cc1c2d6 Update {$mac}.xml (#4239) 2019-06-01 20:45:08 -06:00
Len 5066580034 Update {$mac}.xml (#4238) 2019-06-01 20:44:00 -06:00
Len cde9249b09 Update {$mac}.xml (#4234) 2019-06-01 20:12:13 -06:00
FusionPBX 43590603ad Update {$mac}.xml 2019-06-01 17:15:01 -06:00
FusionPBX ab3dd4989c Rename {mac}.xml to {$mac}.xml 2019-06-01 17:06:05 -06:00
FusionPBX 8094983561 Rename {mac}.xml to {$mac}.xml 2019-06-01 17:05:18 -06:00
FusionPBX de1a35e912 Update index.lua 2019-06-01 15:07:49 -06:00
Nate 91414a830e Functions: Update send_email function to support attachments 2019-06-01 12:07:58 -06:00
FusionPBX 8dadf79b7e Minor version update 4.5.6 2019-05-30 02:03:56 -06:00
FusionPBX 58537ce365 Update message.php 2019-05-30 01:55:07 -06:00
FusionPBX 8679b58680 Update record_message.lua 2019-05-30 01:53:35 -06:00
FusionPBX ed92a99130 Revert "[4.5] Fix the ALTER TABLE (#4097)"
This reverts commit 8822528227.
2019-05-30 00:56:51 -06:00
emaktech e1a54c9ec9 Fix Call Block Type Setting Check
When setting call_block_matching, the setting was not being evaluated as true because it was looking for 'call block' group when the actual name is 'call_block'.

Adding the underscore fixes this small syntax issue and the setting works correctly.
2019-05-28 14:27:29 -04:00
FusionPBX c34ff1d4c6 Update database.php 2019-05-27 19:56:32 -06:00
FusionPBX 157db18dc7 White space cleanup on the text class. 2019-05-25 23:40:51 -06:00
FusionPBX ed19df468d Merge pull request #4205 from Len-PGH/patch-3
Update {$mac}.xml
2019-05-25 14:23:20 -06:00
FusionPBX 4d8dc508c2 Merge pull request #4206 from Len-PGH/patch-4
Update {$mac}.xml
2019-05-25 14:23:07 -06:00
FusionPBX cb3e9d9b7a Merge pull request #4207 from Len-PGH/patch-5
Update {$mac}.xml
2019-05-25 14:20:48 -06:00
FusionPBX c26a0cea4e Merge pull request #4208 from Len-PGH/patch-6
Update {$mac}.xml
2019-05-25 14:19:55 -06:00
Len bd72d1345a Update {$mac}.xml 2019-05-25 15:44:33 -04:00
Len e35f3a74c4 Update {$mac}.xml 2019-05-25 15:43:03 -04:00
Len 94b2146317 Update {$mac}.xml 2019-05-25 15:42:15 -04:00
Len d62f97c5b9 Update {$mac}.xml 2019-05-25 15:41:07 -04:00
Len 466f5b5079 Update {$mac}.xml 2019-05-25 15:40:22 -04:00
FusionPBX 83b1914334 Merge pull request #4202 from Len-PGH/patch-50
Update {mac}.xml
2019-05-25 11:22:06 -06:00
FusionPBX 17cf522163 Merge pull request #4195 from Len-PGH/patch-43
Update {$mac}.xml
2019-05-25 11:21:43 -06:00
Len d2426f1501 Update {mac}.xml 2019-05-25 13:21:04 -04:00
FusionPBX d292183e6b Merge pull request #4196 from Len-PGH/patch-44
Update {$mac}.xml
2019-05-25 11:15:26 -06:00
FusionPBX 94a707f123 Merge pull request #4197 from Len-PGH/patch-45
Update {$mac}.xml
2019-05-25 11:15:11 -06:00
FusionPBX 81db56754a Merge pull request #4198 from Len-PGH/patch-46
Update {$mac}.xml
2019-05-25 11:14:51 -06:00
FusionPBX 23a3fe6c7d Merge pull request #4199 from Len-PGH/patch-47
Update {$mac}.xml
2019-05-25 11:13:59 -06:00
FusionPBX 6b6d3be748 Merge pull request #4200 from Len-PGH/patch-48
Update {$mac}.xml
2019-05-25 11:13:25 -06:00
Len 11434c4b9a Update {$mac}.xml 2019-05-25 13:10:42 -04:00
Len 896be96492 Update {$mac}.xml 2019-05-25 13:09:30 -04:00
Len ae4ca53a37 Update {$mac}.xml 2019-05-25 13:07:13 -04:00
Len 9f4b46fa05 Update {$mac}.xml 2019-05-25 13:05:08 -04:00
Len 5cfa4b48ca Update {$mac}.xml 2019-05-25 13:02:59 -04:00
Len ce4bb3c1a7 Update {$mac}.xml 2019-05-25 13:00:17 -04:00
Len 5bcfd146bb Update {$mac}.xml 2019-05-25 12:53:22 -04:00
Len cfaa878064 Update {$mac}.xml 2019-05-25 12:47:48 -04:00
FusionPBX 8d0cfd3ca8 Merge pull request #4192 from Len-PGH/patch-40
Update {$mac}.xml
2019-05-25 10:34:14 -06:00
FusionPBX db952e3849 Merge pull request #4193 from Len-PGH/patch-41
Update {$mac}.xml
2019-05-25 10:34:02 -06:00
FusionPBX 1df698bc9f Merge pull request #4177 from Len-PGH/patch-25
Update {$mac}.xml
2019-05-25 10:33:05 -06:00
Len e308c47f78 Update {$mac}.xml 2019-05-25 12:32:58 -04:00
FusionPBX 73bad7d52d Merge pull request #4178 from Len-PGH/patch-26
Update {$mac}.xml
2019-05-25 10:32:42 -06:00
FusionPBX e11069413f Merge pull request #4179 from Len-PGH/patch-27
Update {$mac}.xml
2019-05-25 10:32:05 -06:00
FusionPBX 63d4262c34 Merge pull request #4180 from Len-PGH/patch-28
Update {$mac}.xml
2019-05-25 10:31:50 -06:00
FusionPBX 21c3fdc467 Merge pull request #4181 from Len-PGH/patch-29
Update {$mac}.xml
2019-05-25 10:31:22 -06:00
FusionPBX 585b6f9fc2 Merge pull request #4182 from Len-PGH/patch-30
Update {$mac}.xml
2019-05-25 10:30:14 -06:00
FusionPBX 7628735400 Merge pull request #4183 from Len-PGH/patch-31
Update {$mac}.xml
2019-05-25 10:29:59 -06:00
FusionPBX dca33d8fcb Merge pull request #4184 from Len-PGH/patch-32
Update {$mac}.xml
2019-05-25 10:29:20 -06:00
FusionPBX e968c6ea3d Merge pull request #4185 from Len-PGH/patch-33
Update {$mac}.xml
2019-05-25 10:29:00 -06:00
FusionPBX cb686e3469 Merge pull request #4186 from Len-PGH/patch-34
Update {$mac}.xml
2019-05-25 10:28:18 -06:00
FusionPBX a2f0091c3c Merge pull request #4187 from Len-PGH/patch-35
Update {$mac}.xml
2019-05-25 10:27:35 -06:00
Len 7bf59d24ee Update {$mac}.xml 2019-05-25 12:27:06 -04:00
FusionPBX e23395788a Merge pull request #4188 from Len-PGH/patch-36
Update {$mac}.xml
2019-05-25 10:26:24 -06:00
FusionPBX 9250dc7ad3 Merge pull request #4189 from Len-PGH/patch-37
Update {$mac}.xml
2019-05-25 10:25:56 -06:00
FusionPBX d20e9401d8 Merge pull request #4190 from Len-PGH/patch-38
Update {$mac}.xml
2019-05-25 10:22:32 -06:00
Len 156b830d0b Update {$mac}.xml 2019-05-25 12:18:23 -04:00
Len 00336b098f Update {$mac}.xml 2019-05-25 12:16:31 -04:00
Len 11c0de9e26 Update {$mac}.xml 2019-05-25 12:14:04 -04:00