Updating to 1.2

I am following this instructions to update to 1.2.24. I do not want to go to 1.4.


I am using a 2 years old version of Asterisk@home.

I copile zaptel with no errors… but when compiling asterisk…

codec_zap.c:681: error: dereferencing pointer to incomplete type
codec_zap.c:682: error: ‘ZT_TRANSCODE_OP’ undeclared (first use in this function)
codec_zap.c:684: error: dereferencing pointer to incomplete type
codec_zap.c: In function ‘find_transcoders’:
codec_zap.c:849: error: variable ‘info’ has initializer but incomplete type
codec_zap.c:849: warning: excess elements in struct initializer
codec_zap.c:849: warning: (near initialization for ‘info’)
codec_zap.c:849: error: storage size of ‘info’ isn’t known
codec_zap.c:854: error: ‘ZT_TCOP_GETINFO’ undeclared (first use in this function)
codec_zap.c:864: error: ‘ZT_TRANSCODE_OP’ undeclared (first use in this function)
codec_zap.c:849: warning: unused variable ‘info’
make[1]: *** [codec_zap.o] Error 1
make[1]: Leaving directory `/usr/src/asterisk-1.2.16/codecs'
make: *** [subdirs] Error 1
voip1:/usr/src/asterisk # 

I have googled and discovered it is an issue about zaptel and asterisk incompatible versions… i have updated before with no problems but… don’t i have to use same versions of asterisk and zaptel?


that looks like your compiling 1.2.16 not 1.2.24

As of Asterisk 1.2.3 (I think) Asterisk, Zaptel and Asterisk Add-ons used different version numbers because they were released seperately.

If your upgrading you should just jump to Asterisk


And Zaptel 1.2.27


and Asterisk Add-Ons 1.2.9


it compiled and installed and worked!!!


is add-ons “essential”…?

add-ons are not essential. If you put your CDR in MySQL you should update as thats one portion of add-ons.

By default FreePBX (and by extension Asterisk@Home\Trixbox) puts the CDR into MySQL so you should update add-ons as well.