Commit Graph

237 Commits

Author SHA1 Message Date
FusionPBX
1f7c6304d5 Update index.lua 2019-10-30 19:52:31 -06:00
Andy-Seattle
49b8bf27fc Update record_message.lua (#4762)
IBM Watson supports MP3 transcription and my testing shows it is very similar to WAV in terms of overall quality.
The benefit, of course is it greatly reduces the voicemail file size.
If MP3 is not set for the system then it will use WAV.
If other users prefer having the option of MP3 for the system but WAV for Watson transcription we could add a new variable for Watson transcription and add this new variable as a qualifier.
2019-10-09 11:13:29 -07:00
Andy-Seattle
5a68ff81c7 Update record_message.lua (#4731)
When we have MP3 enabled we want ALL voicemails to be MP3 EXCEPT the ones that need to be transcribed, which will be WAV.

When transcribe_enabled is set to true, ALL voicemails currently become WAV even when MP3 is set.

This change ensures that ALL voicemails remain MP3 except the extensions that have voicemail_transcription_enabled set to true.

Note: The reason this was not working is because setting transcribe_enabled to true also sets voicemail_transcription_enabled to false for ALL extensions BUT it is not written into the database. Therefore a SAVE is required for ALL voicemails to ensure this field is written to the database. Changing to ~=true gets around this problem.
2019-10-04 08:45:45 -07:00
agree
b023ef08dc Update index.lua (#4663) 2019-09-26 15:31:57 -06:00
konradSC
a4e340f517 Watson Transcription (#4420)
The following PR is for voicemail transcription using IBM Watson.
https://cloud.ibm.com/catalog/services/speech-to-text

The following values need to be configured in Default Settings:

Category: Voicemail
Subcategory: watson_key
type: text
Value: [Your Watson api key ]

Category: Voicemail
Subcategory: json_enabled
type: boolean
Value: true

Category: Voicemail
Subcategory: transcibe_language
type: text
Value: en-US

Category: Voicemail
Subcategory: transcribe_provider
type: text
Value: watson

Category: Voicemail
Subcategory: watson_url
type: text
Value: https://stream.watsonplatform.net/speech-to-text/api/v1/recognize?model=en-US_NarrowbandModel

Category: Voicemail
Subcategory: transcribe_enabled
type: boolean
Value: true


Reload Default Settings. I Flushed Cache and Reloaded XML just for good measure.

Also make sure transcription is set to TRUE in your voicemail box.
2019-08-19 09:17:03 -06:00
FusionPBX
97a52419b8 Update record_greeting.lua 2019-08-17 15:30:41 -06:00
FusionPBX
c2d61e39f4 Update record_message.lua 2019-08-17 15:22:06 -06:00
FusionPBX
1764af30c3 Update record_greeting.lua 2019-08-17 14:58:06 -06:00
FusionPBX
6b24951874 Update index.lua 2019-08-11 17:05:41 -06:00
konradSC
5ff45c001f Filter out percent signs in transcriptions (#4419)
The percent sign (%) is a special character for gsub.
2019-08-08 03:48:55 -06:00
FusionPBX
bf1150be57 Update record_message.lua 2019-05-30 01:53:35 -06:00
Luis Daniel Lucio Quiroz
3808ed7430 Update record_message.lua 2019-05-03 23:54:51 -04:00
Luis Daniel Lucio Quiroz
bc91ede5f1 Add another way to use Azure Speech to Text service
This patch adds BING (legacy) some extra fault tolerance support. For those who still use Bing, Bing sometimes fails
It adds another way, which I think it is easier and faster (Azure). Among the outstanding things it has; just configure the zone, and use Memcache to store the access token as per Azure documentation, it saves a query (faster). It also returns the most likely right transcription (digging in the JSON)
2019-04-30 23:34:34 -04:00
FusionPBX
8a8a3e514a Update index.lua 2019-03-16 03:20:16 -06:00
FusionPBX
51802612ba Update macro.lua 2019-02-19 19:34:40 -07:00
FusionPBX
653b5a21a1 Update macro.lua 2019-02-19 19:33:25 -07:00
ednt
0ffb8d4c7d To allow recording termination when the extension is entered by menu (*98) (#3956)
It was not possible to terminate a recording with a keypress when *98 was used.
*98ext was working.
2019-01-09 13:49:08 -07:00
danry25
b16bbd9536 Minor variable renaming per IRC conversation (#3758) 2018-11-08 00:58:39 -07:00
danry25
3b090e175f Selfhosted Transcription Service (#3753)
* Added a simple selfhosted voicemail transcription API client

* Minor logging cleanup

* Add some string escaping to handle transcription providers

* Add JSON handling (optional) to selfhosted API
2018-11-07 00:39:20 -07:00
sergey-mz
2a99ebd1da Added check if transcription result is nil (#3724)
If the message is too short then the result is nil.
Error occurs in this case: record_message.lua:97: attempt to index field 'results' (a nil value) 
Added check if transcribe_json["results"] is nil.
2018-10-26 10:25:08 -06:00
FusionPBX
41a2a18a0a Update index.lua 2018-05-09 09:48:48 -06:00
FusionPBX
8bef63a8e0 Update index.lua 2018-05-09 09:07:40 -06:00
FusionPBX
ebe56cd38c Update index.lua 2018-05-09 09:01:56 -06:00
FusionPBX
a9458de5df Update record_greeting.lua 2018-04-30 10:32:05 -06:00
FusionPBX
3fb1e146ba Update send_email.lua 2018-03-24 15:16:33 -06:00
sergey-mz
929b79d5d0 Check for request errors and return empty string (#2957)
* ODBC DSN detection

* Merge remote-tracking branch 'upstream/master'

* Merge remote-tracking branch 'upstream/master'

* Spelling errors

* Requests to speech platform can fail
2018-01-11 11:26:39 -07:00
FusionPBX
f8575a15b1 Update index.lua 2018-01-02 19:53:03 -07:00
FusionPBX
82391b67ea Update main_menu.lua 2018-01-02 19:51:12 -07:00
FusionPBX
0408f79676 Update send_email.lua 2017-12-17 01:59:54 -07:00
FusionPBX
fc7ab309a4 Update send_email.lua 2017-12-17 01:51:39 -07:00
FusionPBX
b2fb19c3d6 Update email_body.tpl 2017-12-15 20:16:42 -07:00
FusionPBX
ecd9e5ef19 Update email_body.tpl 2017-12-15 20:16:23 -07:00
FusionPBX
a47415ceca Update email_body_transcription.tpl 2017-12-15 20:15:50 -07:00
Luis Daniel Lucio Quiroz
63e33731c2 Same as 4.2 (#2898) 2017-10-30 12:40:05 -06:00
konradSC
e6cfdd9ae0 Fix MWI for Extensions that with 0 (#2882)
* Fix MWI for Extensions that with 0

MWI was not turning off after messages were deleted for extensions that start with 0. This requires that real voicemail_id to be pulled from the database and not just taken from the destination number. To get around this we try to send mwi to the original vociemail_id (destination number) and voicemail_id_copy (from database). Index.lua is already doing something similar.

* Update listen_to_recording.lua

* Update menu_messages.lua
2017-10-17 22:23:40 -06:00
Alexey Melnichuk
ae7134d908 Change. Use BasicEventService to implement MWI service. (#2855) 2017-10-06 13:13:33 -06:00
konradSC
2bf5e15c83 Fix "invalid greeting" message played (#2860)
Fix "invalid greeting" message played on entry when pressing 5 for advanced, then 1 for record greeting.
2017-09-29 22:01:28 -06:00
konradSC
620eaf86d4 Update mwi_notify.lua (#2836)
Search all profiles for the sofia_contact. For some reason on server it would automatically search all profiles, but on the other servers I had to add "*/".
2017-09-11 08:53:57 -06:00
Tatermen
0c60d475a4 Use effective_caller_id_number instead of caller_id_number when storing voicemail messages. This resolves issue #2333. (#2728) 2017-09-01 09:32:06 -06:00
FusionPBX
db83ba74c2 Update mwi_notify.lua 2017-08-23 23:05:51 -06:00
konradSC
fc1c8e3a22 VM Password Complexity through the Phone (#2773)
* Update index.lua

Store password complexity settings as variables.

* Update macro.lua

Add macros for "password is below minimum length" and "password is not secure"

* Update change_password.lua

Adds the ability to check for password complexity and minimum length.

Also, fixes a bug where the password was changed if the caller hung up in the middle of changing their password.
2017-07-31 10:39:28 -06:00
konradSC
7ef72a7a8e Bug Fix: Not rerouting back to Advanced vm menu (#2768)
Need to pass in the "advanced" menu variable to functions in order to get back to Advanced menu.
2017-07-30 10:55:27 -06:00
FusionPBX
3a0db01a92 Create menu_messages.lua 2017-06-10 23:53:12 -06:00
FusionPBX
d9a4a8344a Create menu_messages.lua 2017-06-10 23:06:29 -06:00
FusionPBX
1342888163 Create index.lua 2017-06-10 23:03:22 -06:00
FusionPBX
8ca0847900 Create record_message.lua 2017-06-10 22:57:51 -06:00
FusionPBX
fbbd57f8c2 Create index.lua 2017-06-10 22:50:40 -06:00
FusionPBX
161adf5cad Update listen_to_recording.lua 2017-06-06 21:16:55 -06:00
FusionPBX
b6f85d9392 Update index.lua 2017-06-06 21:16:47 -06:00
FusionPBX
e394ab4475 Update on_dtmf.lua 2017-06-06 20:45:32 -06:00