<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="">I understand not everything is documented but I ran up against 3 issues:<div class=""><br class=""></div><div class="">1. I don’t know what event or subclass to try to capture.</div><div class="">2. The page <a href="https://freeswitch.org/confluence/display/FREESWITCH/Event+List" class="">https://freeswitch.org/confluence/display/FREESWITCH/Event+List</a> shows to look at switch_event.c, but no descriptions as to what they are so I have to guess.</div><div class="">3. The page <a href="https://freeswitch.org/confluence/pages/viewpage.action?pageId=15139388" class="">https://freeswitch.org/confluence/pages/viewpage.action?pageId=15139388</a> does not say the source they came from, and again, no description.</div><div class=""><br class=""></div><div class="">Don't get me wrong, I am glad the info is on the wiki, I know very well how much work goes into it since I converted tons of pages and maintain the Mac pages. It’s just that there is nothing to solve my problem of determining exactly what class/subclass to trap when a registration entry is deleted. Been at this over a week now trying things.</div><div class=""><br class=""></div><div class="">Thanks for the response,</div><div class="">Mario G</div><div class=""><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Apr 7, 2019, at 5:54 AM, David Villasmil <<a href="mailto:david.villasmil.work@gmail.com" class="">david.villasmil.work@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><div dir="auto" class="">Not EVERY THING is documented. But an event is an even and it will get shot up the event socket. You should be able to catch it via the event socket.</div></div><div class=""><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 6 Apr 2019 at 20:44, mario_fs <<a href="mailto:mario_fs@mgtech.com" class="">mario_fs@mgtech.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space" class="">Thank you, on the page below I found <span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px" class=""><b class="">sofia::expire</b> and </span><font color="#333333" face="Arial, sans-serif" class=""><span style="font-size:14px" class=""><b class="">sofia::sip_user_state</b>, should these two handle any reason for disconnect? However, I don’t know it they are available to the LUA exit since I cannot find that darn page on the wiki again.</span></font><div class=""><br class=""></div><div class=""><a href="https://freeswitch.org/confluence/display/FREESWITCH/Event+List" target="_blank" class="">https://freeswitch.org/confluence/display/FREESWITCH/Event+List</a></div></div><div style="word-wrap:break-word;line-break:after-white-space" class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On Apr 5, 2019, at 11:08 AM, Mike Jerris <<a href="mailto:mike@freeswitch.org" target="_blank" class="">mike@freeswitch.org</a>> wrote:</div><br class="m_-974977399287050332Apple-interchange-newline"><div class=""><div style="word-wrap:break-word;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 class=""><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" target="_blank" class="">mario_fs@mgtech.com</a>> wrote:</div><br class="m_-974977399287050332Apple-interchange-newline"><div class=""><div style="word-wrap:break-word;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" target="_blank" class="">mike@freeswitch.org</a>> wrote:</div><br class="m_-974977399287050332Apple-interchange-newline"><div class=""><div style="word-wrap:break-word;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" target="_blank" class="">mario_fs@mgtech.com</a>> wrote:</div><br class="m_-974977399287050332Apple-interchange-newline"><div class=""><div style="word-wrap:break-word;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=""></div>_________________________________________________________________________<br class="">Professional FreeSWITCH Services<br class=""><a href="mailto:sales@freeswitch.com" target="_blank" class="">sales@freeswitch.com</a><br class=""><a href="https://freeswitch.com/" target="_blank" class="">https://freeswitch.com</a><br class=""><br class="">Official FreeSWITCH Sites<br class=""><a href="https://freeswitch.com/oss" target="_blank" class="">https://freeswitch.com/oss</a><br class=""><a href="https://freeswitch.org/confluence" target="_blank" class="">https://freeswitch.org/confluence</a><br class=""><a href="https://cluecon.com/" target="_blank" class="">https://cluecon.com</a><br class=""><br class="">FreeSWITCH-users mailing list<br class=""><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" class="">FreeSWITCH-users@lists.freeswitch.org</a><br class=""><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank" class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br class="">UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank" class="">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br class=""><a href="https://freeswitch.com/" target="_blank" class="">https://freeswitch.com</a></div></blockquote></div><br class=""></div>_________________________________________________________________________<br class="">
Professional FreeSWITCH Services<br class="">
<a href="mailto:sales@freeswitch.com" target="_blank" class="">sales@freeswitch.com</a><br class="">
<a href="https://freeswitch.com/" rel="noreferrer" target="_blank" class="">https://freeswitch.com</a><br class="">
<br class="">
Official FreeSWITCH Sites<br class="">
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank" class="">https://freeswitch.com/oss</a><br class="">
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank" class="">https://freeswitch.org/confluence</a><br class="">
<a href="https://cluecon.com/" rel="noreferrer" target="_blank" class="">https://cluecon.com</a><br class="">
<br class="">
FreeSWITCH-users mailing list<br class="">
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" class="">FreeSWITCH-users@lists.freeswitch.org</a><br class="">
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br class="">
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br class="">
<a href="https://freeswitch.com/" rel="noreferrer" target="_blank" class="">https://freeswitch.com</a></blockquote></div></div>-- <br class=""><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class="">Regards,</div><div class=""><br class=""></div>David Villasmil<div class="">email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank" class="">david.villasmil.work@gmail.com</a></div><div class="">phone: +34669448337</div></div></div>
_________________________________________________________________________<br class="">Professional FreeSWITCH Services<br class=""><a href="mailto:sales@freeswitch.com" class="">sales@freeswitch.com</a><br class="">https://freeswitch.com<br class=""><br class="">Official FreeSWITCH Sites<br class="">https://freeswitch.com/oss<br class="">https://freeswitch.org/confluence<br class="">https://cluecon.com<br class=""><br class="">FreeSWITCH-users mailing list<br class="">FreeSWITCH-users@lists.freeswitch.org<br class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br class="">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br class="">https://freeswitch.com</div></blockquote></div><br class=""></div></div></body></html>