Modifying RURI "rn" parameter
I'm trying to modify the "rn" routing number of a TEL URI using the following HMR
sip-manipulation
name tel_rn_mod
description
split-headers
join-headers
header-rule
name mod_tel_uri
header-name request-uri
action manipulate
comparison-type case-sensitive
msg-type request
methods
match-value
new-value
element-rule
name modUriRn
parameter-name rn
type uri-user-param
action replace
match-val-type any
comparison-type pattern-rule
match-value 1456.+0(\d{9})
new-value 0+$1
I need to change the INVITE from -
INVITE tel:55555555;rn=14566420255555555;npdi;cic=1456 SIP/2.0
to -
INVITE tel:55555555;rn=0255555555;npdi;cic=1456 SIP/2.0
The result of the test-sip seems to indicate there is nothing in the RURI rn parameter.
sda6300(test-sip-manipulation)# display
INVITE tel:55555555;rn=14566420255555555;npdi;cic=1456 SIP/2.0