Commit Graph

1406 Commits

Author SHA1 Message Date
FusionPBX 87047544f5
Delete index.php 2019-08-31 01:46:26 -06:00
FusionPBX ab8e967300
Create index.lua 2019-08-31 01:44:46 -06:00
FusionPBX 310b89a114
Create index.php 2019-08-29 09:11:42 -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 666bc47e4c
Update recordings.lua 2019-08-17 15:49:15 -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 c2c9800251
Update recordings.lua 2019-08-17 14:37:08 -06:00
FusionPBX 97eb9382d3
Update recordings.lua 2019-08-17 14:28:26 -06:00
FusionPBX a94e40484d
Update recordings.lua 2019-08-17 14:18:25 -06:00
FusionPBX 0e65b4723f
Update 010_get_domain.lua.noload 2019-08-11 17:10:00 -06:00
FusionPBX 794d1cf375
Update disa.callback.lua 2019-08-11 17:08:45 -06:00
FusionPBX 9a82d3afc1
Update disa.callback.lua 2019-08-11 17:07:57 -06:00
FusionPBX 6b24951874
Update index.lua 2019-08-11 17:05:41 -06:00
FusionPBX d9023b530e
Update ring_member.lua 2019-08-11 17:03:06 -06:00
FusionPBX 3e233d1803
Update destination.lua 2019-08-11 17:02:22 -06:00
FusionPBX af6d0d0965
Update index.lua 2019-08-11 16:55:12 -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 5ac1ee761f
Update sofia.conf.lua 2019-08-08 02:21:35 -06:00
FusionPBX 95f80d6b1a
Update page.lua 2019-08-04 13:59:23 -06:00
FusionPBX 0f10a0a01e
Update index.lua 2019-06-28 13:12:04 -06:00
emaktech 9dcaddd814 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
FusionPBX 5aeaf79d90
Update hangup_rx.lua 2019-06-14 23:59:37 -06:00
FusionPBX 49038db08c
Update fax_retry.lua 2019-06-14 23:56:56 -06:00
FusionPBX b71a333d40
This code actually breaks inbound fax email. Commented it out and it works again. 2019-06-11 18:42:58 -06:00
FusionPBX 57f6309744
Update hangup_rx.lua 2019-06-11 02:58:52 -06:00
blackwolfresearch 51fcd89756 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
jpattWPC e1efd90943 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
FusionPBX a98e5087cf
Update index.lua 2019-06-03 08:24:13 -06:00
Bryan Redeagle 1f5cae758f Added support for Digium D-Series phones. (#4229) 2019-06-02 10:01:54 -06:00
FusionPBX 3333cd4dea
Update index.lua 2019-06-01 15:07:49 -06:00
FusionPBX bf1150be57
Update record_message.lua 2019-05-30 01:53:35 -06:00
emaktech 0d78e776db
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 ab8fd432ed
Update dialplan.lua 2019-05-23 13:48:21 -06:00
FusionPBX 4367f2b589
Merge pull request #4067 from daniel-lucio/patch-106
Add another working way to use Azure Speech to Text service
2019-05-21 10:58:14 -06:00
Adrian Fretwell ec41f8efca
Update cidlookup.lua
Added and optional parameter, argv[2], to take a domain_uuid.  This is to fix an issue where if two contact records exist with the same phone number, but in different domains, the CID lookup would always pick the same contact record irrespective of which domain the inbound number belonged to.
2019-05-18 12:21:33 +01: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 b4762a2265
Update index.lua 2019-04-29 14:38:46 -06:00
FusionPBX 6f63f70993
Update follow_me.lua 2019-04-24 09:06:16 -06:00
FusionPBX 15f60e8423
Update send_mail.lua 2019-04-18 09:44:09 -06:00
FusionPBX 0fac90e387
Update index.lua 2019-04-10 09:46:30 -06:00
FusionPBX c3cbaeea86
Update index.lua 2019-04-10 09:40:36 -06:00
FusionPBX f1954bfe29
Update index.lua 2019-03-22 18:30:17 -06:00
FusionPBX e202694c66
Update recordings.lua 2019-03-19 17:31:53 -06:00
FusionPBX 8a8a3e514a
Update index.lua 2019-03-16 03:20:16 -06:00
FusionPBX d019c3cc82
Update recordings.lua 2019-03-14 23:41:06 -06:00
FusionPBX 741d53288b
Update directory.lua 2019-02-20 10:34:19 -07:00
FusionPBX ebeabc958b
Update index.lua 2019-02-20 09:57:37 -07:00
FusionPBX 43542213bd
Update index.lua 2019-02-20 08:34:18 -07: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
FusionPBX 216ac099e3
Update index.lua 2019-02-12 18:22:35 -07:00
FusionPBX 0420d20440
Update index.lua 2019-02-09 08:17:30 -07:00
FusionPBX de5e2213f1
Update 010_user_record.lua.noload 2019-02-08 08:10:06 -07:00
FusionPBX 6909e2abf3
Update index.lua 2019-02-05 19:55:24 -07:00
FusionPBX 7ad76f2077
Update 010_get_domain.lua.noload 2019-02-05 19:34:34 -07:00
FusionPBX ce842f9bd8
Update directory.lua 2019-02-05 19:26:26 -07:00
FusionPBX 1a17d73089
Update dial_string.lua 2019-02-05 18:22:29 -07:00
FusionPBX fa232dc6c5
Update index.lua 2019-02-05 18:14:28 -07:00
FusionPBX 46203abf6a
Update languages.lua 2019-02-03 12:54:37 -07:00
FusionPBX ebd99156f1
Update dialplan.lua 2019-02-03 12:51:03 -07:00
FusionPBX 156cc06dc5
Update index.lua 2019-02-02 18:00:59 -07:00
FusionPBX cfa40bcdc5
Update call_forward.lua (#3976) 2019-01-24 22:55:52 -07:00
konradSC a90fc77176 Ring Groups with Follow-Me (#3970)
Two things:

1. Follow-me should only kick in when using "Enterprise". As it was written, follow-me was looked at for every strategy. 

2. Follow-me destinations were writing to 'destinations[x]'. They should write to 'destinations[key]' so they rewrite the current destination that is being analyzed.
2019-01-22 11:03:28 -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
FusionPBX a013c5fc05
Update index.lua 2019-01-03 17:20:33 -07:00
FusionPBX 21c0c3492e
Update index.lua 2018-12-23 12:07:24 -07:00
borisk1976 2771fe837a Update index.lua (#3953)
When bridge application ends with "originate_disposition: ALLOTTED_TIMEOUT" for example, the "missed call" feature doesn't work for ring group because of hangup hook isn't called. Should we just avoid using this channel variable or add additional processing at the end? Like for timeout action? I choose to call "missed" at the end of script. But may be we should add it to other places too?
2018-12-23 12:06:40 -07:00
FusionPBX 6a08d9d1cc
Update index.lua 2018-12-19 00:24:50 -07:00
FusionPBX 46976455a4
Update index.lua 2018-12-18 23:44:33 -07:00
FusionPBX 7f231c775b
Update index.lua 2018-12-18 23:43:35 -07:00
FusionPBX e1792f5612
Update index.lua 2018-12-18 20:08:42 -07:00
FusionPBX ec80177c41
Update index.lua 2018-12-18 20:06:39 -07:00
konradSC 511594a5c2 Update recordings.lua (#3941)
Keep recording descriptions when overwriting a slot.
2018-12-10 09:30:02 -07:00
konradSC b402cca8ba Update recordings.lua (#3937)
Bug fix. Allow for nil and blank entries.
2018-12-07 12:13:05 -07:00
Zachary Kitchen f4e022ec04 Fix IVR (#3898)
IVR was broken after previous update/change.
2018-12-04 00:15:02 -07:00
timando 804b7ca91e Make storage_path and storage_type = http_cache work (#3892)
* Make storage_path work

if storage_path was set, the script would fail. I have fixed it by removing the references to unset variables. I also made the recordings use the path.

* Update ivr.conf.lua

Add storage_path definition so storage_type of http_cache works correctly
2018-12-03 20:25:04 -07:00
konradSC 2843c947b0 BLF of agent status "agent+username@domain.com (#3860)
* BLF of agent status "agent+username@domain.com

Add the ability to monitor the availability status of a call center agent with "agent+agentname@domain.com".

* Update index.lua

Send notify to blf with "agent+agentname@domain.com"
2018-11-19 16:39:54 -06: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
FusionPBX 9d0be4c15d
Update events.lua 2018-11-01 15:07:16 -06:00
FusionPBX 4bd0295b67
Update index.lua 2018-10-30 21:44:31 -06: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 663d592489
Update follow_me.lua 2018-10-05 14:08:42 -06:00
FusionPBX dabcef8992
Update index.lua 2018-10-05 13:42:49 -06:00
FusionPBX 74d9df937b
Update events.lua 2018-09-19 03:01:09 -04:00
FusionPBX 27d713e790
Update events.lua 2018-09-19 02:59:51 -04:00
FusionPBX a3a626e6aa
Create events.lua 2018-09-19 02:54:56 -04:00
FusionPBX 45124a9599
Update send.lua 2018-09-19 02:51:40 -04:00
konradSC 1408cc2029 Update file_cache.lua (#3483)
A little space please!
2018-09-18 13:06:44 -06:00
FusionPBX 1e04bb4218
Create send.lua 2018-09-16 21:59:42 -06:00
FusionPBX 1bed4f35a3
Update directory.lua 2018-09-10 13:36:55 -06:00
konradSC 00966a4735 Update file_cache.lua (#3402)
Run OS command through Freeswitch for better performance. Running OS commands directly from lua can cause RTP timing issues.
2018-09-06 17:45:33 -06:00
FusionPBX 254e2448a2
Update index.lua 2018-08-26 11:30:47 -06:00
FusionPBX aa7760c9d3
Update index.lua 2018-08-24 13:57:16 -06:00
FusionPBX 9b71358cd3
Update index.lua 2018-08-24 13:55:32 -06:00
FusionPBX e47af57b08
Update directory.lua 2018-08-14 11:02:47 -06:00
FusionPBX 6ffd12adf4
Update confirm.lua 2018-08-06 12:18:22 -06:00