Commit Graph

204 Commits

Author SHA1 Message Date
Alexey Melnichuk c0739c4d40 Fix. Load required libraries in voicemail. (#1705) 2016-06-26 09:03:21 -06:00
Mafoo f88691618e Enhance-make voicemail length configurable (#1702)
allow the voicemail max_lengths to be configured from domain/default
settings
2016-06-24 10:28:47 -06:00
markjcrane 2955b8447e Increase the voicemail greeting length that is allowed to 90 seconds. 2016-06-21 18:35:05 -06:00
mafoo b7555579bf WhitespaceClean-resources/install/scripts
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 13:21:52 +00:00
markjcrane f525d2bbda Remove trailing whitespaces. 2016-02-03 19:03:16 -07:00
markjcrane 4bb748a300 Base64 - Make sure the directory structure exists. 2016-02-03 10:01:43 -07:00
markjcrane 19945b5095 Change the comment in check_password.lua. 2016-01-22 12:24:18 -07:00
Alexey Melnichuk e4e6fe92a9 Fix. Do not prompt password if there no mailbox. 2016-01-22 11:37:34 +03:00
FusionPBX f208e06a9d Revert "cherry picked changes from 4.0 branch" 2016-01-04 13:13:48 -07:00
Matthew Vale 4fdb6e9916 cherry picked changes from 4.0 branch 2015-12-31 10:11:31 +00:00
Alexey Melnichuk 3a5fc397ba Add. Text class to manage translate texts. 2015-11-30 10:22:55 +03:00
Alexey Melnichuk 84f3fde716 Add. `send_mail` wrapper function to freeswitch.email and v_mailto.php.
Fix. Send voicemail when set unknown language/dialect.
2015-11-27 15:47:14 +03:00
markjcrane 44ec8d5942 Add voicemail record-silence-threshold variable and change the default threshold from 30 to 300. 2015-11-16 16:59:11 -07:00
markjcrane 1c6f58ca03 MWI only turn on the light for new messages. 2015-10-29 17:34:39 -06:00
markjcrane bf3c374e13 Play the message number first then the caller id number. 2015-10-24 21:12:43 -06:00
markjcrane 8f67f2c4c1 Add vm_say_caller_id_number option for true or false. 2015-10-24 21:00:22 -06:00
markjcrane 128bb6d857 Add voicemail caller id number announce as iterated. 2015-10-24 20:09:36 -06:00
markjcrane 5a2e78dc29 Listen for dtmf key presses when voicemail message is played. 2015-10-14 16:03:33 -07:00
markjcrane d56eeab729 Fix sip_to_user and dialed_user for voicemail. 2015-10-02 17:46:39 -06:00
FusionPBX 902739213a Merge pull request #1171 from rdissauer/fix/suppress-debug-messages
Fix. suppress debug messages
2015-09-24 15:19:20 -06:00
roman.dissauer e8b79cb783 forgot commenting out end 2015-09-24 09:29:57 +02:00
roman.dissauer af4e06ecd9 do not display voicemail sql debug messages 2015-09-24 09:29:57 +02:00
markjcrane b3c53ae6f5 Email template add indentation to make it more readable. 2015-09-11 16:18:40 -06:00
roman.dissauer e6fbd20cff added german voicemail templates and modified language file 2015-08-31 12:52:15 +02:00
Alexey Melnichuk 3e16e69adb Revert "Revert "Change. Use `require "resources.functions.config"` to load co…" 2015-08-11 05:06:33 +03:00
FusionPBX 2a2dd209df Revert "Change. Use `require "resources.functions.config"` to load config file." 2015-08-10 11:50:29 -06:00
FusionPBX 559aa61fbd Merge pull request #1053 from moteus/require_config
Change. Use `require "resources.functions.config"` to load config file.
2015-08-10 11:31:35 -06:00
Alexey Melnichuk 703b61636a Change. Use only `require` to load function.
Fix. Remove multiple definition of same function.
2015-08-10 12:43:06 +04:00
Alexey Melnichuk 630d9e020c Fix. Always use `/` separator on FS command.
Fix. Override `temp_dir` from `config.lua` file.
2015-08-07 12:11:27 +04:00
Alexey Melnichuk 3da348fff0 Change. Use `require "resources.functions.config"` to load config file.
Change. Move `script_dir` definition into config file.
2015-07-22 13:20:51 +04:00
markjcrane 4fc2bbaa9f Voicemail to email send the email in the send_email.lua rather than with email.lua. So that the delete doesn't occur until after email is sent. 2015-07-20 11:40:31 -06:00
FusionPBX 861e545541 Merge pull request #1037 from moteus/copy_voice_mail
Fix. Use OS specific copy function.
2015-07-18 12:55:05 -07:00
Alexey Melnichuk 3a805e1870 Change. Use predefined phrases in vm menu.
Current implementation produces not correct phrases e.g. on Russian language.
2015-07-14 13:42:05 +04:00
Alexey Melnichuk acec54be57 Fix. Use OS specific copy function. 2015-07-13 10:44:47 +04:00
markjcrane ec532e8d12 Play voicemail messages with the newest messages first. 2015-07-08 15:46:34 -03:00
Mark Crane 83daf1ed73 When leaving a voicemail use the message_waiting function. 2015-06-11 06:31:10 +00:00
Mark Crane f80bc84639 Use the mwi_account under accounts -> extensions to allow sending MWI to multiple extensions. 2015-06-11 06:30:21 +00:00
Mark Crane 9b9d174d8c Change the file from ANSI to UTF-8 no BOM. 2015-05-29 02:55:25 +00:00
Mark Crane 1fbd2a332b Put the message date back in the email template but comment it out. It's removed by default because it doesn't respect the timezone per domain. 2015-05-05 17:23:25 +00:00
Mark Crane ffa7603990 Remove the message_date from the voicemail to email template. 2015-05-05 16:25:51 +00:00
Nate Jones ab4d1840b4 SIP: Return "NO_ANSWER" instead of "NORMAL_CLEARING" if an extension is called with voicemail disabled. Implements patch suggested in Issue 920. Thanks. 2015-04-29 21:21:00 +00:00
Nate Jones 33248f605f Voicemail Greetings: Better base64 support in gui (playback, download, etc) and lua scripts, some lua mods to allow re-recording without having to enter greeting # again, fixed choose greeting function, new greeting recordings now only save when told to (uses a temp file prior to), fix sorting on greetings list, app_defaults to move greetings from file system to base64 in db (and vice versa).
Recordings: Fix sorting and paging.

IVRs: Code cleanup.

(... and some other stuff I can't remember at this hour.)
2015-04-25 12:26:31 +00:00
Nate Jones 704d2ebf1c Voicemail: local and base64 fixes. 2015-04-23 05:25:21 +00:00
Mark Crane 94a00a7fd5 If mod_shout exists then record to mp3 using it if it doesn't exist then use lame. 2015-04-23 00:05:56 +00:00
Mark Crane 5179ddcee9 Replace voicemail_message_uuid for uuid in two additional places. 2015-04-22 23:33:25 +00:00
Mark Crane e34569f1fc Use the call uuid for the voicemail_message_uuid. 2015-04-22 23:23:59 +00:00
Mark Crane 7ba8ca8f84 Additional work on base64 optional storage in the database. 2015-04-18 19:59:50 +00:00
Mark Crane 96f3dc488f After saving the base64 remove the file. 2015-04-18 18:42:39 +00:00
Mark Crane 8231e6bfde When using base64 after playing the greeting remove the file from the file system. When sending the email get it from the database save it to the file system. Then send the email and afterwards remove it. 2015-04-18 18:19:22 +00:00
Nate Jones 48f7524e35 Voicemail: Removed settings code (redundant?) 2015-04-18 00:22:09 +00:00
Nate Jones 978bea9caf Voicemail: Fix greeting path. 2015-04-18 00:08:54 +00:00
Mark Crane 93dffec059 Additional work on voicemail with base64. 2015-04-17 20:10:36 +00:00
Mark Crane 4477b452db Fix the greeting using base64. 2015-04-17 18:08:29 +00:00
Mark Crane ca2673fd74 Update the base64 code. 2015-04-13 17:52:59 +00:00
Nate Jones 42769cb631 Voicemail: Fix confirmed and applied as suggested in Issue 905. Thanks. 2015-04-10 01:22:17 +00:00
Nate Jones 7dcac4655c Voicemail: Fix file storage location, restores playback/download functionality of GUI. 2015-04-10 00:24:43 +00:00
Mark Crane d6636aee17 Update the translations from the translation server. Includes the following new languages Brazilian Portuguese, Polish, and Swedish Sweden. Thanks to those that put in the effort to add these languages additional translator volunteers are welcome. 2015-04-08 13:38:58 +00:00
Mark Crane b194261635 Add voicemail storage path variables. 2015-04-06 07:08:17 +00:00
Mark Crane 20ec80d46c Check for a nil to prevent an error for voicemail, ivr menu and recordings. 2015-04-04 09:09:09 +00:00
Mark Crane e6eb36ff51 Additional work on option to save files in base64 for voicemail and ivr menu. 2015-04-03 18:59:12 +00:00
Mark Crane 00873011cd Remove an extra vertical space and fix the indenting for one line. 2015-04-01 08:22:42 +00:00
Mark Crane 6f14a0b6d5 When a new greeting is created set it as the greeting id. 2015-04-01 08:11:44 +00:00
Mark Crane 63f55e076d Add a missing semi-colon and remove trailing spaces. 2015-04-01 07:57:47 +00:00
Mark Crane 3c36351762 Add an option to save the greeting to the database. 2015-04-01 07:56:56 +00:00
Mark Crane 5912dae9f0 2015-04-01 05:48:44 +00:00
Mark Crane bde561a950 Change base64.enc to base64.encode. 2015-04-01 03:56:23 +00:00
Nate Jones 266f9e1063 Voicemail:
- Adjust for single-quotes in caller_id_name on insert query (hopefully addressing Issue 877).
- If Keep Local is false, remove the recording from the file system.
- Fix Forward Destinations so message is fully copied to other extension voicemail boxes, not just emailed.
- Add script to Ext and VM Edit pages to prevent Listen or Download links being sent when Keep Local is false.
- Minor language mods.
2015-03-15 09:15:04 +00:00
Nate Jones 9a1b836f6d Voicemail: Email notification script updated to support multiple languages. 2015-02-24 09:40:45 +00:00
Nate Jones cbb39328f5 Voicemail: Added additional options for email notification (attach vm, download link, auto-play listen link). Also cleaned up email templates a little. 2015-02-24 08:09:01 +00:00
Nate Jones eb7a47917f Voicemail: Remove prompt to listen to new or saved messages if no new or saved messages exist. 2015-02-23 22:51:24 +00:00
Mark Crane 93d22dce39 Voicemail IVR is now completed and ready to go. 2015-02-22 23:58:37 +00:00
Digital Daz cc96241171 Use the domain timezone in voicemail message playback. 2015-02-10 00:01:37 +00:00
luis daniel lucio quiroz 230be9198f better voicemail templates 2015-01-19 18:59:59 +00:00
Mark Crane 6c1bf58baf Fix voicemail copy to multiple destinations. 2015-01-17 21:56:56 +00:00
Mark Crane 3744bb9eb0 If mod shout exits use it to save voicemail messages as mp3. 2015-01-04 00:10:52 +00:00
Mark Crane 7c37ecd4a2 Add support for voicemail forward destinations. 2014-12-04 13:43:09 +00:00
Mark Crane b006d8c28c Fix *98 for extensions with number-alias. 2014-10-25 00:01:46 +00:00
Mark Crane 50dcfc3fae Update the Voicemail MWI LUA script to use the new scripts/resources/run directory. 2014-10-22 08:09:10 +00:00
Mark Crane f79e1f0b2e Add extension number-alias support to voicemail to fix a problem when using number-alias and checking voicemail with *97. 2014-10-21 19:19:04 +00:00
James Rose 564b42a988 added variable runonce to prevent the loop. Have seen this script crash a busy FS install. Now possible to run via cron. 2014-07-31 20:15:06 +00:00
Mark Crane 1a42551cc0 Try again on the voicemail quota bug 2014-07-09 02:47:15 +00:00
Mark Crane 9f9603d4a8 Fix voicemail quota for new voicemail boxes message_sum 2014-07-09 02:09:08 +00:00
Nate Jones 7337fba360 Voicemail-to-Email: Backup email to database if sending fails, better detection of ContentType. 2014-07-08 06:38:23 +00:00
Nate Jones 090d3cacb2 Voicemail-to-Email: Add custom headers containing domain_uuid, domain_name, call_uuid and email_type. Send email using Domain smtp settings, if defined under Default Settings. 2014-07-08 02:30:57 +00:00
Mark Crane 13f89f6850 Add a patch for voicemail thanks GerritV for contributing it. 2014-07-04 05:27:42 +00:00
Omar Irbouh 66088be1b5 fixed nil issue when voicemail has no messages 2014-06-09 22:43:08 +00:00
Mark Crane 22d3edb3f8 Add a missing forward slash on the email subject when sending the email 2014-04-13 06:14:17 +00:00
Mark Crane 9ba46dfc8a If vm_message_ext is "mp3" then check to see if mod_vlc is running and if it is then use vlc:// as the prefix for streaming the file. 2014-03-20 16:42:04 +00:00
Mark Crane b95e2e2488 Use lame to convert voicemail wav to mp3 files. 2014-03-20 08:47:36 +00:00
Mark Crane 12351013b8 Add a voicemail quota with a variable vm_disk_quota or vm-disk-quota (for compabitibility to FreeSWITCH voicemail) 2014-03-07 05:31:59 +00:00
Mark Crane 95f64f8d99 Add MWI-Voice-Message to show the message count. 2014-02-09 09:43:47 +00:00
Mark Crane 9ac83876d8 Get rid of a trailing white space in voicemail/index.lua 2013-12-04 18:15:34 +00:00
Mark Crane 7338cbc9af Adjust the voicemail_authorized if statement. 2013-12-04 17:24:44 +00:00
Mark Crane 2a7d819f64 Add voicemail_authorized variable as an option set it up to work with for *97 and *4000. When you check voicemail then press * it prompts for the password or if *98 is dialed it asks for the password. 2013-12-04 17:07:34 +00:00
Mark Crane ab54d3d068 Add new and old message count to the mwi event to the dev branch. 2013-11-07 23:49:09 +00:00
Mark Crane c364028d43 Fix the forward to extension option 8 in voicemail. 2013-10-29 20:54:54 +00:00
Mark Crane bf8d154914 Add the voicemail_greeting_number variable to set the greeting_id. Adjust skip_instructions so that it used. 2013-10-04 00:05:24 +00:00
Mark Crane 894b7c5a28 Use the voicemail directory. 2013-09-23 19:57:07 +00:00
Mark Crane f6b20aae60 Re-enabled uuid_display found the real problem to the dtmf detection lag was caused by uuid_display with an incorrect rtp packet size (aka ptime) set wrong on the SPA504g. It was set to 0.030 but needs to be set to 0.020. 2013-08-20 23:54:46 +00:00
Mark Crane 540ae1c8f7 Comment out uuid_display. It caused the call to switch codecs, interrupt the audio and added a dtmf delay to voicemail after pressing 1 for new messages or 2 for old messages. Also added a lua copy function. 2013-08-13 06:09:45 +00:00
Mark Crane 80c1c9076c Add a general copy function for lua and use it with voicemail forward. 2013-07-11 19:50:09 +00:00
Mark Crane b895946be8 Copy voicemail to another extension added single quotes to the copy string to help with paths with spaces. 2013-07-11 17:13:15 +00:00
Mark Crane 4e578b6bf7 Voicemail message playback press 4 for rewind and 6 for fast forward. 2013-07-10 22:59:17 +00:00
Mark Crane 567e554cb7 Move the includes/install to resources/install 2013-06-09 02:42:36 +00:00