Commit Graph

55 Commits

Author SHA1 Message Date
fusionate
b2246b3c46 Voicemail: Rework method used for emailed message Download Link to audio file. 2024-03-16 13:46:38 -06:00
fusionate
fe971649b1 Voicemail [Class]: More adjustments to restore emailed messaage Download link functionality. 2024-03-14 13:59:01 -06:00
fusionate
a22d766d6a Voicemail: Fix emailed direct message Download feature. 2024-03-13 18:08:14 -06:00
fusionate
9b3eb31ac3 Voicemail [Class]: Resolve fclose() error on null object. 2024-02-09 13:16:34 -07:00
frytimo
c51d485668 use $app_name and $app_uuid for database transaction (#6881) 2024-02-08 11:13:50 -07:00
frytimo
3a4c2f72e2 Event socket bug fix and more docs (#6823)
* Add documentation to methods. Use is_resource for added type detection

* Allow connect to specify timeout in microseconds with default 30,000

* Update calling mechanism for event sockets

* Update project for new singleton event sockets

* remove unused variable

* catch errors on closing the socket
2023-12-02 17:16:18 -07:00
fusionate
d9d17a6917 Misc: Remove parameters from event_socket_create() calls. 2023-09-20 18:43:17 +00:00
fusionate
30034610ac Voicemail [Class]: Adjust messages() method to avoid count() error if voicemail_messages() method return false. 2023-08-17 23:31:33 +00:00
FusionPBX
ae51a57566 Update voicemail.php 2023-07-05 18:53:26 -06:00
fusionate
5bce5b103b Voicemail [Class]: Update for PHP 8.1 2023-06-27 22:22:30 +00:00
markjcrane
f506b00b57 PHP 8.2 Deprecated dynamic properties 2023-06-12 21:27:23 -06:00
fusionate
bd9a407ba5 Voicemails: Updates for PHP 8.1 2023-06-09 16:51:36 +00:00
markjcrane
5c7dfe339b Use the database to format the date time with the time zone 2023-05-17 20:41:52 -06:00
fusionate
a26c953291 Voicemail [Class]: Updates for PHP 8.1 2023-05-17 06:59:40 +00:00
FusionPBX
6f554eefa8 Use empty instead of strlen or is_array 2023-05-10 22:18:42 -06:00
fusionate
8f50a96d51 Dashboard - Voicemails: Updates for PHP 8.1 2023-05-10 22:27:19 +00:00
frytimo
fef8165be2 Frytimo pr patches for php8.1 (#6630)
* Passing null to parameter #2 ($string) of type string is deprecated

* Passing null to parameter #1 ($string) of type string is deprecated

* php 8.1 fixes

* php 8.1 fixes - replace strlen($var) > 0 with !empty($var)

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - strlower with null

* php 8.1 fixes - strreplace with null

* php 8.1 fixes - passing null to base64_decode

* php 8.1 fixes - check for false and check for null on $this->dir

* php 8.1 fixes - remove assignment of $db variable to modules object

* php 8.1 fixes - avoid sending null to substr

* php 8.1 fixes - change ${var} to {$var}

* php 8.1 fixes - check for null before preg_replace

* php 8.1 fixes - remove setting db variable on domains object

* php 8.1 fixes - set empty string if $row['domain_setting_subcategory'] is null

* php 8.1 fixes - set empty string if $_REQUEST['show'] is not available

* php 8.1 fixes

* php 8.1 fixes - correct $_POST checking syntax

* php 8.1 fixes - correct $_POST variables

* php 8.1 fixes

* Use brackets consistently

* Update user_setting_edit.php

* Change to not empty

* Update device.php

* Update text.php

---------

Co-authored-by: Tim Fry <tim@voipstratus.com>
Co-authored-by: FusionPBX <markjcrane@gmail.com>
2023-05-05 10:46:37 -06:00
frytimo
69bd42af05 remove unneeded destruct methods as GC has higher performance (#6631)
Co-authored-by: Tim Fry <tim@voipstratus.com>
2023-04-27 20:18:53 -06:00
Finn
54be67935b Improve error handling when a recording download fails (#6592) 2023-03-29 17:46:51 -06:00
fusionate
c67c8cd4c2 Destination Select - Dynamic: Clear session array on add/toggle/delete of a destination type record. 2020-11-30 14:15:57 -07:00
Nate
365e20926f Safari Audio Support: Call Recordings, MOH, VM Greetings & Messages and CDR audio files. 2020-03-30 20:08:45 -06:00
Nate
3de8a941e8 Voicemail - Edit: Add bulk delete of Options and Destinations, dynamic Delete button action. Remove deprecated Option delete script. 2020-03-03 19:13:16 -07:00
Nate
3e729537a6 Voicemail: Fix email download link. 2020-02-13 07:15:59 -07:00
Nate
601102f898 Dashboard, Voicemail Messages & Greetings: Bug fixes. 2019-12-24 00:13:15 -07:00
Nate
eacc0095bd Voicemail Messages: List view updates. Voicemail Edit: Hide Listen Link option. 2019-12-13 12:56:48 -07:00
Nate
5f20080c66 Voicemails: Fix delete multiple boxes. 2019-12-11 14:52:50 -07:00
Nate
4effe4c8b5 Voicemails: List view updates. 2019-12-09 17:05:31 -07:00
Nate
836fb87136 Misc Classes: Database class integration. 2019-09-02 15:57:18 -06:00
Alexey Melnichuk
c72fca1c6b Fix. Send message notify when toggle vm message in Web UI. (#2774) 2017-08-01 16:02:08 -06:00
FusionPBX
fad97e0d37 Update voicemail.php 2016-12-03 13:32:55 -07:00
FusionPBX
370c047360 Update voicemail.php
Validate the input to increase security in the voicemail class.
2016-12-03 12:02:14 -07:00
jebsolutions
63664f7807 fix: voicemail message delete bug #2100 (#2221)
bug: voicemail_id was never set so wrong path constructed and glob finds no matching files.

test case:
delete a voicemail message from the web interface

expected result:
voicemail is deleted in the database + file system

actual results:
voicemail is still on the file system
2016-12-01 11:53:12 -07:00
FusionPBX
0f2fd84ccf Update voicemail.php
Delete the voicemail intro when deleting a voicemail message from PHP.
2016-09-03 15:43:30 -06:00
FusionPBX
ae2f1ca873 Update voicemail.php
Improve the voicemail class by using construct and destruct. Reduce the use of session variables in the class.
2016-07-22 10:31:08 -06:00
FusionPBX
0852d05788 Update voicemail.php
Don't use is_array with glob.
2016-05-10 22:53:42 -06:00
FusionPBX
c0a2059ac8 Update voicemail.php
Use is_array with foreach in the voicemail php class.
2016-05-10 22:51:03 -06:00
Harry G. Coin
8abe003a71 The goal is to increase confidence in fusionpbx, one step is to run by default with error_reporting (E_ALL ^ E_NOTICE);
So, please find in this set numerous small changes which eliminate numerous php warning messages.

Also, a small bug fix in an sql statistics routine, naming a count(*) field as count, so displaying correct detail.

If any of the proposed changes are omitted, the relevant page will experience php warnings.

There are no doubt fusionpbx pages I've yet to visit that still generate warnings, this set is nearly certainly not comprehensive.
2016-04-25 20:19:58 -05:00
reliberate
0cb8ab5224 Theme: Replace image-based control icons with Bootstra Glyphicon buttons.
Voicemail Messsages: Added ability to toggle message status (saved/new).
2016-03-28 17:50:07 -06:00
reliberate
aa44e02b32 Voicemail: Add bulk delete ability for Messages, instant saved indication when playing/downloading, and table row click to play.
Dashboard: Minor code cleanup.
2016-03-19 13:54:24 -06:00
reliberate
39bfec7aa2 Extensions: Added bulk delete.
Voicemail: Added bulk delete.  On delete, remove recordings folder, and voicemail_options, _destinations, and _greetings database records.
2016-03-16 18:48:42 -06:00
Alexey Melnichuk
7d5c5f1161 Fix. Play voicemail.
Copy from recordings.php
2015-12-11 16:40:49 +03:00
Matthew Vale
c47908f4e4 corrected references to voicemail_dir
changed from $_SESSION['switch']['storage']['dir'].'/voicemail/' to correctly use $_SESSION['switch']['voicemail']['dir']
added missing storage_type to app_defaults.php
2015-11-02 17:22:13 +00:00
Nate Jones
f99b2e8c30 Voicemail: local and base64 fixes. 2015-04-23 05:25:21 +00:00
Nate Jones
242ab77ccb Voicemail: Add functionality to Play and Download base64 messages in the database. 2015-04-23 00:10:31 +00:00
Nate Jones
23186f9bf5 Voicemail: Mods to make it work as expected, if non-admins/superadmins are given access to it. 2015-04-06 21:57:06 +00:00
Mark Crane
8672d5fb6d Sort voicemail boxes in ascending order. 2015-01-29 07:18:29 +00:00
Mark Crane
83969ad0a8 Change $value to $row. 2014-11-15 00:36:54 +00:00
Mark Crane
0625fcdab3 Fixed a problem with voicemail that was not including extensions that use a number alias. 2014-11-15 00:16:29 +00:00
Nate Jones
44bed664ae VM Greetings, VMs: Integrated HTML5 playback button. Misc fixes with other integrations. 2014-09-11 19:48:19 +00:00
Mark Crane
e7d6f5e9ab Fix the luarun cal to voicemail 2014-06-09 19:59:25 +00:00