Seems theres some sip_mp_ headers existing can do this, check the code. maybe

originate {sip_mp_application/custom+xml=<xml></xml>}……...

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

Sent with Sparrow

On Thursday, September 19, 2013 at 8:06 PM, Michael Jerris wrote:

We have a way of parsing mutipart mime body in invite, but I don't think there is a way to send one. You'll need to do some code in libsofia and mod_sofia to make this work.

On Sep 18, 2013, at 8:28 PM, Siri MM <sirimmfs@gmail.com> wrote:

Hi,

I have a requirement where, after recording sessions using FS, I need to make a SIP call to a third party device, and then transfer the recorded file to it as part of this call.

In order to accomplish this, my plan is to originate a call to this third party SIP device, and bridge the call to my extension, and the dialplan of my extension would playback the recorded file to the third party device.

Couple of questions:

1. Any other better ways of achieving this?
2. I also need to transfer the recorded file's metadata in the form of an XML, as part of the SIP INVITE to the device. Although I am aware of adding custom headers using "sip_h", I am not sure how to add a XML file as part of the SIP message.

Would appreciate any inputs


_________________________________________________________________________
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