<p></p>
<p>Actually instead of <code>subst_body()</code> from textops, which I suggested in the previous comment, the sdpops module offers a more convenient function to remove lines from sdp that match a prefix:</p>
<ul>
<li><a href="https://www.kamailio.org/docs/modules/stable/modules/sdpops.html#sdpops.f.remove_line_by_prefix" rel="nofollow">https://www.kamailio.org/docs/modules/stable/modules/sdpops.html#sdpops.f.remove_line_by_prefix</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/2755#issuecomment-857547470">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZPFDDLU2NX25OZBQ5DTR4ZGDANCNFSM454UIH3A">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZIZCOBDST5XKV77AOTTR4ZGDA5CNFSM454UIH3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGMOSFTQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2755#issuecomment-857547470",
"url": "https://github.com/kamailio/kamailio/issues/2755#issuecomment-857547470",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>