impathuri / imsdroid

Automatically exported from code.google.com/p/imsdroid
0 stars 0 forks source link

I want to set "c" value of SDP message in MSRP process.How to do it? #126

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.The follow is "c" header of 200 OK after sending SIP/SDP INVITE message
Connection Information (c): IN IP4 192.168.1.112
2.I want to set c=192.168.11.25
3.How to do it?Modify doubango code or IMSDroid code?A demo is better.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
IMSDroid 1.1.327   on Android 2.2

Please provide any additional information below.

Original issue reported on code.google.com by yuwenbin...@gmail.com on 16 Dec 2010 at 12:57

GoogleCodeExporter commented 8 years ago
I am using IMSDroid 1.1.343
In fact,I want to send MSRP chat message to a server(IP:192.168.11.25),then 
server send message to remoteparty,not P2P.
How to do it?

Original comment by yuwenbin...@gmail.com on 16 Dec 2010 at 1:04

GoogleCodeExporter commented 8 years ago
INVITE sip:sip:yyyyyyy@xxxxx SIP/2.0
Via: SIP/2.0/UDP 10.0.2.15:33300;branch=z9hG4bK1292080475247;rport
From: <sip:xxxxxxx@xxxxx>;tag=1292319826917
To: <sip:yyyyyyy@xxxxx>
Contact: <sip:8616610005555@10.0.2.15:33300;transport=udp>;+g.oma.sip-im
Call-ID: abc8fc7d-5363-959f-2072-355762366060
CSeq: 32322527 INVITE
Content-Type: application/sdp
Content-Length: 222
Max-Forwards: 70
Route: <sip:192.168.11.76:5060;lr;transport=udp>
P-Preferred-Identity: <sip:xxxxxxx@xxxxx>
Subject: Hello
Supported: timer
Min-SE: 3600
Session-Expires: 3600
Require: pref
Accept-Contact: *

Session Description Protocol Version (v): 0
Owner/Creator, Session Id (o): doubango 1983 678901 IN IP4 10.0.2.15
Session Name (s): -
Connection Information (c): IN IP4 10.0.2.15
Time Description, active time (t): 0 0
Media Description, name and address (m): message 53476 TCP/MSRP *
Connection Information (c): IN IP4 10.0.2.15
Media Attribute (a): path:msrp://10.0.2.15:53476/1291325892995;tcp
Media Attribute (a): connection:new
Media Attribute (a): setup:actpass
Media Attribute (a): sendrecv

Original comment by yuwenbin...@gmail.com on 17 Dec 2010 at 2:33

GoogleCodeExporter commented 8 years ago
200 OK
Owner/Creator, Session Id (o): doubango 1983 678902 IN IP4 192.168.11.76
Connection Information (c): IN IP4 192.168.11.133

Original comment by yuwenbin...@gmail.com on 17 Dec 2010 at 2:34

GoogleCodeExporter commented 8 years ago
I also want to change Media Attribute (a): setup:actpass to Media Attribute 
(a): setup:active
How to do it?
IMSDroid 1.1.343  Android 2.2

Original comment by yuwenbin...@gmail.com on 17 Dec 2010 at 3:22

GoogleCodeExporter commented 8 years ago

Original comment by boss...@yahoo.fr on 24 Dec 2010 at 12:32