Browse Source

No longer triggering calls for the Invited status of a poltergeist.

master
Jacob MacElroy 7 years ago
parent
commit
b4983cfe04
1 changed files with 0 additions and 2 deletions
  1. 0
    2
      resources/prosody-plugins/mod_muc_call.lua

+ 0
- 2
resources/prosody-plugins/mod_muc_call.lua View File

16
 end
16
 end
17
 
17
 
18
 -- Status strings that trigger call events.
18
 -- Status strings that trigger call events.
19
-local invited_status   = "Invited"
20
 local calling_status   = "calling"
19
 local calling_status   = "calling"
21
 local ringing_status   = "ringing"
20
 local ringing_status   = "ringing"
22
 local busy_status      = "busy"
21
 local busy_status      = "busy"
54
 --    Status      | Event Type
53
 --    Status      | Event Type
55
 --    _________________________
54
 --    _________________________
56
 --    "calling"   | INVITE
55
 --    "calling"   | INVITE
57
 --    "ringing"   | CANCEL
56
 --    "ringing"   | CANCEL
58
 --    "busy"      | CANCEL
57
 --    "busy"      | CANCEL
59
 --    "rejected"  | CANCEL
58
 --    "rejected"  | CANCEL
82
 
80
 
83
 	local switch = function(status)
81
 	local switch = function(status)
84
 	   case = {
82
 	   case = {
85
-		  [invited_status]   = function() invite() end,
86
 		  [calling_status]   = function() invite() end,
83
 		  [calling_status]   = function() invite() end,
87
 		  [ringing_status]   = function() cancel() end,
84
 		  [ringing_status]   = function() cancel() end,
88
 		  [busy_status]      = function() cancel() end,
85
 		  [busy_status]      = function() cancel() end,

Loading…
Cancel
Save