Commit Graph

5448 Commits

Author SHA1 Message Date
FusionPBX 3211e08acc
Update header.php 2019-09-10 23:19:46 -06:00
Nate c7d5c2a7cf Users: Prevent duplicate usernames. 2019-09-10 19:23:14 -06:00
FusionPBX 7f735837dd
Update schema.php 2019-09-10 17:50:41 -06:00
benwiesner1 b1958a47d4 Update {$mac}.cfg (#4534)
changed analog headset to if isset
if its not set within the device settings itself then polycom errors this as invalid
2019-09-10 14:29:06 -06:00
benwiesner1 dda6d4ab66 Update {$mac}.cfg (#4531)
added syslog as (IF SET)
changed video settings to (if set) VVX and 600 only
updated bluetooth to (IF Set) VVX 600 only
2019-09-10 13:53:16 -06:00
FusionPBX b77ab0d936
Update destinations.php 2019-09-10 13:50:42 -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
Nate 1a511e68a7 Update functions.php 2019-09-09 06:06:53 -06:00
benwiesner1 ce85fa8e24 Update {$mac}.cfg (#4514) 2019-09-06 13:36:45 -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
Len e82c4987f4 Update {$mac}.xml (#4499) 2019-09-05 12:44:49 -06:00
FusionPBX b3b88c4c0e
Update {$mac}.xml 2019-09-05 12:23:57 -06:00
FusionPBX 99bc012c77
Update {$mac}.xml 2019-09-05 12:23:17 -06:00
FusionPBX 757e306ecf
Update {$mac}.xml 2019-09-05 12:22:54 -06:00
FusionPBX f84ef689dd
Update {$mac}.xml 2019-09-05 12:21:43 -06:00
FusionPBX 37d4a0ae91
Update {$mac}.xml 2019-09-05 12:20:41 -06:00
FusionPBX 6b39e548ca
Update {$mac}.xml 2019-09-05 12:19:42 -06:00
FusionPBX de76089d10
Update {$mac}.xml 2019-09-05 12:16:22 -06:00
FusionPBX 68886f9b35
Update {$mac}.xml 2019-09-05 12:14:29 -06:00
FusionPBX 779384d844
Update {$mac}.xml 2019-09-05 12:13:47 -06:00
FusionPBX 3ccea5cb2f
Update {$mac}.xml 2019-09-05 12:12:58 -06:00
FusionPBX b2245fbe64
Update do_not_disturb.lua 2019-09-05 11:01:59 -06:00
konradSC 6b7383122c Populate toll-allow for Enterprise Ring Groups (#4496)
Add toll_allow to dialstring for external numbers
2019-09-04 13:05:57 -06:00
konradSC 6e4cd77132 Toll-allow into dialstring for external calls (#4495)
Insert toll-allow from the original extension into the dialstring for external calls.
2019-09-04 11:30:51 -06:00
FusionPBX 57a0a18759
Update header.php 2019-09-04 11:20:27 -06:00
FusionPBX 535e359fce
Update header.php 2019-09-04 11:11:04 -06:00
FusionPBX 4bac5127a7
Update follow_me.lua 2019-09-04 10:22:11 -06:00
FusionPBX f0efd48079
Update follow_me.lua 2019-09-04 10:01:26 -06:00
FusionPBX 8f250bf705
Update follow_me.lua 2019-09-04 09:42:42 -06:00
agree 7747d5c88e Update follow_me.lua (#4491) 2019-09-04 09:35:05 -06:00
Nate f22d5574c7 Misc Classes: Database class integration. 2019-09-04 06:44:50 -06:00
FusionPBX 9a6ba3c2de
Update {$mac}.cfg 2019-09-03 16:56:25 -06:00
FusionPBX 6e4223c6ba
Update {$mac}.cfg 2019-09-03 16:49:25 -06:00
Nate 31649b5580 Menu Class: Database class integration. 2019-09-03 09:59:37 -06:00
Nate fabda61963 Misc Classes: Database class integration. 2019-09-02 15:57:18 -06:00
FusionPBX eb0023903e
Update index.lua 2019-09-02 08:32:50 -06:00
FusionPBX 312f3655a9
Update index.lua 2019-09-02 08:29:25 -06:00
FusionPBX 01f11b4153
Update index.lua 2019-09-01 08:05:43 -06:00
FusionPBX 53641bcb46
Update index.lua 2019-09-01 07:41:57 -06:00
FusionPBX 29858e9a0b
Update index.lua 2019-08-31 13:05:01 -06:00
FusionPBX b2694fe88d
Update index.lua 2019-08-31 12:54:03 -06:00
FusionPBX 931213f54b
Update index.lua 2019-08-31 11:28:31 -06:00
FusionPBX edbe421c6d
Update index.lua 2019-08-31 04:03:59 -06:00
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
Nate 0d0f25b108 Remove unnecessary permission object instatiations. 2019-08-30 19:29:04 -06:00