I would to detect a fax, I install asterisk 13.1, and I follow the steps in:
http://www.voip-info.org/wiki/view/NVFaxDetect
but nothing, the nv_faxdetect don't work.
I downloaded app_nv_faxdetect.c from:
https://github.com/marcelloceschia/nv_faxdetekt
after I launch "make" command but it response an error:
app_nv_faxdetect.c:111:32: error: ‘AST_FORMAT_SLINEAR’ undeclared (first use in this function)
ast_format_set(&linearFormat, AST_FORMAT_SLINEAR, 0);
then I add the line:
#include "../include/asterisk/format.h"
but nothing the "AST_FORMAT_SLINEAR" don't exit into file format.h.
where do I mistake?
where do I find the app_nv_faxdetect.c correct for asterisk 13?
thanks