diff --git a/ngcp/push.lua b/ngcp/push.lua index 0b9e864..eb6fbab 100644 --- a/ngcp/push.lua +++ b/ngcp/push.lua @@ -103,8 +103,8 @@ function NGCPPush:add(v) KSR.dbg(string.format("lpush[%s]=>[%s] %s\n", v.callid, val, tostring(pos))); if v.expire then - self.client.expire(v.key, v.expire) - self.client.expire(v.callid, v.expire) + self.client:expire(v.key, v.expire) + self.client:expire(v.callid, v.expire) KSR.dbg(string.format( "set expire %d for keys:[%s, %s]", v.expire, v.key, v.callid)); end