How to get Source code for Asterisk 1.6.0.26-FONCORE-r78

jsree
Posts: 50
Member Since:
2006-12-25

Hi

How to download Source code and compile script (Makefile etc) for Asterisk 1.6.0.26-FONCORE-r78, so that I can add my own module/apps to learning purpose to contribute more to trixbox community

Jay



obeliks
Posts: 878
Member Since:
2010-03-14
http://yum.trixbox.org/trixbo

jsree
Posts: 50
Member Since:
2006-12-25
http://yum.trixbox.org/trixbo : Installation Instruction

Hi

Thanks for link

followed the following steps (hope this correct)

rpm -Uvh asterisk16-1.6.0.26-1_trixbox.src.rpm
cd /usr/src/redhat/SOURCES/
tar zxvf asterisk16-1.6.0.26.tar.gz
cd asterisk16-1.6.0.26
./configure
make menuselect
make
make install

Hope the above steps sufficient to compile and install.

Once the above steps works, I will add my added to test further
Jay



jsree
Posts: 50
Member Since:
2006-12-25
channel.c:40:31: error: google/coredumper.h: No such file or dir

Hi

Make command failed with following error

channel.c:40:31: error: google/coredumper.h: No such file or directory

How to proceed further.

Jay



SkykingOH
Posts: 9678
Member Since:
2007-12-17
Did the configure script run

Did the configure script run without errors? Do you have all of your dependencies resolved?

--

Scott

aka "Skyking"



jsree
Posts: 50
Member Since:
2006-12-25
coredumper-1.2.1.tar.gz

Hi

after downloading http://code.google.com/p/google-coredumper/downloads/detail?name=... and installed google coredumper now I could able to compile and run the asterisk

Thanks
Jay



obeliks
Posts: 878
Member Since:
2010-03-14
That's not the same version

That's not the same version as used by trixbox. You might as well download the source from asterisk.org.

In order to build the same binary you need to use
rpmbuild -bc asterisk16.spec
but before that you need to install all dependencies:

yum install openldap-devel unixODBC-devel iksemel-devel spandsp-devel newt-devel alsa-lib-devel lm_sensors-devel net-snmp-devel postgresql-devel freetds-devel libpri-devel libss7-devel libtonezone-devel dahdi-linux-devel mISDNuser-devel mISDN-devel libvorbis-devel libogg-devel speex-devel libresample-devel sqlite-devel libc-client-devel



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.