[OpenSIPS-Users] How to delete a line from pvar

Bogdan-Andrei Iancu bogdan at opensips.org
Fri Mar 20 11:06:18 EST 2020


Hi,

Have you tried the the regexp based transformation?
     https://opensips.org/Documentation/Script-Tran-3-0#toc86

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
OpenSIPS Summit, Amsterdam, May 2020
   https://www.opensips.org/events/Summit-2020Amsterdam/

On 3/17/20 7:25 PM, Mark Farmer wrote:
> Hi everyone
>
> I am saving the SDP into a pvar using the sdp_pvar parameter in 
> rtpengine_offer().
>
> How do I now delete a line from the pvar before pushing the SDP into 
> the message?
>
> The line in question is:
> a=setup:actpass
>
> 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/20200320/b8dab875/attachment.html>


More information about the Users mailing list