kader990 / android-rcs-ims-stack

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

FTHTTP-GC wrong sender in notification #210

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. A  and B in a Group Chat
2. B send a FTHTTP message in MSRP (it is important that B sends the message)
3. A receive the MSRP message and show in notificiton bar "new file transfert 
from +33" instead of B.

It seems that the RI use the FROM or TO header of the initial INVITE to 
identifie the peer.
It should use the FROM header of the MSRP Message.

What version of the product are you using? On what operating system?
2.5.15

Please provide any additional information below.

<<< Receive MSRP SEND request:
MSRP or3JWXc2+u8B3j5Ew SEND
To-Path: msrp://172.20.166.76:31258/1391072196982;tcp
From-Path: msrp://172.20.65.152:59827/xpq074p2;tcp
Failure-Report: yes
Success-Report: no
Byte-Range: 1-637/637
Message-ID: MsgotYXiPUYAA
Content-Type: message/cpim

From: <tel:+33675192308>
To: <sip:anonymous@anonymous.invalid>
NS: imdn <urn:ietf:params:imdn>
imdn.Message-ID: otYXiPUXAA
DateTime: 2014-01-30T09:56:59.091+01:00
imdn.Disposition-Notification: positive-delivery, display

Content-type: application/vnd.gsma.rcs-ft-http+xml;charset=utf-8
Content-length: 319

 <?xml version="1.0" encoding="UTF-8"?><file><file-info type="file"><file-size>10139</file-size><file-name>1.png</file-name><content-type>image/png</content-type><data url = "http://172.20.65.153/rcse-hcs/download?id=F1391072218234ca195073c5b6440c3e7627adcef3a" until="2014-01-31T09:56:58.000+01:00"/></file-info></file>
-------or3JWXc2+u8B3j5Ew$

Original issue reported on code.google.com by rcs.capg...@gmail.com on 30 Jan 2014 at 9:13

GoogleCodeExporter commented 9 years ago
Reproduced

Original comment by lemordan...@gmail.com on 3 Feb 2014 at 2:39

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r395.

Original comment by lemordan...@gmail.com on 3 Feb 2014 at 5:15

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r405.

Original comment by lemordan...@gmail.com on 10 Feb 2014 at 9:46