[Freeswitch-users] Generating a INVITE with multipart content

Marcel Haldemann marcel.haldemann at convercom.ch
Wed Dec 14 18:36:20 MSK 2016


Hi,

I need to generate a "content-type: Multipart" Body and add two additional content parts to an INVITE on the B-LEG (bridge).
Is this currently supported ?

I found there is the variable sip_multipart. If I set something in this var the outbound INVITE is MULTIPART.
How can I add two additional parts to the body ?

Tried some wired stuff such as:

      <condition field="${Username}" expression="^([5])$">
                            <action application="export"><![CDATA[sip_multipart[0]=application/pidf+xml]]></action>
                            <action application="export"><![CDATA[sip_multipart[1]=test]]></action>
                            <action application="export"><![CDATA[sip_mp_application/pidf+xml=testdata]]></action>
                            <action application="info"></action>
      </condition>

How to add this body parts ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161214/d60d4d50/attachment-0001.html 


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