[OpenSIPS-Users] Push SDP into Request

Johan De Clercq Johan at democon.be
Wed Aug 11 12:04:28 EST 2021


wouldn't it be better to do first your manip and then pass it to rtpengine
?

Op wo 11 aug. 2021 om 12:39 schreef Mark Farmer <farmorg at gmail.com>:

> Hi everyone
>
> I am using rtpengine_offer() and storing the SDP in a variable which I
> then modify using the reg_exp transformation to delete a line.
>
> rtpengine_offer($var(PSTN_TPTY),,$var(SDPbody));
> $var(SDPbody) = $(var(SDPbody){re.subst,/a=silenceSupp:off\ -\ -\ -\
> -\r\n//g});
>
> How do I then push the resulting variable into the body of the INVITE?
>
> Many thanks
> Mark.
>
> _______________________________________________
> 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/20210811/dc5d1a1b/attachment.html>


More information about the Users mailing list