Commit Graph

21 Commits

Author SHA1 Message Date
Alexey Melnichuk 3de12d6d1d 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 b285e636cc Fix. Intercept can find wrong channel. 2015-11-10 22:41:34 +03:00
Alexey Melnichuk 8bbf8d6777 Use local variables. 2015-10-25 09:57:20 +03:00
Alexey Melnichuk 7622fd4896 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 5fab1a34f7 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 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 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
markjcrane 27a72bfa59 Remove outbound restriction for intercept. 2015-08-12 23:38:46 -06:00
Alexey Melnichuk ce9e2cc4d1 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 3e16e69adb Revert "Revert "Change. Use `require "resources.functions.config"` to load co…" 2015-08-11 05:06:33 +03:00
FusionPBX 2a2dd209df Revert "Change. Use `require "resources.functions.config"` to load config file." 2015-08-10 11:50:29 -06:00
Alexey Melnichuk 703b61636a Change. Use only `require` to load function.
Fix. Remove multiple definition of same function.
2015-08-10 12:43:06 +04:00
Alexey Melnichuk 3da348fff0 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 bf8247d332 Add additional protection to prevent intercepting calls that have already been answered. 2015-02-21 20:33:23 +00:00
Mark Crane 6d901034ad Work on intercept.lua to prevent an error with the hostname. 2015-01-30 01:32:38 +00:00
Errol Samuels 6e3656cdfd Fixed intercept **[ext] to work better when using multiple Freeswitch servers 2014-08-23 14:03:23 +00:00
Mark Crane cba59236ee Align intercept with group interceptl 2014-08-22 07:57:47 +00:00
Mark Crane d7f189d07f svn diff 2014-07-31 08:40:15 +00:00
Mark Crane 10881ae724 Fix an error that occurs on a few systems when adding a domain. 2013-11-01 15:50:49 +00:00
Mark Crane 567e554cb7 Move the includes/install to resources/install 2013-06-09 02:42:36 +00:00