[Freeswitch-users] presence issue: NOTIFY not sent to presence watcher when presentity registers

Dave Horton daveh at beachdognet.com
Sat Aug 27 01:28:44 MSD 2016


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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160826/d65a836b/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list