TT#69136 Add recentcall del_by_key function

Change-Id: I8bb91ee22e86900e390dc35a7836dc2b5ccca100
changes/31/34631/1
Marco Capetta 6 years ago
parent 771ed33b07
commit 29a2406e9a

@ -130,6 +130,17 @@ end
return 0
end
function NGCPRecentCalls:del_by_key(key)
if not self._test_connection(self.central) then
self.central = self._connect(self.config.central)
end
self.central:del(key)
sr.log("info", string.format("central:del[%s] removed\n", key));
return 0
end
-- class
return NGCPRecentCalls

Loading…
Cancel
Save