Welcome! Log In Create A New Profile

Advanced

Generating .deb file for installing asterisk 1.8

Posted by twinclouds 
Generating .deb file for installing asterisk 1.8
March 21, 2011 06:03PM
I have been spending some time to make Asterisk 1.8 working on Dockstar for using gtalk. It is all done now. Actually its installation is not very difficult for people willing to do some compilation. However, it will be more convenient and time-saving to generate a .deb file for semi automated installation without compiling. Based on what I found here: http://ubuntuforums.org/showthread.php?t=2356, the process can be very simple. All you need to do is to do "apt-get install checkinstall" and then install Asterisk 1.8 as usual (e.g., http://forums.plugpbx.org/index.php/topic,247.0.html and http://forum.doozan.com/read.php?2,1647,4060#msg-4060). After doing the make of Asterisk 1.8, just do a "checkinstall" instead of a "make install". You will get Asterisk 1.8 installed and get a .deb file that can be used for install Asterisk 1.8 on other Dockstars without any compiling. I tested it out and it works. However, there are a couple things I don't how to do yet and maybe someone can help.
The main issue is that the Asterisk 1.8 installed using the .deb file does not install the .conf files in /etc/asterisk/directory and the asterisk file in /etc/init.d/ directory. What I did was manually copy these files generated by "make samples" and "make config" in normal installation process. Thus, I need to do Can I let the .deb file copy these files directly? (Assume these files have been generated.) In addition, a few library files are needed. These can be done by doing apt-get but it will also be nice if the .deb file can do it on its own.
Any suggestions would be greatly appreciated.



Edited 1 time(s). Last edit at 03/21/2011 06:03PM by twinclouds.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: