On 14/09/15 18:16, Alex Balashov wrote:
On 09/14/2015 11:37 AM, Yufei Tao wrote:
I want to convert a Hex number string into a Dec number string, e.g. Hex number "123" into Dec number "291". What is the best way? I didn't find any transformation for this.
As far as I know, Kamailio has no facility for this. I didn't see one in the transformations or the various utility modules, either.
Isn't the s.decode.hexa transformation what it actually needed here?
- http://www.kamailio.org/wiki/cookbooks/4.3.x/transformations#sdecodehexa
Cheers, Daniel