Commit Graph

21 Commits

Author SHA1 Message Date
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
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
FusionPBX
237d6c5d90 Merge pull request #1087 from moteus/revert-1086-revert-1053-require_config
Change. Use `require` function to load Lua libraries
2015-08-11 20:05:48 -06:00
Alexey Melnichuk
024abb1ac1 Fix. Group intercept extension with number alias 2015-08-11 14:18:25 +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
ea6df88750 Prevent trying to pickup the call from the caller in the same call group. 2015-03-31 03:06:55 +00: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
d881e17091 Prevent call_hostname nil issue by pre-defining it. Improve the uuid nil check to prevent an error. 2014-12-07 02:06:32 +00:00
Mark Crane
a6c6e8b945 Align intercept with group interceptl 2014-08-22 07:57:47 +00:00
Errol Samuels
757f3a0bdc Improved group intercept to work with load balanced FusionPBX servers. 2014-08-20 21:24:05 +00:00
Mark Crane
3c3061ae1d svn diff 2014-07-31 08:40:15 +00:00
Mark Crane
03fd11fa36 Fix group intercept lua script 2014-07-14 21:32:23 +00:00
Mark Crane
964fe317b4 Add intercept_group.lua 2014-05-16 07:28:28 +00:00