Hi There,<div><br></div><div>Is there a way to convert an avp variable to hex?</div><div><br></div><div>I&#39;ve tried the following but it&#39;s not working.</div><div><br></div><div>$(avp(id){s.encode.hexa})</div><div><br>
</div><div>For instance if avp(id) is 11, it returns 3131, if it&#39;s 3, it returns 33.</div><div><br></div><div>Am I doing something wrong? </div><div>Is there a better way?</div><div><br></div><div>Thanks,</div><div>Ali Pey</div>
<div><br></div>