change value of header parameter
Hi,
I need to modify the contact line from this:
'<sip:5034730570@172.16.240.115:5060;tgrp=dealer1;trunk-context=adpcloudlab.com;transport=udp>'
To this:
'<sip:5034730570;tgrp=dealer1;trunk-context=adpcloudlab.com@172.16.240.115:5060;transport=udp>'
I can store, delete, and recall the uri-host and uri-port values w/o a problem.
I can't seem to do much with the trunk context parameter. I tried setting it's value with:
element-rule
name write_trunk_context
parameter-name trunk-context
type header-value
action replace
match-val-type any
comparison-type case-sensitive
match-value
new-value $fixContact.$store_hdr_prm_name.$0+"="+$fixContact.$store_trunk_context_value.$2+"@+$fixContact.$store_host.$0+:"+$fixContact.$store_port.$0
But none of the non-uri values were used: