jiti-meet/resources/prosody-plugins/ext_events.lib.lua

30 lines
849 B
Lua
Raw Normal View History

-- invite will perform the trigger for external call invites.
-- This trigger is left unimplemented. The implementation is expected
-- to be specific to the deployment.
local function invite(stanza, url)
module:log(
"warn",
"A module has been configured that triggers external events."
)
module:log("warn", "Implement this lib to trigger external events.")
end
2018-05-07 16:12:11 +00:00
-- cancel will perform the trigger for external call cancellation.
-- This trigger is left unimplemented. The implementation is expected
-- to be specific to the deployment.
local function cancel(stanza, url, reason)
module:log(
"warn",
"A module has been configured that triggers external events."
)
module:log("warn", "Implement this lib to trigger external events.")
end
local ext_events = {
2018-05-07 16:12:11 +00:00
invite = invite,
cancel = cancel
}
return ext_events