Replying to my own question, the app_nv_backgrounddetect compiles fine with 
1.4.9, in case anyone needs it like I do.

Remzi


-----Original Message-----
From: Remzi Semsettin Turer
Sent: Monday, July 16, 2007 11:38 PM
To: '[email protected]'
Subject: Compiling app_nv_backgrounddetect on 1.4.7.1

Hi all,

I have compiled and loaded successfully app_nv_backgrounddetect 1.0.6-1, on 
Asterisk 1.4, using 1.4.1, 1.4.2 and 1.4.4. I was checking 1.4.7.1 and I am 
receiving errors as:

   [CC] app_nv_backgrounddetect-1.0.6_1.c -> app_nv_backgrounddetect-1.0.6_1.o
app_nv_backgrounddetect-1.0.6_1.c:77: warning: data definition has no type or 
storage class
app_nv_backgrounddetect-1.0.6_1.c:77: warning: type defaults to 'int' in 
declaration of 'STANDARD_LOCAL_USER'
app_nv_backgrounddetect-1.0.6_1.c:79: warning: data definition has no type or 
storage class
app_nv_backgrounddetect-1.0.6_1.c:79: warning: type defaults to 'int' in 
declaration of 'LOCAL_USER_DECL'
app_nv_backgrounddetect-1.0.6_1.c:213:60: warning: trigraph ??) ignored, use 
-trigraphs to enable
app_nv_backgrounddetect-1.0.6_1.c: In function 'nv_background_detect_exec':
app_nv_backgrounddetect-1.0.6_1.c:84: warning: unused variable 'u'
app_nv_backgrounddetect-1.0.6_1.c: At top level:
app_nv_backgrounddetect-1.0.6_1.c:329: warning: no previous prototype for 
'unload_module'
app_nv_backgrounddetect-1.0.6_1.c:335: warning: no previous prototype for 
'load_module'
app_nv_backgrounddetect-1.0.6_1.c:340: warning: no previous prototype for 
'description'
app_nv_backgrounddetect-1.0.6_1.c:345: warning: no previous prototype for 
'usecount'
app_nv_backgrounddetect-1.0.6_1.c: In function 'usecount':
app_nv_backgrounddetect-1.0.6_1.c:347: warning: implicit declaration of 
function 'STANDARD_USECOUNT'
app_nv_backgrounddetect-1.0.6_1.c: At top level:
app_nv_backgrounddetect-1.0.6_1.c:352: warning: function declaration isn't a 
prototype
app_nv_backgrounddetect-1.0.6_1.c: In function 'usecount':
app_nv_backgrounddetect-1.0.6_1.c:347: warning: 'res' is used uninitialized in 
this function
   [LD] app_nv_backgrounddetect-1.0.6_1.o -> app_nv_backgrounddetect-1.0.6_1.so

Any ideas on what I need to check? Has anyone compiled either app_nv_faxdetect 
or backgrounddetect on 1.4.7.1 successfully? On another note, is there anything 
coming with 1.4.7.1 to use to detect if a call is fax? (I am using it with my 
SIP lines)

If anyone needs the code, you can get it at:

wget http://www.sems.org/content/download/asterisk/app_nv_faxdetect-1.0.6_1.c
wget 
http://www.sems.org/content/download/asterisk/app_nv_backgrounddetect-1.0.6_1.c

They have been patched to work with Asterisk 1.4.0 till 1.4.4.

Remzi

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to