<div dir="ltr">Hi Mario, <div><br></div><div>I personally already suggested to you to subscribe to "all" events (this is not a random word, you can subscribe to "all" and you get *every generated event*) and see *IF* there is anything (documented or not) that may be useful for you. </div><div><br></div><div>If you don't find anything useful in any of the events, I believe the FS core devs have already suggested to open a JIRA ticket as it could be a bug that needs fixing.</div><div><br></div><div>I highly recommend you follow these two suggestions, you might find yourself saving some valuable time going forward.</div><div><br></div><div>Best regards, </div><div>Joel.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 8, 2019 at 6:00 PM David Villasmil <<a href="mailto:david.villasmil.work@gmail.com">david.villasmil.work@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div dir="auto">Have you try having it happen while catching all events?</div></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 9 Apr 2019 at 00:45, mario_fs <<a href="mailto:mario_fs@mgtech.com" target="_blank">mario_fs@mgtech.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;">I understand not everything is documented but I ran up against 3 issues:<div><br></div><div>1. I don’t know what event or subclass to try to capture.</div><div>2. The page <a href="https://freeswitch.org/confluence/display/FREESWITCH/Event+List" target="_blank">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>3. The page <a href="https://freeswitch.org/confluence/pages/viewpage.action?pageId=15139388" target="_blank">https://freeswitch.org/confluence/pages/viewpage.action?pageId=15139388</a> does not say the source they came from, and again, no description.</div><div><br></div><div>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><br></div><div>Thanks for the response,</div><div>Mario G</div></div><div style="overflow-wrap: break-word;"><div><div><div><br><blockquote type="cite"><div>On Apr 7, 2019, at 5:54 AM, David Villasmil <<a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a>> wrote:</div><br class="gmail-m_7801942313138998976m_4785316049369762454Apple-interchange-newline"><div><div><div dir="auto">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><br><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" target="_blank">mario_fs@mgtech.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;">Thank you, on the page below I found <span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px"><b>sofia::expire</b> and </span><font color="#333333" face="Arial, sans-serif"><span style="font-size:14px"><b>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><br></div><div><a href="https://freeswitch.org/confluence/display/FREESWITCH/Event+List" target="_blank">https://freeswitch.org/confluence/display/FREESWITCH/Event+List</a></div></div><div style="overflow-wrap: break-word;"><div><br><blockquote type="cite"><div>On Apr 5, 2019, at 11:08 AM, Mike Jerris <<a href="mailto:mike@freeswitch.org" target="_blank">mike@freeswitch.org</a>> wrote:</div><br class="gmail-m_7801942313138998976m_4785316049369762454m_-974977399287050332Apple-interchange-newline"><div><div style="overflow-wrap: break-word;">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><div><br><blockquote type="cite"><div>On Apr 5, 2019, at 12:06 PM, mario_fs <<a href="mailto:mario_fs@mgtech.com" target="_blank">mario_fs@mgtech.com</a>> wrote:</div><br class="gmail-m_7801942313138998976m_4785316049369762454m_-974977399287050332Apple-interchange-newline"><div><div style="overflow-wrap: break-word;">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"><span style="font-size:11px">sofia status profile internal reg” </span></font>to be removed.<div><div><br><blockquote type="cite"><div>On Apr 4, 2019, at 1:18 PM, Mike Jerris <<a href="mailto:mike@freeswitch.org" target="_blank">mike@freeswitch.org</a>> wrote:</div><br class="gmail-m_7801942313138998976m_4785316049369762454m_-974977399287050332Apple-interchange-newline"><div><div style="overflow-wrap: break-word;">See if there is an event but I’m guessing that’s just a bug and needs it added on expire too.<br><div><br><blockquote type="cite"><div>On Apr 4, 2019, at 12:45 PM, mario_fs <<a href="mailto:mario_fs@mgtech.com" target="_blank">mario_fs@mgtech.com</a>> wrote:</div><br class="gmail-m_7801942313138998976m_4785316049369762454m_-974977399287050332Apple-interchange-newline"><div><div style="overflow-wrap: break-word;">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><i>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><div><br></div><div>hook event="custom" subclass="sofia::unregister" script=“…..</div></div><div>Mario G</div></div></div></blockquote></div><br></div></div></blockquote></div></div></div></div></blockquote></div><br></div>_________________________________________________________________________<br>Professional FreeSWITCH Services<br><a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br><a href="https://freeswitch.com/" target="_blank">https://freeswitch.com</a><br><br>Official FreeSWITCH Sites<br><a href="https://freeswitch.com/oss" target="_blank">https://freeswitch.com/oss</a><br><a href="https://freeswitch.org/confluence" target="_blank">https://freeswitch.org/confluence</a><br><a href="https://cluecon.com/" target="_blank">https://cluecon.com</a><br><br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="https://freeswitch.com/" target="_blank">https://freeswitch.com</a></div></blockquote></div><br></div>_________________________________________________________________________<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com/" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com/" rel="noreferrer" target="_blank">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com/" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div></div>-- <br><div dir="ltr" class="gmail-m_7801942313138998976m_4785316049369762454gmail_signature"><div dir="ltr"><div>Regards,</div><div><br></div>David Villasmil<div>email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a></div><div>phone: +34669448337</div></div></div>
_________________________________________________________________________<br>Professional FreeSWITCH Services<br><a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br><a href="https://freeswitch.com" target="_blank">https://freeswitch.com</a><br><br>Official FreeSWITCH Sites<br><a href="https://freeswitch.com/oss" target="_blank">https://freeswitch.com/oss</a><br><a href="https://freeswitch.org/confluence" target="_blank">https://freeswitch.org/confluence</a><br><a href="https://cluecon.com" target="_blank">https://cluecon.com</a><br><br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="https://freeswitch.com" target="_blank">https://freeswitch.com</a></div></blockquote></div><br></div></div></div>_________________________________________________________________________<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer" target="_blank">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div></div>-- <br><div dir="ltr" class="gmail-m_7801942313138998976gmail_signature"><div dir="ltr"><div>Regards,</div><div><br></div>David Villasmil<div>email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a></div><div>phone: +34669448337</div></div></div>
_________________________________________________________________________<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer" target="_blank">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div>