How to delete a header that is duplicated
Hello,
I am trying to build an HMR in order to delete the header k:100rel. The problem is that there is also header k:timer in the same INVITE, and so far I manage to delete both headers. How can I choose to delete only the correct one? I tried to match this particular header with different ways but I haven't managed to make it work so far. One example:
sip-manipulation
name Remove_k:100rel
description (Remove header k:100rel)
header-rule
name StoreHeader
header-name k
action store
comparison-type pattern-rule
match-value ^100rel
msg-type request
new-value
methods INVITE
header-rule
name RemoveHeader