Acme Packet (MOSC)

MOSC Banner

HMR - match and store only 8 digits header

in Acme Packet (MOSC) 6 commentsAnswered ✓

Hi All,

I have a scenario where I receive 8 digits or 10 digits in the TO header of the SIP INVITE. I need to store the TO header user value when it sends only 8 digits. May I know how to achieve it.

I tried to use below. But it didn't help. It is storing the first 8 digits either way. I do not want to trigger this when I receive 10 digits.

            name                                    Store8DigtTO
header-name TO
action store
comparison-type case-sensitive
msg-type any
methods INVITE
match-value
new-value
element-rule
name StoreTO
parameter-name
type uri-user
action store
match-val-type any
comparison-type boolean
match-value [0-9]{8,8} new-value

Thank you..!

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center