[OpenSIPS-Users] Add more bodies to INTITE

Răzvan Crainea razvan at opensips.org
Tue Dec 5 10:34:52 EST 2017


Hi, Denis!

Check the new xml module[1]. You can use it to build the XML in the example.

[1] http://www.opensips.org/html/docs/modules/2.3.x/xml.html

Best regards,

Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com

On 12/05/2017 04:36 PM, Denis via Users wrote:
> Hello, Razvan!
> I want to ask to analyze the example. Can i add exactly such body, in 
> the such format, and if possible, how?
> In [1] we have only one param. "/body/". How can i from this param?
> Thank you.
> -- 
> С уважением, Денис.
> Best regards, Denis
> 05.12.2017, 17:21, "Răzvan Crainea" <razvan at opensips.org>:
>> Yes, starting with OpenSIPS 2.3 you can add a body part using the 
>> add_body_part() function[1].
>>
>> [1] 
>> http://www.opensips.org/html/docs/modules/2.3.x/sipmsgops.html#idp5587328
>>
>> Best regards,
>> Răzvan Crainea
>> OpenSIPS Developer
>> www.opensips-solutions.com <http://www.opensips-solutions.com/>
>> On 12/05/2017 11:02 AM, Denis via Users wrote:
>>> Hello!
>>> Opensips 2.3
>>> In the link below you can find an example of the INVITE which i want 
>>> to send to some callee. Before, i received the INVITE from caller 
>>> with only SDP body. I.e. i need to add some additional body to the 
>>> INVITE with structure as shown in the example.
>>> https://yadi.sk/i/389OOlLX3QKx27
>>> Can i do it, using Opensips?
>>> Thank you for any help.
>>> -- 
>>> С уважением, Денис.
>>> Best regards, Denis
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>> ,
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20171205/11732cc5/attachment-0001.html>


More information about the Users mailing list