Commit Graph

1420 Commits

Author SHA1 Message Date
FusionPBX 4218120988
Update directory.lua 2019-11-19 12:02:00 -07:00
FusionPBX f097c13ab1
Update callcenter.conf.lua 2019-11-11 17:38:10 -07:00
agree 942a3155cd Update disa.lua (#4836) 2019-11-11 09:21:36 -07:00
FusionPBX 42cdca5f81
Update index.lua 2019-11-04 17:01:35 -07:00
FusionPBX a91e9b2d95
Update index.lua 2019-11-01 14:19:44 -06:00
FusionPBX be00a3a7e7
Update index.lua 2019-11-01 13:22:01 -06:00
FusionPBX 33aa937798
Update index.lua 2019-11-01 13:19:53 -06:00
FusionPBX ba5f19a00b
Update index.lua 2019-11-01 12:57:38 -06:00
FusionPBX 17b512e5a1
Update index.lua 2019-10-31 15:37:16 -06:00
FusionPBX 6b4421ffbb
Update index.lua 2019-10-31 15:05:31 -06:00
FusionPBX e2a7af3e22
Update index.lua 2019-10-31 14:30:56 -06:00
FusionPBX 7a6fac2771
Update index.lua 2019-10-31 13:48:55 -06:00
FusionPBX 1f7c6304d5
Update index.lua 2019-10-30 19:52:31 -06:00
FusionPBX 560036a5e6
Update index.lua 2019-10-28 17:20:26 -06:00
FusionPBX fdf6638243
Create index.lua 2019-10-28 09:19:52 -06:00
FusionPBX ccd39a1873
Delete index.lua
Deleting this file because I've written a new call block lua script entirely from scratch without referring to this code.
2019-10-28 09:18:55 -06:00
FusionPBX 5cc6dae435
Update index.lua 2019-10-24 20:55:42 -06:00
FusionPBX 95ef1a5a71
Update disa.lua 2019-10-24 14:19:42 -06:00
FusionPBX 45de444593
Update disa.lua 2019-10-24 14:17:50 -06:00
FusionPBX 9085893ead
Update disa.lua 2019-10-24 14:15:41 -06:00
Andy-Seattle 52f57ba5c1 Update fax_retry.lua (#4756)
Setting ignore_early_media=true has a better chance of success for T38 fax transmissions. 

Setting this as a fax variable in default settings is enough for most cases where a successful transmission occurs on the first attempt. However if fax retries are needed this variable was ignored until now.

This change ensures that IF the user sets ignore_early_media=true as a default fax setting it will also be used for fax retry scenarios when T38 is enabled. If ignore_early_media is not set to true then the changes here are ignored thus minimizing risk.
2019-10-21 13:02:49 -06:00
mtghr 2b19eb1cc2 Update disa.lua (#4775)
it pulling the caller id name for the number
2019-10-13 16:13:53 -07:00
FusionPBX 0148ea5889
Update follow_me.lua 2019-10-12 09:13:22 -06:00
FusionPBX e8e98ba431
Update follow_me.lua 2019-10-12 09:06:40 -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
FusionPBX 3fad9522b7
Update index.lua 2019-10-07 15:38:19 -06:00
agree 39a8b5156a Update index.lua (#4753)
* Update index.lua

* Update index.lua
2019-10-06 11:05:16 -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
FusionPBX c423e0b476
Update index.lua 2019-10-02 14:08:49 -06:00
FusionPBX 107ca90a52
Update index.lua 2019-10-02 12:06:39 -06:00
FusionPBX 91b4c22abc
Update index.lua 2019-10-02 02:46:57 -06:00
FusionPBX 65843df497
Update disa.lua 2019-10-01 17:02:41 -06:00
FusionPBX ad3cd8b7ef
Update disa.lua 2019-10-01 13:05:36 -06:00
FusionPBX 9a19d553db
Update disa.lua 2019-10-01 12:58:16 -06:00
Stephen Forster 41479a6fbe Fix table name, variables and syntax Follow me Lua (#4609)
* Fix table name, variables and syntax Follow me Lua

Correct the wrong table name on line 123. Correct the param on line 126 and correct the syntax on line 347.

* Update index.lua

Missing AND in where clause.

* Change order of preference Caller ID

Changed order of preference for Caller ID. If user exists should take preference over Follow Me override select caller ID.

This is my preference and my opinion only. May not be the desired effect of others. Perhaps a select option to choose a preference like the following options: Set caller ID override all, Local user else Caller ID
2019-09-30 17:18:27 -07:00
FusionPBX f50b7be40a
Update disa.lua 2019-09-29 15:35:26 -06:00
FusionPBX e4aba15a93
Update directory.lua 2019-09-27 20:45:32 -06:00
FusionPBX c71aaf4002
Update directory.lua 2019-09-27 18:36:15 -06:00
agree b023ef08dc Update index.lua (#4663) 2019-09-26 15:31:57 -06:00
FusionPBX 9535eea24b
Update recordings.lua 2019-09-25 16:46:52 -06:00
Luis Daniel Lucio Quiroz 29d08cbf52 [4.5] Fix the cidlookup script (#4630)
* [4.5] Fix the cidlookup script

same as 4.4

* Update cidlookup.lua
2019-09-20 10:38:15 -06:00
FusionPBX ca6b646667
Update do_not_disturb.lua 2019-09-11 13:26:37 -06:00
agree ff40a58c2d Update page.lua (#4510)
* Update page.lua

* Update page.lua
2019-09-11 02:40:56 -06:00
konradSC f174a9f5af Calculate timeout for Follow-me (#4528)
* Calculate timeout for Follow-me

Need to calculate the timeout for Enterprise RG members that have extensions with follow-me. 

The RG timeout should always take precedence over a follow-me timeout value. What we do is take the delay of the follow-me destination and subtract that from the ring group timeout to give us the total timeout of the destination. 

Example: 
RG 1: x1000 (Delay=0, Timeout=10)
RG 2: x2000 (Delay=10, Timeout=10)

x2000 has follow-me enabled
FM 1: x2000 (Delay=0, Timeout=15)
FM 2: x3000 (Delay=5, Timeout=20)

In this example we would want x2000 ring for 10 seconds and x3000 to ring for 5 seconds. 

What if we changed this... FM 2: x3000 (Delay 15, Timeout=20)

In this example we wouldn't want x3000 to ring at all because it would start to ring after the RG timeout has expired. Our calculated value would be a negative value, -5. These negative values don't work as leg_timeouts in the dialstring, so we need to test for them.

* Update index.lua

* Update index.lua
2019-09-09 14:05:53 -06:00
konradSC f000ac3084 Fix delay for external follow-me calls (#4526)
This is related to 9dcaddd814 (diff-b1f5588538149bd825603176ff81d714).

For internal calls the delay needs to be "Delay In Seconds * 500".
For external calls the delay needs to be "Delay In Seconds * 10000". 

For external calls I'm am just doubling the value set prior in the script.
2019-09-09 11:22:35 -06:00
konradSC 95d8d4a463 Enterprise RG with Follow-Me (#4524)
We need to make sure that the delay for the leg takes into account the delay from the RG and from Follow-me. 

Also, let's use the timeout from the RG instead of the follow-me member
2019-09-09 10:50:31 -06:00
konradSC 201081c512 Use original_destination_number for timeout (#4521)
Need to lookup the timeout values for the original destination. The variable "destination_number" is being clobbered later in the script.
2019-09-09 08:40:54 -06:00
FusionPBX cb76e9a901
Update index.lua 2019-09-06 03:37:07 -06:00
FusionPBX 600486fd13
Update do_not_disturb.lua 2019-09-05 13:43:49 -06:00
FusionPBX b2245fbe64
Update do_not_disturb.lua 2019-09-05 11:01:59 -06:00