[reSIProcate] SipMessage Question
Dien Ba Quang
dienbaquang at gmail.com
Wed May 23 14:04:12 CDT 2007
Hi,
I'm sorry. I haven't done that before.
But I think you should take a look at: testMultipartRelated.cxx and
testRlmi.cxx files in the folder: resip\stack\test for more information.
Regards,
DBQ.
On 5/23/07, Subramanian Kasi Subramanian <subbu.subramanian at yahoo.com>
wrote:
>
> after sending the list subscribtion I get back a document from the
> presence server which has the following type:
> Content-Type:multipart/related;type="application/rlmi+xml";start="<
> 081daf at 192.168.252.114>";boundary="081daf9e-1dd2-11b2-8"
>
> I added these types to my notification and subscription:
>
> clientDum.getMasterProfile()->addSupportedMimeType(NOTIFY,
> Pidf::getStaticType());
> ClientDum.getMasterProfile()->addSupportedMimeType(NOTIFY,
> Mime("multipart", "related"));
> clientDum.getMasterProfile()->addSupportedMimeType(NOTIFY,Mime("application",
> "simple-message-summary"));
> clientDum.getMasterProfile()->addSupportedMimeType(NOTIFY,
> Mime("application", "rlmi+xml"));
> clientDum.getMasterProfile()->addSupportedMimeType(NOTIFY,
> Mime("application", "cpim-pidf+xml"));
>
> The OnupdateActive() Callback does not get called after I do this. Do you
> know if there is support for multipart MIME type?
>
> Subbu
>
>
> *Dien Ba Quang <dienbaquang at gmail.com>* wrote:
>
> Sure.
> You must create a token and push it back into SIP Message header:
> Example:
> SipMessage->header(h_Supporteds).push_back(Token(Symbols::NoReferSub));
>
> DBQ.
>
> On 5/23/07, Subramanian Kasi Subramanian <subbu.subramanian at yahoo.com>
> wrote:
> >
> > does the TOKEN have to be initialized to "eventlist"
> >
> > Subbu
> >
> > *Dien Ba Quang < dienbaquang at gmail.com>* wrote:
> >
> > You can use the following function:
> > subscribeMessage ->header(h_Supporteds) = TOKEN
> >
> > Regards,
> > DBQ.
> >
> > On 5/23/07, Subramanian Kasi Subramanian < subbu.subramanian at yahoo.com >
> > wrote:
> > >
> > > Hi DBQ
> > > I have created a subscribe message using:
> > > SharedPtr<SipMessage> subscribeMessage = clientDum.makeSubscription
> > > (naTo,"presence");
> > >
> > > I would like to know how I can add "eventlist" to the Supported header
> > > of the above SipMessage
> > >
> > > Thank you
> > > Subbu
> > >
> > > ------------------------------
> > > Moody friends. Drama queens. Your life? Nope! - their life, your
> > > story.
> > > Play Sims Stories at Yahoo! Games.
> > > <http://us.rd.yahoo.com/evt=48224/*http://sims.yahoo.com/>
> > >
> >
> >
> > ------------------------------
> > Pinpoint customers
> > <http://us.rd.yahoo.com/evt=48250/*http://searchmarketing.yahoo.com/arp/sponsoredsearch_v9.php?o=US2226&cmp=Yahoo&ctv=AprNI&s=Y&s2=EM&b=50>who
> > are looking for what you sell.
> >
>
>
> ------------------------------
> Take the Internet to Go: Yahoo!Go puts the Internet in your pocket:<http://us.rd.yahoo.com/evt=48253/*http://mobile.yahoo.com/go?refer=1GNXIC>mail, news, photos & more.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20070523/f54a7b81/attachment.htm>
More information about the resiprocate-devel
mailing list