[SR-Users] REmove Header line with tags

Yuriy Gorlichenko ovoshlook at gmail.com
Tue Mar 3 01:28:12 CET 2015


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 at 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 at phone.provider.com>;tag=as38f20f7b
To: <sip:12345678900 at phone.provider.com>;tag=B4r1B569001DB
Contact: <sip:contact at 10.0.1.17:50600;alias=23.101.134.111~1578~1>
Call-ID: 473fc8a64d7d96aa515780dc6237a6d5 at 10.0.1.17:50600
CSeq: 103 ACK
User-Agent: Some Device
Content-Length: 0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150303/bb605418/attachment.html>


More information about the sr-users mailing list