Commit Graph

5328 Commits

Author SHA1 Message Date
Alexey Melnichuk 92baa64183 Add. intercept for fifo calls 2015-09-23 14:40:05 +04:00
Alexey Melnichuk 8976d5e5b3 Add. intercept for call center calls 2015-09-23 13:08:22 +04:00
Alexey Melnichuk e2edd740c3 Merge remote-tracking branch 'upstream/master' into intercept_enterprise_group 2015-09-23 09:54:43 +04:00
markjcrane 42924ccead Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-09-22 18:36:23 -06:00
markjcrane 6a796d37e0 Add comment out the hidden field for now. 2015-09-22 18:36:09 -06:00
markjcrane d0c42fff37 Comment out unset autocomplete for the moment. 2015-09-22 18:35:20 -06:00
Alexey Melnichuk e5a0134ec6 Fix. Intercept enterprise ring group.
With enterprise call each outbound channel has its own call_uuid.
But we have to use `intercept` for call_uuid of inbound channel.
2015-09-22 19:33:41 +04:00
FusionPBX e25a1409ff Merge pull request #1161 from moteus/cdr_detail_showall
Fix. Show CDR details when set `showall`
2015-09-21 09:13:43 -06:00
markjcrane a4b7af3560 Another case where automcomplete bombs. Accounts -> Extensions password is used for registration not for a login. In FusionPBX if the password is left empty it would automatically create a new password. However auto complete instead puts in the login password this is an undesirable bug that this update fixes by adding a honey pot for the password. 2015-09-19 18:19:23 -06:00
markjcrane 969e02328e Fix the removal of the autocomplete field. 2015-09-19 18:13:15 -06:00
markjcrane a7079e337c Adding autocomplete="off" back in case browser developers realize there are legitimate reasons to use it. 2015-09-19 18:02:31 -06:00
markjcrane ba83a0f99e Another situation where autocomplete=off prevented a bug. Provisioning a devcie by adding sip registration information for device provisioning in this case autocomplete always fills in incorrect information. 2015-09-19 17:59:07 -06:00
markjcrane 6e11352ff7 Another case where autocomplete creates a problem. New user account creation does not benefit from autocomplete. It assumes the user is the currently logged in user which is not what you want on a form to add new users. This code adds an autocomplete honey pot to defeat the browser developers poor assumption. 2015-09-19 17:51:16 -06:00
markjcrane f8aa2ec207 Browser developers disabled autocomplete in most browser. A move that makes an assumption that autocomplete is always good. In this particular case it creates a bug. There are a few legitimate reasons to disable autocomplete. In this case I'm disabling it as we are only updating the password when its provided by the user. In this case the user may be and administrator changing a user a password in this case autocomplete would offer the wrong password. Another case have two password fields that must match if both passwords are empty then the passwords are not updated allowing for other user settings to be updated. 2015-09-19 17:42:02 -06:00
Alexey Melnichuk 1d4e62b2f5 Fix. Show CDR details when set `showall` 2015-09-18 12:04:52 +04:00
markjcrane 6010ade8d6 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-09-15 21:53:39 -06:00
markjcrane aebea2c55d Remove the is_numeric on format_phone. 2015-09-15 21:53:14 -06:00
FusionPBX a153cef9d8 Merge pull request #1155 from moteus/cache_delete
Fix. `cache.del` method.
2015-09-15 21:04:59 -06:00
markjcrane cd0c777f6b Get the channel variable in a way that will work with hangup. 2015-09-15 10:09:16 -06:00
markjcrane 94749f105d Add multi-lingual support to the missed call emails. 2015-09-15 08:49:37 -06:00
Alexey Melnichuk 7191eae559 Fix. `cache.del` method.
Fix. cache.set returns boolean value.
Add. basic self_test
2015-09-15 18:02:46 +04:00
markjcrane 87e27dd905 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-09-14 19:08:27 -06:00
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