FS defined SOFIA_MULTIPART_PREFIX  which should can support multipart body. not sure if you can find the wiki. maybe you should look the source code and update the wiki when you find out.

I had tried that but I forget the procedure. it should be some chan vars like sip_mp_ ...

-- 
Seven Du
http://www.freeswitch.org.cn
http://about.me/dujinfang
http://www.dujinfang.com

Sent with Sparrow

On Saturday, May 25, 2013 at 9:18 AM, xiaofengcanyuexp@163.com wrote:

Dear support,

I''m trying to encapsulate my private "application/isup" in the SIP Msg. Normally, it should like below example.

It firstly addresses "Content-Type: multipart/mixed;boundary=QRLVLNKeKxWDHAuwlEkR". And then can write private "content-type" like "application/sdp".
Now I can see the application/sdp is encapsulated via variable "switch_r_sdp".
Is there anyway to encapsulated other customized "content-type"?

Appreciate to get your reply.
---------------------------------------------------------------------------------------------------------------
Here is an example of SIP message which encapsulated "applicaiton/sdp" and "application/isup".

INVITE sip: 87896677@dance.com;user=phone;SIP/2.0
From: "Caller"<sip:678923001@skynetwork.com>
To: <sip:87896677@dance.com>;user=phone
Call-ID: QRLVLNKeKx-WDHAuwlEkR-EwhPPcTHOP@skynetwork.com
Content-Type: multipart/mixed;boundary=QRLVLNKeKxWDHAuwlEkR
MIME-Version: 1.0
Content-Length: 433
--QRLVLNKeKxWDHAuwlEkR
Content-Type: application/sdp
User-Agent: ENSR2.5.46.6-IS2-RMRG36-RG20-CPO487
Content-Length: 142

v=0
o=- 1706944438 1706944438 IN IP4 192.168.1.105
s=ENSResip
t=0 0
m=audio 6793 RTP/AVP 0
a=rtpmap:0 PCMU/8000
--QRLVLNKeKxWDHAuwlEkR
Content-Type: application/isup; version=ansi;base=ansi00
Content-Disposition: signal; handling=optional

01 00 60 01 0a 03 05 0b 02 c0 90 06 03 10 78 98 66 77 0a 07 83 13 76 98 32 00 0f 00
--QRLVLNKeKxWDHAuwlEkR--


Thanks
-------------------
2013-05-25




_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org