Remove expires parameter from Contact
What am I doing wrong here? When I test this, it doesn't work, but it is pretty straight forward and I can't figure out what I have wrong.
sip-manipulation
name REMOVE_EXPIRE
description removes expire parameter from Contact
split-headers
join-headers
header-rule
name removeExpireContact
header-name contact
action store
comparison-type case-sensitive
msg-type any
methods REGISTER
match-value
new-value
element-rule
name removeExpire
parameter-name expires
type header-param-name
action delete-element
match-val-type any
comparison-type case-sensitive
match-value
new-value
3sbc-lab-2(test-sip-manipulation)# execute
Got Header Rule removeExpireContact (headerName=contact action=manipulate cmpType=case-insensitive)
Before Manipulation(3) Contact Header Value = '<sip:dmpashkov96284_cti@192.168.101.84:5060;transport=udp>;q=1.0;expires=0'
removeExpireContact.removeExpire manipulate(header-param-name:expires) pattern:\,+