Hi,

Thanks for the replies! The first thing I looked at was the encode/decode.hexa transformations but it only transforms between ASCII characters and Hex numbers. Then I used exec_avp to call a bash command (for example, 'echo $((0x123))' gives you 291) which works. But calling something external may not be optimal I thought?

I found OpenSIPS has hex2dec and dec2hex transformations and wonder if we could have these in Kamailio as well?

Cheers,
Yufei