Commit Graph

5491 Commits

Author SHA1 Message Date
markjcrane 9debc5a617 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-09-15 21:53:39 -06:00
markjcrane a7915f6dd9 Remove the is_numeric on format_phone. 2015-09-15 21:53:14 -06:00
FusionPBX 0b77b33d9a Merge pull request #1155 from moteus/cache_delete
Fix. `cache.del` method.
2015-09-15 21:04:59 -06:00
markjcrane 9eba74f645 Get the channel variable in a way that will work with hangup. 2015-09-15 10:09:16 -06:00
markjcrane bd1551a369 Add multi-lingual support to the missed call emails. 2015-09-15 08:49:37 -06:00
Alexey Melnichuk 0c35f41e65 Fix. `cache.del` method.
Fix. cache.set returns boolean value.
Add. basic self_test
2015-09-15 18:02:46 +04:00
markjcrane 852353605e Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-09-14 19:08:27 -06:00
markjcrane a02fae42bc Fix the redirect for the ACL. 2015-09-14 19:08:06 -06:00
FusionPBX 36a7d342b0 Merge pull request #1146 from badcrc/master
Random ring groups
2015-09-14 10:38:18 -06:00
FusionPBX 5b95f27207 Merge pull request #1149 from moteus/cache_class
Add Log and Cache classes
2015-09-14 10:27:47 -06:00
markjcrane 5f7565b07c Email template add indentation to make it more readable. 2015-09-11 16:18:40 -06:00
markjcrane 802f212ea8 Hide the email body from the email log. 2015-09-11 15:20:31 -06:00
markjcrane 16e0ea7e8c Change the directory.lua xml parameter from sip_force_contact to sip-force-contact. 2015-09-11 14:04:38 -06:00
Alexey Melnichuk d146029f59 Fix. load `file_exists` function 2015-09-10 14:36:30 +04:00
Alexey Melnichuk 60b0f48228 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 5115f74c32 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-09-09 10:02:43 -06:00
markjcrane 2fe5029223 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 4a21d7a19d Remove a space and replace with a tab. 2015-09-09 09:43:00 -06:00
FusionPBX d773036377 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 59823f97dc Fix. Not found is treat as success for delete operation. 2015-09-09 16:52:52 +04:00
Alexey Melnichuk cc73ae68c9 Fix. Allow change Call Forward number without enable it. 2015-09-09 16:26:41 +04:00
Alexey Melnichuk 8c2ea6e093 Add. Basic log class. 2015-09-09 10:45:49 +04:00
Alexey Melnichuk 029b806006 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 ec0479712c Change DND from loopback/*99[ext] to error/user_busy. 2015-09-08 14:38:46 -06:00
markjcrane 946012d023 Fix DND use error/user_busy instead of loopback/*99[extension] 2015-09-08 14:12:01 -06:00
markjcrane fd2c1d3fd0 Update the domain code separate the domain code from the presentation. 2015-09-07 23:14:39 -06:00
markjcrane 4043d1c48b Remove v_conference_center_users as v_meeting_users was used instead. 2015-09-07 14:52:15 -06:00
koldoa c52fd6c013 This should add better compatibility for more database backends 2015-09-07 12:51:12 +02:00
koldoa a737d217b6 Better code for ring groups 2015-09-07 11:48:10 +02:00
koldoa 99e66d5bfc This should fix some of the group permissions issues from issue #1065 2015-09-07 10:47:57 +02:00
koldoa 05cdf54596 Script for enterling/leaving a ring group, based on the fifo code 2015-09-07 08:51:22 +02:00
koldoa 2d309ef708 Merge branch 'master' of https://github.com/badcrc/fusionpbx 2015-09-07 08:34:12 +02:00
koldoa 5eeb5081e9 Detection of SQL backend for random functions 2015-09-07 08:33:34 +02:00
koldoa 15f3cd5514 Translation typo 2015-09-07 08:33:34 +02:00
koldoa 7a65bf2148 Random strategy for ring groups 2015-09-07 08:33:34 +02:00
markjcrane 672f2dffaf 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 cbb8be7279 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-09-05 10:42:43 -06:00
markjcrane 337dc7c822 Fix the sql in the do_not_disturb.lua. 2015-09-05 10:42:22 -06:00
FusionPBX 50509e81de Merge pull request #1145 from Len-PGH/patch-1
Update README.md
2015-09-05 10:19:34 -06:00
markjcrane 29ac20c1be When *78 or *79 are used for DND update the user status and agent status. 2015-09-05 10:05:43 -06:00
Len ce2d980bf3 Update README.md
Small edits made to Line 9 and 28
2015-09-05 11:49:42 -04:00
markjcrane a0c1fc2cb0 Make the destinations more consistent. 2015-09-04 23:23:15 -06:00
markjcrane 3b99f0d09c Count the destinations. 2015-09-04 23:18:13 -06:00
markjcrane 7bd5f9a1ba Add extension count. 2015-09-04 23:12:36 -06:00
markjcrane 971aef9b80 A few more minor adjustments. 2015-09-04 23:05:08 -06:00
markjcrane 0c43e85123 Add a fax server count. 2015-09-04 22:59:13 -06:00
markjcrane 0d8cb2c36d Add count to voice mails and voice mail messages. 2015-09-04 22:38:48 -06:00
markjcrane 3731eb9190 Move the includes in devices. 2015-09-04 22:23:01 -06:00
markjcrane 675c85b85e Add device count. 2015-09-04 22:19:11 -06:00
markjcrane 808846ebca Change the format to display the count. 2015-09-04 22:06:09 -06:00