<div dir="ltr">Registrations are expiry based.<div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<span style="font-family:arial,sans-serif;font-size:13px">then how can I tell if his phone doesn't answer pings/shutdown?</span></blockquote><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px">The registration will timeout and you'll get the unregister event. It won't be immediate.</span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div><div><span style="font-family:arial,sans-serif;font-size:13px">To detect offline clients faster try the </span><font face="arial, sans-serif">all-reg-options-ping + unregister-on-options-fail options.</font></div>
<div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">-Steve</font></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div></div><div class="gmail_extra"><br>
<br><div class="gmail_quote">On 31 August 2014 07:27, Shlomi Agiv <span dir="ltr"><<a href="mailto:shlomi.agiv@cell-buddy.com" target="_blank">shlomi.agiv@cell-buddy.com</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 using incoming ESL connection, and would like to know when some user using a sip application from his cell is or isn't connected.<div>I thought about listening for sofia::register/unregister events to decide if he's online, but then how can I tell if his phone doesn't answer pings/shutdown?</div>
<div>maybe I should use <span style="color:rgb(51,51,51);font-size:14px;line-height:20px">sofia_presence_data?</span></div><div><span style="color:rgb(51,51,51);font-size:14px;line-height:20px">or</span><span style="color:rgb(51,51,51);line-height:20px"> somehow incorporate PRESENCE_IN event?</span></div>
<div><br></div><div>Thanks,</div><div>Shlomi Agiv</div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">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="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>