bettybop68 / android-rcs-ims-stack

Automatically exported from code.google.com/p/android-rcs-ims-stack
0 stars 1 forks source link

Presence Based Discovery by using Anonymous SUBSCRIBE #159

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,
I am working on Presence based Discovery feature by using Anonymous SUBSCRIBE 
request instead of SIP OPTIONS but facing issues to test it.

What steps will reproduce the problem?
1. Put the phone in Airplane mode. 
2. Select the "Presence Discovery" and "Social Presence" inside the Profile tab 
of the RCS JOYN client. Restart the RCS JOYN client. 
3. Put the Airplane mode Off. 
4. Mobile will send the SIP REGISTER request along with SIP SUBSCRIBE (for 
watcher) and SIP SUBSCRIBE (for presence based capability discovery with the 
Event: presence)

What is the expected output? What do you see instead?
The expected output was inside the SIP SUBSCRIBE request, it will contain 
Presence-List of all the existing contacts present inside the XML based Message 
payload. But actually, SIP SUBSCRIBE request with Event: presence was without 
any presence list with Content-Length=0.
Also, on the run time, the new contact has been added and its capability 
exchange has been initiated by phone by using SIP OPTIONS instead of SIP 
SUBSCRIBE. 

What version of the product are you using? On what operating system?
RCSe Stack Release version 2.5.10 on Android version 4.0.4

Please provide any additional information below.
Although the the "Presence Discovery" and "Social Presence" services inside the 
Profile tab are selected but still phone sends the first SUBSCRIBE request 
(with Event = presence )after SIP REGISTER without any presence list. Then 
follow up Capability is discovered by using SIP OPTIONS instead of SIP 
SUBSCRIBE. How to test the Presence based Capability discovery via SIP 
SUBSCRIBE without enabling Social Presence and without using SIP OPTION? Trace 
file is attached

Thanks

Original issue reported on code.google.com by aamer.78...@gmail.com on 2 Oct 2013 at 4:42

Attachments:

GoogleCodeExporter commented 8 years ago
If you don't activate the presence service, you don't have the SUBSCRIBE 
manager working because it's part of the presence service.

Then we haven't updated the presence capabilities since Albatros release 
because the presence service is no more deployed (at least by Europe telco), so 
we haven't any presence server to test.

Original comment by jmauffret@gmail.com on 5 Feb 2014 at 1:34