Commit Graph

39 Commits

Author SHA1 Message Date
FusionPBX e8e28e834b Update index.lua 2019-11-04 17:01:35 -07:00
FusionPBX 0eff03860b Update index.lua 2019-11-01 14:19:44 -06:00
FusionPBX 3ebe812138 Update index.lua 2019-11-01 13:22:01 -06:00
FusionPBX 53de555067 Update index.lua 2019-11-01 13:19:53 -06:00
FusionPBX 2f4c48115c Update index.lua 2019-11-01 12:57:38 -06:00
FusionPBX 344c9743f2 Update index.lua 2019-10-31 15:37:16 -06:00
FusionPBX cbb3c1ecda Update index.lua 2019-10-31 15:05:31 -06:00
FusionPBX c217957c8f Update index.lua 2019-10-31 14:30:56 -06:00
FusionPBX 53276ec2c3 Update index.lua 2019-10-31 13:48:55 -06:00
FusionPBX 3d589b555c Update index.lua 2019-10-28 17:20:26 -06:00
FusionPBX cf6a53d7b8 Create index.lua 2019-10-28 09:19:52 -06:00
FusionPBX 527e40076d 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
emaktech e1a54c9ec9 Fix Call Block Type Setting Check
When setting call_block_matching, the setting was not being evaluated as true because it was looking for 'call block' group when the actual name is 'call_block'.

Adding the underscore fixes this small syntax issue and the setting works correctly.
2019-05-28 14:27:29 -04:00
FusionPBX 8439adbfa2 Update index.lua 2018-12-19 00:24:50 -07:00
FusionPBX d754e4449c Update index.lua 2018-12-18 23:44:33 -07:00
FusionPBX 9579a52c33 Update index.lua 2018-12-18 23:43:35 -07:00
FusionPBX ff63c7ce1a Update index.lua 2018-12-18 20:08:42 -07:00
FusionPBX dfca1ba15e Update index.lua 2018-12-18 20:06:39 -07:00
The-Operator 593f8ac9a9 Enhance Call Blocking [master] (#2988)
* Added support for regular expressions in the numbers to be blocked.
Reduced the caching timeout, as the counter is only incremented when a call is blocked and the number is not cached.

* Added default sort order.

* Added option to switch on/off use of regular expression matching for pgsql and mysql.

* Added support for sqlite and updated default number match to "LIKE" as suggested by MafooUK on IRC.

* Selection of behavior (default [=], regex or like matching) is now done via the variable call_block_matching = regex|like|EMPTY - type text - in the Call Block section of Default Settings.

* Updated comment to match new matching.
2018-05-08 08:50:57 -06:00
Alexey Melnichuk 928b1afb72 Add. Use params in call_block/index.lua (#2161) 2016-11-23 02:18:36 -07:00
FusionPBX 0e9d56c9ed Update index.lua 2016-11-18 10:20:21 -07:00
Alexey Melnichuk 6c3dce77d9 Add. Use parameters in cidlookup.lua and call_block app (#2096) 2016-11-18 10:16:22 -07:00
FusionPBX 64623eaf40 Update index.lua 2016-11-05 23:36:26 -06:00
SJS87 7fae6c9d4e Update call_block index.lua script (#1580)
We've had instances where special characters (other than +) are used in the caller_id_number field which prevents these calls from being detected using the call_block feature. We've resolved this by updating fusionpbx/resources/install/scripts/app/call_block/index.lua line 49 to match only numbers rather than using a gsub replace.
2016-09-04 13:03:03 -06:00
mafoo 0eb7d5ddac WhitespaceClean-resources/install/scripts
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 13:21:52 +00:00
markjcrane af64f66cc7 Fix a null error and translation for select option voicemail. 2015-10-19 20:58:16 -06:00
markjcrane 5d3ecc30c8 Add hold music option and update the call_block dialplan. 2015-10-19 18:30:55 -06:00
Alexey Melnichuk 69717e31d5 Revert "Revert "Change. Use `require "resources.functions.config"` to load co…" 2015-08-11 05:06:33 +03:00
FusionPBX d1f3b05cf6 Revert "Change. Use `require "resources.functions.config"` to load config file." 2015-08-10 11:50:29 -06:00
Alexey Melnichuk a8142f527a Change. Use only `require` to load function.
Fix. Remove multiple definition of same function.
2015-08-10 12:43:06 +04:00
Mark Crane 8dfa5039d1 Call block standardize on domain_name 2014-07-30 01:01:41 +00:00
Mark Crane da152333cf Fix call block the last change inadvertantly removed some code from call block 2014-07-12 21:49:05 +00:00
Mark Crane f0b33c3492 Adjust the tabbing and remove cmd C option from call_block lua script 2014-07-12 21:15:01 +00:00
Mark Crane d228289c45 Add memcache to call block 2014-07-12 12:01:19 +00:00
Mark Crane 33cc59fd28 Fix one more thing in call block 2014-07-12 02:59:02 +00:00
Mark Crane 7e45639c25 Add call block default dialplan 2014-07-12 02:31:48 +00:00
Nuno Miguel Reis 2d31c971df fixed to be used like this: lua/luarun app.lua call_block C 2014-01-21 05:12:57 +00:00
Mark Crane fdb9589245 Rename the fields in call_block to conform with the database naming convention and to match the table name. 2013-09-27 10:21:43 +00:00
Mark Crane f94aaf31c3 Move the call block scripts to the install/scripts/app directory for now. 2013-09-27 09:06:28 +00:00