Hello guys. we are getting error audiohook when we compiling asterisk 18 new version …
audiohook.c: In function ‘audiohook_read_frame_single’:
audiohook.c:226: error: unknown field ‘format’ specified in initializer
audiohook.c:226: warning: initialization makes integer from pointer without a cast
Is this a fresh install? Was a previous version of Asterisk on the system? Have you modified Asterisk at all? That line itself has been present for quite a few versions, and it is almost as if Asterisk is trying to build against extremely old headers of itself.