HMR: match element-rule once only
Hello all,
I have one question regarding how to match and execute element-rule and don't matching (skip) other element-rules (in the same header-rule). If there is a some setting/parameter to turn off this recursive behavior.
For explanation: you have sip-manipulation -> header-rule -> and inside header rule you have some element-rules.
You receive on access for example 421155 and you would like to send into core like 155. In this case, it matches element-rule fixNational2 and I want to stop executing/matching element-rule fixInternational because after this HMR I got 00155.
header-rule name handleRURI header-name Request-URI action manipulate comparison-type case-sensitive msg-type request methods INVITE match-value new-value element-rule name fixNational1 parameter-name type uri-phone-number-only action replace match-val-type any comparison-type pattern-rule match-value ^421([2-9].+) new-value "0"+$1 element-rule name fixNational2 parameter-name type uri-phone-number-only action replace match-val-type any comparison-type pattern-rule match-value ^4211([1-8].+) new-value "1"+$1 element-rule name fixNational3 parameter-name type uri-phone-number-only action replace match-val-type any comparison-type pattern-rule match-value ^42119([0-9].+) new-value "019"+$1 element-rule name fixInternational parameter-name type uri-phone-number-only action replace match-val-type any comparison-type pattern-rule match-value ^([1-9].+) new-value "00"+$1