[Freeswitch-users] Transferring XML metadata as part of SIP INVITE

Michael Jerris mike at jerris.com
Thu Sep 19 16:06:40 MSD 2013


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 at 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




Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list