bettybop68 / android-rcs-ims-stack

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

Cannot transfer file with MSRP success report FALSE on 2.4.8 #108

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Originating file sharing session with file size > 50K
2.
3.

What is the expected output? What do you see instead?
File should transfer.

What version of the product are you using? On what operating system?
2.4.8 on Android 4.2

Please provide any additional information below.

As report is OFF,  When UAS sends last chunk , it terminates the  session by 
sending SIP BYE immediately. The data chunks  are still on their  way at this 
time . SIP BYE reaches the UAC before those chunks  and thus file transfer gets 
cancelled

public void msrpDataTransfered(String msgId) {

// File has been transfered

fileTransfered();

// Close the media session , close socket used for data transfer

closeMediaSession();

/// Terminate session , This will send a SIP BYE

terminateSession(); 

// Remove the current session

getImsService().removeSession(this);

// Notify listeners

for (int j = 0; j < getListeners().size(); j++) {

((FileSharingSessionListener) 
getListeners().get(j)).handleFileTransfered(getContent()

.getUrl());

}

}

Original issue reported on code.google.com by Manik.Mahajan2 on 7 May 2013 at 9:46

GoogleCodeExporter commented 8 years ago
Can you try the last release v2.5.3 instaed of the older v2.4.8.

Original comment by jmauffret@gmail.com on 9 May 2013 at 7:51

GoogleCodeExporter commented 8 years ago
With changes a)OriginatingFileSHaring session to turn success report OFF and 
turning Failure report On and b) Handling failure report in MSRP session and 
c)adding MSRP TXN class from latest , the issue is fixed.

Is this a known issue on older release?

Original comment by Manik.Mahajan2 on 10 May 2013 at 3:52