Session Director - Respond locally to 18x
I'm looking for a way to respond locally to 18x messages with a PRACK. In my mind this would be similar to responding locally to an OPTIONS request. Am I even thinking about this correctly as a function of an HMR or should I be looking elsewhere trying to get this functionality.
Something like this, but working.
sip-manipulation
name PRACK181s
description PRACK 181s
split-headers
join-headers
header-rule
name isStatus
header-name @status-line
action manipulate
comparison-type pattern-rule
msg-type reply
methods
match-value
new-value
element-rule
name is181Code
parameter-name
type status-code
action reject
match-val-type any
comparison-type pattern-rule
match-value 181
new-value 200:"OK"