DO NOT SHARE THESE DOCS WITH CUSTOMERS!
This is an LA release that will only be provided to a select number of PLM-sanctioned customers (PDFs only). Contact PLM for details.
This rule changes username in Contact header
set profiles signaling sipAdaptorProfile CONTACT_HEADER_MODIFY rule 1
Set the criteria.
set profiles signaling sipAdaptorProfile CONTACT_HEADER_MODIFY rule 1 criterion 1 type message set profiles signaling sipAdaptorProfile CONTACT_HEADER_MODIFY rule 1 criterion 2 type header
Configure the Message criteria.
set profiles signaling sipAdaptorProfile CONTACT_HEADER_MODIFY rule 1 criterion 1 type message message messageTypes requestAll set profiles signaling sipAdaptorProfile CONTACT_HEADER_MODIFY rule 1 criterion 1 type message message methodType invite
Configure the Header criteria.
set profiles signaling sipAdaptorProfile CONTACT_HEADER_MODIFY rule 1 criterion 2 type header header condition exist set profiles signaling sipAdaptorProfile CONTACT_HEADER_MODIFY rule 1 criterion 2 type header header name "contact" set profiles signaling sipAdaptorProfile CONTACT_HEADER_MODIFY rule 1 criterion 2 type header header numberOfInstances number 1 qualifier equal
Store the From username in var1
set profiles signaling sipAdaptorProfile CONTACT_HEADER_MODIFY rule 1 action 1 type token set profiles signaling sipAdaptorProfile CONTACT_HEADER_MODIFY rule 1 action 1 operation store set profiles signaling sipAdaptorProfile CONTACT_HEADER_MODIFY rule 1 action 1 from type token tokenValue uriusername set profiles signaling sipAdaptorProfile CONTACT_HEADER_MODIFY rule 1 action 1 to type variable variableValue var1
Enable SIP Adaptor Profile
set profiles signaling sipAdaptorProfile CONTACT_HEADER_MODIFY state enabled commit
Associate this with the SIP service group
set addressContext defaultAddressContext zone ZONE1 sipTrunkGroup TG_SIPART_IAD signaling messageManipulation inputAdapterProfile CONTACT_HEADER_MODIFY\par commit