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

Seven Du dujinfang at gmail.com
Fri Sep 20 18:21:42 MSD 2013


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 (http://www.sparrowmailapp.com/?sig)


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 at gmail.com (mailto: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
>  
>  
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org (mailto:consulting at freeswitch.org)
> http://www.freeswitchsolutions.com
>  
> 
> 
>  
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>  
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org (mailto:FreeSWITCH-users at lists.freeswitch.org)
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>  
>  


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130920/1115d653/attachment.html 


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