HMR rule to convert HEX string to Text
I'm trying to see if there's a way to use a header rule to parse out a hex string, convert it to text file and place each section to individual headers. I can do the second part where I'm able to parse out the info but can't seem to find a way to convert the User-to-User hex string to the text conversion as shown below.
Contact: "PRD DTMF CTI Station" <sip:9727536200@10.116.52.25;transport=tcp>
Max-Forwards: 68
User-Agent: Avaya CM/R016x.03.0.141.0
Allow: INVITE\
User-to-User: 04524F4144534944457E3230333630323530337E3133363830373130337E2D3434313132323436317E4A4632534A415243304A483436303339387E656E;encoding=hex
Av-Global-Session-ID: 00faca34-10d5-4701-9aed-5a200fc60000