diff --git a/ngcp/dlgcnt.lua b/ngcp/dlgcnt.lua index 73aa1a6..03beeb0 100644 --- a/ngcp/dlgcnt.lua +++ b/ngcp/dlgcnt.lua @@ -130,7 +130,7 @@ end if not self._test_connection(self.pair) then self.pair = self._connect(self.config.pair); end - local num = self.pair:lrem(callid, 0, key); + local num = self.pair:lrem(callid, 1, key); sr.log("dbg", string.format("pair:lrem[%s]=>[%s] %d\n", callid, key, num)); if not self._test_connection(self.central) then self.central = self._connect(self.config.central);