REGEX translation-rules
we are on 9.3.x which allows REGEX in translation rules and it works great, we are using these rules to change both the RURI and called headers.
translation-rules
id replace-my_called-header
description replace
input-header-type called-header
input-header-value ^(.*?)+555123(.*)$
output-header-type called-header
output-header-value $01220$02
Now I came across a phone number in the To header that includes some hyphens
To: <tel:+55-5-1234567>
the rule still works correctly and the output is
To: <sip:2204567>
while this is great, the actual To number doesn't match the input-header-value regex. I am assuming the SBC either removes any hyphens before the regex gets to look at the number? is that configured somewhere or does the SBC "just knows" what needs to be done?