Skip to content
This repository has been archived by the owner on Feb 3, 2025. It is now read-only.

I want to send INVITE message with some payload.How to implement it? #180

Open
GoogleCodeExporter opened this issue Aug 19, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1.I want to send INVITE message with some payload.
2.However,callMsrp(string remoteUri,ActionConfig actionconfig) method cannot 
take payload.
3.How to implement it?

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


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

Please provide any additional information below.
This is an example.

INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 172.30.97.12;branch=z9hG4bK1653873684
From: <sip:[email protected]>;tag=11248218
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 1 INVITE
Contact: <sip:172.30.97.12>;+g.oma.sip-im
Route: <sip:172.30.40.70:5060;transport=udp;lr>
Max-Forwards: 70
P-Access-Network-Info: 3GPP-GERAN;cgi-3gpp=11201003f000a
Content-Length: 959
P-Preferred-Identity: sip:[email protected]
Allow: INVITE,OPTIONS,BYE,CANCEL,ACK,SUBSCRIBE,NOTIFY,PUBLISH,MESSAGE,REFER
Accept-Contact: *;+g.oma.sip-im
User-Agent: SEMC_IMS_R3
Session-Expires: 3600;refresher=uac
Supported: timer
Subject: hello
Require: recipient-list-invite;pref
Content-Type: multipart/mixed;boundary=12341234

--12341234
Content-Type: application/resource-lists+xml
Content-Disposition: recipient-list
Content-Length: 318

<?xml version="1.0" encoding="UTF-8"?>
<resource-lists xmlns="urn:ietf:params:xml:ns:resource-lists">
<list><entry 
uri="tel:+491721092912;method=INVITE?Replaces:[email protected];to-tag=fya
fj8nusdf;from-tag=12272340943"/>
<entry uri="tel:+491721092913/>
</list></resource-lists>
--12341234
Content-Type: application/sdp
Content-Length: 439
v=0
o=- 1250089505 1250089505 IN IP4 172.30.97.12
s=none
c=IN IP4 172.30.97.12
t=0 0
m=message 4329 TCP/MSRP *
a=accept-types:message/cpim;text/plain;charset=UTF-8;application/im-iscomposing+
xml;image/png;image/x-png;image/jpeg;image/gif;audio/mpeg;audio/x-mpeg;x-music/x
-midi;audio/wav;audio/x-wav;video/3gpp;video/mp4
a=path:msrp://172.30.97.12:4329/3904829551;tcp
a=sendrecv
a=max-size:51400
a=setup:active
a=connection:new
--12341234---


Original issue reported on code.google.com by [email protected] on 14 Feb 2011 at 3:43

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant