decode_tbcd_string

The decode_tbcd_string operation decodes the field's value as a base 10 number encoded as an telephony binary-encoded-decimal and stores the result in the specified field. The telephony binary-encoded-decimal is defined according to 3GPP TS 09.20 or ETSI TS 100 974.

The destination field can be any of the following types:
  • BLOB
  • INT8
  • INT16
  • INT32
  • INT64
  • PHONE_NUMBER
  • STRING
  • UINT8
  • UINT16
  • UINT32
  • UINT64

For example, 0x1234 is decoded as 1234. If the result field is a BLOB or a STRING, then the result is a decimal ASCII value.