Removing parameters form contact and other headers of an INVITE message
Hello!
I'm working on an access scenario and everytime I want to place a call, I get a 400 bad request
Taking a look at the trace, I can see this parameter: Proxy-Require: com.nortelnetworks.firewall in
several places of the INVITE, including the contact header and some weird header names as x-nt-location
I tried to make an HMR to strip the parameter:
name test_require
description
split-headers
join-headers
header-rule
name require
header-name Contact
action find-replace-all
comparison-type pattern-rule
msg-type any
methods
match-value Require:.*\R
new-value
element-rule
name strip
parameter-name
type header-value <---- NO SURE IF THIS IS THE RIGHT VALUE
action find-replace-all