<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>The thing is, free switch it does send these events in some cases. Four instance, if user to was already registered when user one subscribes then I do get the event.<br><br>Sent from my iPhone</div><div><br>On Aug 26, 2016, at 5:00 PM, Vik Killa <<a href="mailto:vipkilla@gmail.com">vipkilla@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">Hi Dave,<div>I'm assuming you are using`Event: dialog` package here.</div><div>Did you read RFC on this particular event package?<br>i'm not sure online/offline is described in it.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 26, 2016 at 10:40 AM, Dave Horton <span dir="ltr"><<a href="mailto:daveh@beachdognet.com" target="_blank">daveh@beachdognet.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I would like some quick feedback on whether I should open a JIRA on this — seems like a bug, but if it is a known issue please let me know.<br>
<br>
Scenario: User 1 is subscribing to presence events for User 2.<br>
<br>
Timeline:<br>
<br>
1. User 1 registers successfully (user 2 is offline/unregistered at this time).<br>
2. User 1 sends a SUBSCRIBE to FS for User 2.<br>
3. FS sends a 202 Accepted to the subscribe<br>
4. FS sends an initial NOTIFY (application/pidf+xml) indicating that User 2 unregistered (<status><basic>closed</basic><wbr></status>)<br>
5. User 2 registers successfully<br>
<br>
At this point I expect to see FS send a NOTIFY to User 1 with a status update for User 2, showing that s/he is online, but this does not happen.<br>
<br>
Later, User 2 places an outbound call, and at that point FS _does_ send a NOTIFY with presence update (at both the start and end of the call, with correct information).<br>
But it should have sent a NOTIFY earlier when User 2 registers.<br>
<br>
Is this a known issue? Should I open a JIRA with traces etc?<br>
<br>
Environment notes:<br>
FS version: FreeSWITCH Version 1.6.8+git~20160505T153832Z~<wbr>99de0ad502~64bit (git 99de0ad 2016-05-05 15:38:32Z 64bit)<br>
this is a single-node FS test — no clustering or anything like that<br>
______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a></blockquote></div><br></div>
</div></blockquote><blockquote type="cite"><div><span>_________________________________________________________________________</span><br><span>Professional FreeSWITCH Consulting Services: </span><br><span><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a></span><br><span><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a></span><br><span></span><br><span>Official FreeSWITCH Sites</span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br><span><a href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a></span><br><span><a href="http://www.cluecon.com">http://www.cluecon.com</a></span><br><span></span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:http://<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">lists.freeswitch.org/mailman/options/freeswitch-users</a></span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span></div></blockquote></body></html>