--- asterisk-18.12.1.orig/codecs/codec_ilbc.c 2022-06-15 15:43:53.010639561 +0200
+++ asterisk-18.12.1/codecs/codec_ilbc.c 2022-06-15 15:43:40.388576072 +0200
@@ -45,6 +45,11 @@
typedef uint16_t ilbc_bytes;
typedef int16_t ilbc_block;
#define BUF_TYPE i16
+/* In the ilbc library were removed RFC 3951 compatibility macros */
+#define initDecode WebRtcIlbcfix_InitDecode
+#define initEncode WebRtcIlbcfix_InitEncode
+#define iLBC_decode WebRtcIlbcfix_DecodeImpl
+#define iLBC_encode WebRtcIlbcfix_EncodeImpl
#else
#include "ilbc/iLBC_encode.h"
#include "ilbc/iLBC_decode.h"