Page 1 of 1

nv_faxdetect for asterisk 13

PostPosted: Sun Jun 07, 2015 9:02 am
by oscaroxy
I would to detect a fax, I install asterisk 13.1, and I follow the steps in:

but nothing, the nv_faxdetect don't work.

I downloaded app_nv_faxdetect.c from:

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?