Commit Graph

21 Commits

Author SHA1 Message Date
Alexey Melnichuk
15fbc21b4d 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
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
FusionPBX
9f4287a9b4 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
c19b6cc7ee Fix. Group intercept extension with number alias 2015-08-11 14:18:25 +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
8e4d2092ee Prevent trying to pickup the call from the caller in the same call group. 2015-03-31 03:06:55 +00: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
5cdd2561d2 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
cba59236ee Align intercept with group interceptl 2014-08-22 07:57:47 +00:00
Errol Samuels
93c316dfa6 Improved group intercept to work with load balanced FusionPBX servers. 2014-08-20 21:24:05 +00:00
Mark Crane
d7f189d07f svn diff 2014-07-31 08:40:15 +00:00
Mark Crane
9825db2573 Fix group intercept lua script 2014-07-14 21:32:23 +00:00
Mark Crane
ceb1c150be Add intercept_group.lua 2014-05-16 07:28:28 +00:00