Hello,
I am trying to write a SIP application that sends multipart content in a INVITE message, that is, in the same message I send "application/sdp" content + "application/resource-lists+xml" content
It seems the SIP stack is very simple and the only way to add complex content is by creating the content yourself ; in my case I used the SDP plug in to make the sdp content and the xml lists were made "by hand" dealing directly with the text descriptors.
My problem is that when a try to send all in the same SIP message I create the :
CSIPContentTypeHeader* contentType=CSIPContentTypeHeader::NewL(multipart,mixed);
and
msgElements->SetContentL(multiContent,contentType);
the problem is that I need to specify boundary delimiters (acording to RFC 2046 I think it was) in the following way:
Content-type: multipart/mixed;boundary=boundary1
I dind´t have problems creating a simple multipart/mixed header but when I try to add
the " ;boundary=boundary1" part, the message doesn´t get sent into the network.
I´ve tried many ways of creating the descriptor to make it work, like:
_LIT8(mixed,"mixed;boundary=boundary1");
or
_LIT8(mixed,"mixed boundary=boundary1");
or
_LIT8(mixed,"mixed;\"boundary=boundary1\"");
(in fact if I add any special character to the descriptor like ';' ':' '=' it doesnt work either) It seems like the SIP stack doesnt like this...but on the other hand it doesnt let me create this kind of content any other way and I really need that silly "bounday" delimiter!
I hope any of you guys can help me out or any nokia member can tell me why it doesn´t work and how to solve this problem.
Thank you.

ecodeL(_L8("sip
layer2@10.21.32.11"));

