<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">The only thing I can think of is expiration of the reg. You might need to do some digging and add some logs to everything that deletes from the table but as far as I know its only the reg expires thread cleaning up and the handler for unreg. The only other case would be where multi reg disabled and another reg comes in.<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Apr 5, 2019, at 12:06 PM, mario_fs <<a href="mailto:mario_fs@mgtech.com" class="">mario_fs@mgtech.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Expires for push are set at 3600 seconds and seem to be fine since I see these in the log, there is something else going one that just kills registration. It occur once in 2-4 days which is why I can’t just log everything. Wish there was an event trap for whatever causes an entry from a "<font face="Menlo" class=""><span style="font-size: 11px;" class="">sofia status profile internal reg” </span></font>to be removed.<div class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On Apr 4, 2019, at 1:18 PM, Mike Jerris <<a href="mailto:mike@freeswitch.org" class="">mike@freeswitch.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">See if there is an event but I’m guessing that’s just a bug and needs it added on expire too.<br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On Apr 4, 2019, at 12:45 PM, mario_fs <<a href="mailto:mario_fs@mgtech.com" class="">mario_fs@mgtech.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I am trapping and logging unregister events using LUA sofia::unregister. I have found that the Counterpath’s push server is disconnecting intermittently but <b class=""><i class="">not</i></b> by an “unregister” so the trap is not invoked and so cannot log it. Freeswitch is removing the registration for the device but the unregister trap is not called. Is there another event I could use to trap when FreeSwitch removes a registration?<div class=""><div class=""><br class=""></div><div class="">hook event="custom" subclass="sofia::unregister" script=“…..</div></div><div class="">Mario G</div></div></div></blockquote></div><br class=""></div></div></blockquote></div></div></div></div></blockquote></div><br class=""></body></html>