presence issue: NOTIFY not sent to presence watcher when presentity registers
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. Scenario: User 1 is subscribing to presence events for User 2. Timeline: 1. User 1 registers successfully (user 2 is offline/unregistered at this time). 2. User 1 sends a SUBSCRIBE to FS for User 2. 3. FS sends a 202 Accepted to the subscribe 4. FS sends an initial NOTIFY (application/pidf+xml) indicating that User 2 unregistered (<status><basic>closed</basic></status>) 5. User 2 registers successfully 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. 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). But it should have sent a NOTIFY earlier when User 2 registers. Is this a known issue? Should I open a JIRA with traces etc? Environment notes: FS version: FreeSWITCH Version 1.6.8+git~20160505T153832Z~99de0ad502~64bit (git 99de0ad 2016-05-05 15:38:32Z 64bit) this is a single-node FS test — no clustering or anything like that
Hi Dave, I'm assuming you are using`Event: dialog` package here. Did you read RFC on this particular event package? i'm not sure online/offline is described in it. On Fri, Aug 26, 2016 at 10:40 AM, Dave Horton <daveh@beachdognet.com> wrote:
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.
Scenario: User 1 is subscribing to presence events for User 2.
Timeline:
1. User 1 registers successfully (user 2 is offline/unregistered at this time). 2. User 1 sends a SUBSCRIBE to FS for User 2. 3. FS sends a 202 Accepted to the subscribe 4. FS sends an initial NOTIFY (application/pidf+xml) indicating that User 2 unregistered (<status><basic>closed</basic></status>) 5. User 2 registers successfully
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.
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). But it should have sent a NOTIFY earlier when User 2 registers.
Is this a known issue? Should I open a JIRA with traces etc?
Environment notes: FS version: FreeSWITCH Version 1.6.8+git~20160505T153832Z~99de0ad502~64bit (git 99de0ad 2016-05-05 15:38:32Z 64bit) this is a single-node FS test — no clustering or anything like that _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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. Sent from my iPhone
On Aug 26, 2016, at 5:00 PM, Vik Killa <vipkilla@gmail.com> wrote:
Hi Dave, I'm assuming you are using`Event: dialog` package here. Did you read RFC on this particular event package? i'm not sure online/offline is described in it.
On Fri, Aug 26, 2016 at 10:40 AM, Dave Horton <daveh@beachdognet.com> wrote: 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.
Scenario: User 1 is subscribing to presence events for User 2.
Timeline:
1. User 1 registers successfully (user 2 is offline/unregistered at this time). 2. User 1 sends a SUBSCRIBE to FS for User 2. 3. FS sends a 202 Accepted to the subscribe 4. FS sends an initial NOTIFY (application/pidf+xml) indicating that User 2 unregistered (<status><basic>closed</basic></status>) 5. User 2 registers successfully
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.
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). But it should have sent a NOTIFY earlier when User 2 registers.
Is this a known issue? Should I open a JIRA with traces etc?
Environment notes: FS version: FreeSWITCH Version 1.6.8+git~20160505T153832Z~99de0ad502~64bit (git 99de0ad 2016-05-05 15:38:32Z 64bit) this is a single-node FS test — no clustering or anything like that _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Also I've opened a JIRA on this and included logs Sent from my iPhone
On Aug 26, 2016, at 5:00 PM, Vik Killa <vipkilla@gmail.com> wrote:
Hi Dave, I'm assuming you are using`Event: dialog` package here. Did you read RFC on this particular event package? i'm not sure online/offline is described in it.
On Fri, Aug 26, 2016 at 10:40 AM, Dave Horton <daveh@beachdognet.com> wrote: 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.
Scenario: User 1 is subscribing to presence events for User 2.
Timeline:
1. User 1 registers successfully (user 2 is offline/unregistered at this time). 2. User 1 sends a SUBSCRIBE to FS for User 2. 3. FS sends a 202 Accepted to the subscribe 4. FS sends an initial NOTIFY (application/pidf+xml) indicating that User 2 unregistered (<status><basic>closed</basic></status>) 5. User 2 registers successfully
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.
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). But it should have sent a NOTIFY earlier when User 2 registers.
Is this a known issue? Should I open a JIRA with traces etc?
Environment notes: FS version: FreeSWITCH Version 1.6.8+git~20160505T153832Z~99de0ad502~64bit (git 99de0ad 2016-05-05 15:38:32Z 64bit) this is a single-node FS test — no clustering or anything like that _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
Dave Horton
-
Vik Killa