SIP Maip to add an additional header field.
Have a situation that when sending calls out as Anonymous, telco wants
From: "Anonymous" <sip:anonymous@69.189.141.37>;
.
.
P-Asserted-Identity: "Anonymous" <sip:6992041210@10.15.120.73>
Privacy: id. ******. Add this if From is anonymous
-----------------------------------
I was thinking:
header-rule
name AddPrivateID
header-name From
action Add
comparison-type case-insensitive
match-value Anonymous
msg-type request
new-value
methods INVITE
element-rule
name InsertPrivateID
parameter-name Private
type uri-user
action add
match-val-type any
comparison-type
match-value
new-value id