Commit Graph

13407 Commits

Author SHA1 Message Date
markjcrane e0f9865d71 Fix the redirect for the ACL. 2015-09-14 19:08:06 -06:00
FusionPBX 82542c6ea6 Merge pull request #1146 from badcrc/master
Random ring groups
2015-09-14 10:38:18 -06:00
FusionPBX 9e0c8cffd9 Merge pull request #1149 from moteus/cache_class
Add Log and Cache classes
2015-09-14 10:27:47 -06:00
markjcrane b3c53ae6f5 Email template add indentation to make it more readable. 2015-09-11 16:18:40 -06:00
markjcrane b65d0b2053 Hide the email body from the email log. 2015-09-11 15:20:31 -06:00
markjcrane c21657cc7f Change the directory.lua xml parameter from sip_force_contact to sip-force-contact. 2015-09-11 14:04:38 -06:00
Alexey Melnichuk 6304c470cf Fix. load `file_exists` function 2015-09-10 14:36:30 +04:00
Alexey Melnichuk ebb61f955c Add. database class
```Lua
local Database = require "resources.functions.database"
local dbh = Database.new('system')

--get the domain_uuid
if (domain_uuid == nil) and (domain_name ~= nil) then
  local sql = "SELECT domain_uuid FROM v_domains "
  sql = sql .. "WHERE domain_name='" .. domain_name .. "';"
  domain_uuid = dbh:first_value(sql)
end

local dbh_switch = Database.new('switch') -- check also SQLite file.

local row = dbh_switch:first_row(sql)
if row then
  ...
end
```
2015-09-10 14:29:13 +04:00
markjcrane 83e5fe35c0 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-09-09 10:02:43 -06:00
markjcrane 42229e0738 This will hide outbound route toll allow lua from those wihtout the outbound_route_toll_allow_lua permission. This feature works only for countries that are hard coded in the toll allow code. So at this time preferred method of toll allow is via the dialplan. 2015-09-09 10:01:00 -06:00
markjcrane 1319723eae Remove a space and replace with a tab. 2015-09-09 09:43:00 -06:00
FusionPBX 8c8e3ce3c3 Merge pull request #1150 from moteus/save_disabled_forwadd_number
Fix. Allow change Call Forward number without enable it.
2015-09-09 09:32:22 -06:00
Alexey Melnichuk dcc08a2265 Fix. Not found is treat as success for delete operation. 2015-09-09 16:52:52 +04:00
Alexey Melnichuk 8391e996f0 Fix. Allow change Call Forward number without enable it. 2015-09-09 16:26:41 +04:00
Alexey Melnichuk 528d04b942 Add. Basic log class. 2015-09-09 10:45:49 +04:00
Alexey Melnichuk 4cb99be806 Add. Basic cache class
Fix. When memcache stopped and mod_memcache loaded dialplan did not build from DB.
2015-09-09 10:22:14 +04:00
markjcrane 0bf97e79bd Change DND from loopback/*99[ext] to error/user_busy. 2015-09-08 14:38:46 -06:00
markjcrane bde805bd4c Fix DND use error/user_busy instead of loopback/*99[extension] 2015-09-08 14:12:01 -06:00
markjcrane f9a7759a9f Update the domain code separate the domain code from the presentation. 2015-09-07 23:14:39 -06:00
markjcrane b1746acb97 Remove v_conference_center_users as v_meeting_users was used instead. 2015-09-07 14:52:15 -06:00
koldoa 4bba1c1faf This should add better compatibility for more database backends 2015-09-07 12:51:12 +02:00
koldoa b5e0708599 Better code for ring groups 2015-09-07 11:48:10 +02:00
koldoa 26459f7895 This should fix some of the group permissions issues from issue #1065 2015-09-07 10:47:57 +02:00
koldoa 319ee702ce Script for enterling/leaving a ring group, based on the fifo code 2015-09-07 08:51:22 +02:00
koldoa ee8e5e668a Merge branch 'master' of https://github.com/badcrc/fusionpbx 2015-09-07 08:34:12 +02:00
koldoa 4799974811 Detection of SQL backend for random functions 2015-09-07 08:33:34 +02:00
koldoa a4ab8ca633 Translation typo 2015-09-07 08:33:34 +02:00
koldoa 2047fa7859 Random strategy for ring groups 2015-09-07 08:33:34 +02:00
markjcrane be564502df This last change will enable do not disturb to update the user status which will then show in the operator panel. 2015-09-05 11:26:13 -06:00
markjcrane 5e1ea9fb7b Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-09-05 10:42:43 -06:00
markjcrane 84ee674f81 Fix the sql in the do_not_disturb.lua. 2015-09-05 10:42:22 -06:00
FusionPBX f4c171f33c Merge pull request #1145 from Len-PGH/patch-1
Update README.md
2015-09-05 10:19:34 -06:00
markjcrane 06ed8f2998 When *78 or *79 are used for DND update the user status and agent status. 2015-09-05 10:05:43 -06:00
Len ceafff2a9a Update README.md
Small edits made to Line 9 and 28
2015-09-05 11:49:42 -04:00
markjcrane f8c2ea5b22 Make the destinations more consistent. 2015-09-04 23:23:15 -06:00
markjcrane 31d727cab5 Count the destinations. 2015-09-04 23:18:13 -06:00
markjcrane b34f8baeb8 Add extension count. 2015-09-04 23:12:36 -06:00
markjcrane 4cfe899919 A few more minor adjustments. 2015-09-04 23:05:08 -06:00
markjcrane 2a3240c7c4 Add a fax server count. 2015-09-04 22:59:13 -06:00
markjcrane 6f389eedd8 Add count to voice mails and voice mail messages. 2015-09-04 22:38:48 -06:00
markjcrane 04521659b6 Move the includes in devices. 2015-09-04 22:23:01 -06:00
markjcrane 0900c143cd Add device count. 2015-09-04 22:19:11 -06:00
markjcrane 7cfd5da369 Change the format to display the count. 2015-09-04 22:06:09 -06:00
markjcrane 475cd23574 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-09-04 21:52:14 -06:00
markjcrane 4e9c06901a Show the number of users and move the registration count to the front. 2015-09-04 21:51:51 -06:00
FusionPBX a39cf4ebe6 Merge pull request #1144 from blackc2004/patch-2
y000000000037.cfg
2015-09-04 12:55:08 -06:00
FusionPBX 26617933b8 Merge pull request #1143 from blackc2004/patch-1
{$mac}.cfg
2015-09-04 12:54:43 -06:00
blackc2004 bbcda4e9bf y000000000037.cfg 2015-09-04 09:44:51 -07:00
blackc2004 3c8058b1c6 {$mac}.cfg 2015-09-04 09:38:48 -07:00
markjcrane 765d34668c Restore sip_from_user and 2 lines for continue to directory.lua. 2015-09-04 02:52:14 -06:00