Hi There,

Is there a way to convert an avp variable to hex?

I've tried the following but it's not working.

$(avp(id){s.encode.hexa})

For instance if avp(id) is 11, it returns 3131, if it's 3, it returns 33.

Am I doing something wrong?
Is there a better way?

Thanks,
Ali Pey
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to