I know it’s not really a direct answer to your question, but wouldn’t that remove the Cseq: header.  Are you sure that’s desirable?

 

Ben Kaufman

 

From: sr-users <sr-users-bounces@lists.kamailio.org> On Behalf Of Patrick Karton
Sent: Tuesday, June 7, 2022 9:59 AM
To: sr-users@lists.kamailio.org
Subject: [SR-Users] remove headers with less than 5 characters with textops

 

Hello 

 

im trying to textops module  to remove headers with name length less than 5 characters with regular expression but it seems impossible or the module does not handle $ char

 

remove_hf_re("^.{1,5}$")