Hi All, I am trying to add FAX to my SIP confiig and I am getting some errors, any help would be great. gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DASTERISK_VERSION=\"CVS-v1-0-12/23/04-22:36:11\" -DINSTALL_PREFIX=\"\" -DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" -DASTMODDIR=\"/usr/lib/asterisk/modules\" -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\" -DBUSYDETECT_MARTIN -fPIC -c -o app_nv_faxdetect.o app_nv_faxdetect.c app_nv_faxdetect.c: In function `nv_detectfax_exec': app_nv_faxdetect.c:210: error: structure has no member named `cid' app_nv_faxdetect.c:227: error: structure has no member named `cid' app_nv_faxdetect.c:265: error: structure has no member named `cid' make[1]: *** [app_nv_faxdetect.o] Error 1 make[1]: Leaving directory `/usr/src/asterisk/apps' make: *** [subdirs] Error 1 linux01:/usr/src/asterisk # Thanks, Chris Tuska Network Engineer CCNA, CCSA In theory, theory and practice are the same. In practice, they aren't -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050310/e5be840f/attachment.htm
Look in app_nv_backgrounddetect.c and app_nv_faxdetect.c. Near the top you should see: // Use the second one for recent Asterisk releases #define CALLERID_FIELD cid.cid_num //#define CALLERID_FIELD callerid Change it to: // Use the second one for recent Asterisk releases //#define CALLERID_FIELD cid.cid_num #define CALLERID_FIELD callerid Save, recompile, and you should be set. -- Justin Newman Newman Telecom, Inc. info@newmantelecom.com
Justin, Thank you worked great... now for the SIP tests.. Chris Tuska Date: Thu, 10 Mar 2005 09:23:16 -0800 From: "Justin Newman" <jnewman@newmantelecom.com> Subject: [Asterisk-Users] NVFaxDetect errors on make To: <asterisk-users@lists.digium.com> Message-ID: <1a1901c52595$d92cbdb0$9600a8c0@THINKPAD> Content-Type: text/plain; charset="iso-8859-1" Look in app_nv_backgrounddetect.c and app_nv_faxdetect.c. Near the top you should see: // Use the second one for recent Asterisk releases #define CALLERID_FIELD cid.cid_num //#define CALLERID_FIELD callerid Change it to: // Use the second one for recent Asterisk releases //#define CALLERID_FIELD cid.cid_num #define CALLERID_FIELD callerid Save, recompile, and you should be set. -- Justin Newman Newman Telecom, Inc. info@newmantelecom.com ------------------------------ Thanks, Chris Tuska Network Engineer CCNA, CCSA In theory, theory and practice are the same. In practice, they aren't -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050310/c065bba9/attachment.htm