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.

# Sample SMM rules to wirte various values to CDR records via SMM rules
# Rule #1: write the value of Contact Hdr to SMM CDR Field#1
# Rule #2: write the value of reqUri hostName (token) to SMM CDR Field#2
# Rule #3: write the value of generic parameter "tag" appears in the From Hdr to SMM CDR Field#3
# Rule #4: write the value of From Hdr urihostport (token) to SMM CDR Field#4
# Rule #5: write the value of value from a Variable to SMM CDR Field#5
set profiles signaling sipAdaptorProfile writeCdr rule 1 criterion 1 type message message messageTypes request methodTypes invite
set profiles signaling sipAdaptorProfile writeCdr rule 1 criterion 1 type message message condition exist
set profiles signaling sipAdaptorProfile writeCdr rule 1 criterion 2 type header header name Contact condition exist hdrInstance one
set profiles signaling sipAdaptorProfile writeCdr rule 1 action 1 type header operation writeCdr from type header value Contact
set profiles signaling sipAdaptorProfile writeCdr rule 1 action 1 to type cdrField cdrField cdr1
set profiles signaling sipAdaptorProfile writeCdr rule 2 criterion 1 type message message messageTypes request methodTypes invite
set profiles signaling sipAdaptorProfile writeCdr rule 2 criterion 1 type message message condition exist
set profiles signaling sipAdaptorProfile writeCdr rule 2 criterion 2 type header header name request-line condition exist hdrInstance one
set profiles signaling sipAdaptorProfile writeCdr rule 2 action 1 type token operation writeCdr
set profiles signaling sipAdaptorProfile writeCdr rule 2 action 1 from type token tokenValue urihostname
set profiles signaling sipAdaptorProfile writeCdr rule 2 action 1 to type cdrField cdrField cdr2
set profiles signaling sipAdaptorProfile writeCdr rule 3 criterion 1 type message message messageTypes request methodTypes inviteset profiles signaling sipAdaptorProfile writeCdr rule 3 criterion 1 type message message condition exist
set profiles signaling sipAdaptorProfile writeCdr rule 3 criterion 2 type header header name From condition exist hdrInstance one
set profiles signaling sipAdaptorProfile writeCdr rule 3 action 1 type parameter paramType generic operation writeCdr
set profiles signaling sipAdaptorProfile writeCdr rule 3 action 1 from type parameter value tag
set profiles signaling sipAdaptorProfile writeCdr rule 3 action 1 to type cdrField cdrField cdr3
set profiles signaling sipAdaptorProfile writeCdr rule 4 criterion 1 type message message messageTypes request methodTypes invite
set profiles signaling sipAdaptorProfile writeCdr rule 4 criterion 1 type message message condition exist
set profiles signaling sipAdaptorProfile writeCdr rule 4 criterion 2 type header header name From condition exist hdrInstance one
set profiles signaling sipAdaptorProfile writeCdr rule 4 action 1 type token operation writeCdr
set profiles signaling sipAdaptorProfile writeCdr rule 4 action 1 from type token tokenValue urihostport
set profiles signaling sipAdaptorProfile writeCdr rule 4 action 1 to type cdrField cdrField cdr4
set profiles signaling sipAdaptorProfile writeCdr rule 5 criterion 1 type message message messageTypes request methodTypes invite
set profiles signaling sipAdaptorProfile writeCdr rule 5 criterion 1 type message message condition exist
set profiles signaling sipAdaptorProfile writeCdr rule 5 criterion 2 type header header name From condition exist hdrInstance one
set profiles signaling sipAdaptorProfile writeCdr rule 5 action 1 type variable operation store from type value value "XoXo"
set profiles signaling sipAdaptorProfile writeCdr rule 5 action 1 type variable operation store to type variable variableValue var1
set profiles signaling sipAdaptorProfile writeCdr rule 5 action 2 type variable operation writeCdr
set profiles signaling sipAdaptorProfile writeCdr rule 5 action 2 from type variable variableValue var1
set profiles signaling sipAdaptorProfile writeCdr rule 5 action 2 to type cdrField cdrField cdr5
  • No labels