Commit Graph

31 Commits

Author SHA1 Message Date
FusionPBX ddf5cd558a Update intercept.lua 2017-05-19 01:21:19 -06:00
FusionPBX a074819270 Update intercept.lua 2017-05-19 01:17:08 -06:00
FusionPBX 6bdc5784b7 Update intercept.lua 2017-05-19 01:07:05 -06:00
Alexey Melnichuk cddb1da5a9 Fix. Group intercept with not empty group name (#2232) 2016-12-07 23:47:37 -07:00
Alexey Melnichuk 4ba9e89765 Fix. Find call_group with NULL in intercept.lua (#2169) 2016-11-24 03:04:52 -07:00
Alexey Melnichuk d902fb6479 Add. Use params in intercept.lua (#2113) 2016-11-21 21:51:11 -07:00
FusionPBX 38c43217ce Update intercept.lua
Account for core.db in intercept.lua
2016-05-12 23:06:45 -06:00
markjcrane 295e63c704 Commented out the new database handle --local dbh = Database.new('switch') as it has a bug when freeswitch is using the DSN with the PostgreSQL driver. This change works around this problem by using the original database handler. 2016-05-12 20:43:57 -06:00
Alexey Melnichuk 07b2858852 Add. optional intercept only inbound/outbound calls.
Note.
  * `inbound` is call to some extension
  * `outbound` is call from some extension to external number.

Currently there no way to find call from extension to extension as `outbound`
2016-04-18 16:06:27 +03: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
Alexey Melnichuk 31a0392577 Fix. Call intercept - a scenario where an outgoing call can be intercepted
This is same changes as in #1209.
2015-11-12 14:11:05 +03:00
Alexey Melnichuk bea4a02056 Fix. Intercept can find wrong channel. 2015-11-10 22:41:34 +03:00
Alexey Melnichuk 54aca55836 Use local variables. 2015-10-25 09:57:20 +03:00
Alexey Melnichuk c38d19b899 Change. Reduce search parent host name.
This can be done because child and parent channels have to be on same FS.
2015-09-28 11:35:12 +04:00
Alexey Melnichuk e8aee11931 Add. Support intercept FIFO/CallCenter/Enterprise in load balancing mode.
Change. `intercept.lua` and `intercept_group.lua` merge in one `intercept.lua` file.
Call `intercept.lua` without arguments behave like `intercept_group.lua`.
2015-09-25 15:30:57 +04:00
Alexey Melnichuk 9e538f4b71 Add. intercept for fifo calls 2015-09-23 14:40:05 +04:00
Alexey Melnichuk 8720866ce9 Add. intercept for call center calls 2015-09-23 13:08:22 +04:00
Alexey Melnichuk 279f194b39 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
markjcrane 46e9bdc49f Remove outbound restriction for intercept. 2015-08-12 23:38:46 -06:00
Alexey Melnichuk 1bac6fa097 Fix. Allow intercept only outbound calls.
Now it is possible intercept call from local extension to the world.

Fix. intercept channels also in EARLY state.

One of my softphones return 180 Ringing with SDP (no 183 Progress).
And FreeSWITCH shows such channel as `EARLY` not as `RINGING`)
2015-08-12 10:09:56 +04: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
Alexey Melnichuk 2234b42c07 Change. Use `require "resources.functions.config"` to load config file.
Change. Move `script_dir` definition into config file.
2015-07-22 13:20:51 +04:00
Mark Crane faf30dd174 Add additional protection to prevent intercepting calls that have already been answered. 2015-02-21 20:33:23 +00:00
Mark Crane 70032d5642 Work on intercept.lua to prevent an error with the hostname. 2015-01-30 01:32:38 +00:00
Errol Samuels 17069d270b Fixed intercept **[ext] to work better when using multiple Freeswitch servers 2014-08-23 14:03:23 +00:00
Mark Crane a6c6e8b945 Align intercept with group interceptl 2014-08-22 07:57:47 +00:00
Mark Crane 3c3061ae1d svn diff 2014-07-31 08:40:15 +00:00
Mark Crane fdeb3fb1b0 Fix an error that occurs on a few systems when adding a domain. 2013-11-01 15:50:49 +00:00
Mark Crane 896fdb37b2 Move the includes/install to resources/install 2013-06-09 02:42:36 +00:00