<div dir="ltr">My testing was disappointing...<div>My script didn't catch any sofia::unregister events. It caught sofia::register, pre_register so it seems to be listening properly.</div><div><br></div><div>Also, I'm pretty sure <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.571428298950195px;background-color:rgb(255,255,255)">all-reg-options-</span><span class="il" style="background-color:rgb(255,255,204);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.571428298950195px">ping was pinging, and I had </span><span style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.571428298950195px">mark-dead-on-options-fail</span><span style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.571428298950195px"> set, but I didn't see anything different when looking at the REG list after unplugging an endpoint. I would imagine there should be an event there, but I don't know what it's called and it's really hard to find a lone event on a busy switch...</span></div>
<div><span style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.571428298950195px"><br></span></div><div><span style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.571428298950195px">Are these bugs? Or am I just missing something about how this works?</span></div>
<div><br clear="all"><div><div dir="ltr"><span style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:small">-Avi Marcus</span><br></div></div>
<br><br><div class="gmail_quote">On Wed, Feb 27, 2013 at 2:14 AM, Avi Marcus <span dir="ltr"><<a href="mailto:avi@avimarcus.net" target="_blank">avi@avimarcus.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">I'd like to monitor if my user's sip phones are disconnected, to let me know there might be a problem in advance.<div><br></div><div>I see there's a CUSTOM event called sofia::unregister. I presume that triggers whenever a phone doesn't re-register in enough time.</div>
<div><br></div><div>However, with default registation of 60 minutes (or even 10) I'd like more granularity.</div><div><br></div><div>I have the endpoints pinging FS, but I don't see an event or that information stored anywhere.</div>
<div><br></div><div>How about setting nat-options-ping (or better, all-reg-options-ping since most NATed endpoint don't actually self-identify).</div><div>Do I get an event if that fails?</div><div>I see unregister-on-options-fail but that seemed too aggressive when I tried that in the past.</div>
<div><br></div><div>What exactly does the less sever mark-dead-on-options-fail do? Does it remove it from the user/$NUMBER endpoint?</div><div>Does it trigger an event for me?</div><div><br></div><div>Other suggestions?</div>
<span class="HOEnZb"><font color="#888888">
<div><br clear="all"><div><div dir="ltr"><span style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:small">-Avi<br></span></div></div>
</div></font></span></div>
</blockquote></div><br></div></div>