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

2020-03-20 Thread Bogdan-Andrei Iancu

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@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


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

2020-03-17 Thread Mark Farmer
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@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users