Acme Packet (MOSC)

MOSC Banner

SIP manipulation (HMR) PAI questions

edited Jan 10, 2025 6:29AM in Acme Packet (MOSC) 6 commentsAnswered ✓

Hello


I want to use sip manipulation in AcmePacket to delete the cpc in the PAI header.
I applied this HMR and it is not working properly.
Can you confirm if this HMR is correct?

Example

P-Asserted-Identity: <sip:peer1@x.x.x.x:5060>;cpc=ordinary

sip-manipulation
name DEL_CPC
description
split-headers
join-headers
header-rule
name changePAID
header-name P-Asserted-Identity
action manipulate
comparison-type pattern-rule
msg-type any
methods
match-value
new-value
element-rule
name isPAID
parameter-name
type header-value
action store
match-val-type any
comparison-type pattern-rule
match-value ^([^;]+);([^@]+)@(.+)$
new-value
element-rule
name ChgPAID
parameter-name
type header-value
action replace
match-val-type any
comparison-type boolean
match-value $changePAID.$isPAID
new-value $changePAID.$isPAID.$1+@+$changePAID.$isPAID.$3

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