call another HMR if expression is true
I'm trying to call another HMR if the from header digits match a certain string and I can't seem to get it to work. I know I just have something little off, but I can't seem to find it.
sip-manipulation
name CheckFrom
description Checks the From header and will call the ColRule if it is true
split-headers
join-headers
header-rule
name storeFrom
header-name From
action store
comparison-type case-sensitive
msg-type out-of-dialog
methods INVITE
match-value
new-value
element-rule
name storeUser
parameter-name
type uri-user-only
action store
match-val-type any
comparison-type pattern-rule
match-value ^13034569\d{3}$
new-value
header-rule
name callColRule
header-name From
action sip-manip
comparison-type boolean
msg-type any
methods