Why do I receive the same FID value for all API responses when using Kannel? Why do I receive the same FID value for all API responses when using Kannel?

Why do I receive the same FID value for all API responses when using Kannel?

Albedith Golovnya

Question

Why do I receive the same FID [FID:9223372036854775807] value for all API responses when using Kannel?

Applies To

  • Kannel
  • Messages API
  • SMS API

Answer

By default, the Kannel configuration sets the FID value to an integer. However, the Vonage message ID values are too large to be considered integers. As a result, the Kannel logs always return the same FID value [FID:9223372036854775807]. This value (9223372036854775807) is the largest possible integer value that can be set on a 64-bit system.

Removing the "msg-id-type" from the Kannel config will reconfigure the FID value to a string. This will help display properly the value for the message-id in the Kannel logs.