Hi,
I have asterisk 1.6.2.8 and I try to compile celliax but I have the following compile error. The celliax support only the 1.6.0 asterisk series an d that's why it fails or I missed something else?
Thanks for your help in advance.
Best regards,
Peter Gelencser
d:/usr/src/chan_celliax# make
gcc -DASTERISK_VERSION_1_6_0 -pipe -Wall -Wstrict-prototypes -Wmissing-prototype s -Wmissing-declarations -g3 -I/usr/src/asterisk-1.6.2.8/include -I. -D_REENTRAN T -D_GNU_SOURCE -fomit-frame-pointer -D'CELLIAX_SVN_VERSION="18032M"' -c -o chan _celliax.o chan_celliax.c
chan_celliax.c: In function ‘celliax_read’:
chan_celliax.c:942: error: incompatible types in assignment
chan_celliax.c:987: error: incompatible type for argument 2 of ‘dtmf_rx’
chan_celliax.c: In function ‘celliax_sound_boost’:
chan_celliax.c:1127: error: cannot convert to a pointer type
chan_celliax.c: In function ‘load_module’:
chan_celliax.c:1335: error: ‘AST_MODULE’ undeclared (first use in this function)
chan_celliax.c:1335: error: (Each undeclared identifier is reported only once
chan_celliax.c:1335: error: for each function it appears in.)
chan_celliax.c: In function ‘celliax_sound_dsp_set’:
chan_celliax.c:2462: error: ‘DSP_FEATURE_DTMF_DETECT’ undeclared (first use in t his function)
make: *** [chan_celliax.o] Error 1
asterisk > 1.6.0.X not supported
Yes you're completely right.
They keep changing the API with completely unuseful thinghies, that would constrain us to rewrite major part of the module (particularly the command line API).
So, it will not compile.
But if you have the time and patience, should be very very easy (albeit very time consuming and boring) to modify the source for the newest changing way of CLI commands API