Title: Running commands from dialplans

Hi,

 

Can anybody tell me which version of res_perl I have to install on Asterisk 1.2.4.

 

I tried to compile res_perl version 3.5 on Asterisk 1.2.4 and I got the following error.

 

gcc -Wall -DRES_PERL_BASE="\"/usr/local/res_perl\"" -DMULTIPLICITY  - D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -

D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm  -

I/usr/local/lib/perl5/5.8.8/i686-linux-thread-multi/CORE   -

I/usr/src/bristuff-0.3.0-PRE-1l/asterisk-1.2.4/ - I/usr/src/bristuff-0.3.0-PRE-1l/asterisk-1.2.4//include -I. -c AstAPIBase.c

AstAPIBase.c: In function `asterisk_recordfile':

AstAPIBase.c:435: warning: ISO C90 forbids mixed declarations and code

AstAPIBase.c: In function `asterisk_request_and_dial':

AstAPIBase.c:813: warning: passing arg 6 of `ast_request_and_dial' makes integer from pointer without a cast

AstAPIBase.c:813: error: too few arguments to function `ast_request_and_dial'

AstAPIBase.c: In function `asterisk_request':

AstAPIBase.c:880: error: too few arguments to function `ast_request'

make: *** [AstAPIBase.o] Error 1

 

 

Can anybody tell me if this version is the right res_perl version?

 

Kind regards.

 

Arjan Kroon

 

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to