I need to remove all header line witht tags but remove_hf() removes only Header:value All tags after ";" stay at the packet as garbage and next Header moves up As there
ACK sip:12345678900@phone.provider.com SIP/2.0 Via: SIP/2.0/UDP sip.server.com:5068 ;branch=z9hG4bKcb7a.9f70ce5990dd153cd0eaa6f1762c059c.0.cs102 *<There var another Via header that I removed with remove_hf_re but tags is stiil there and Route header mover up>*;rport=1578;received=23.101.134.111Route: sip:54.241.2.206;lr=on;ftag=as38f20f7b;did=ce8.10a Max-Forwards: 70 From: "New User" sip:00987654321@phone.provider.com;tag=as38f20f7b To: sip:12345678900@phone.provider.com;tag=B4r1B569001DB Contact: sip:contact@10.0.1.17:50600;alias=23.101.134.111~1578~1 Call-ID: 473fc8a64d7d96aa515780dc6237a6d5@10.0.1.17:50600 CSeq: 103 ACK User-Agent: Some Device Content-Length: 0