Adding Diversion header into the reply 302 Moved Temporarily
Hello
I'm trying to build the following HMR:
- Searching for the reply 302 Moved Temporarily
- Storing the parameter TO
- Adding the header Diversion into the reply 302 Moved Temporarily
- The diversion header must be equal to the parameter TO already stored
Below is the code for this HMR; But it's not working.
Would you please help to find out what's wrong.
P.S: The parameter Redirect action = proxy is already set in the Sip-interface of the realm in question
------------------------------------------------------------------------------------------------------------------------------------
sip-manipulation
name CFW-302
description add Diversion Header into the message 302
split-headers
join-headers
header-rule
name CheckFor302
header-name @status-line
action store
comparison-type pattern-rule
msg-type reply