Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: asterisk on ubuntu 9.10
PostPosted: Sat Dec 05, 2009 11:44 pm 
Offline
Senior Newbie

Joined: Wed Jun 24, 2009 8:49 pm
Posts: 12
I want to set up asterisk on Ubuntu 9.10 to do a business line when people dial the ip. I'm gonna have Gizmo with Google Voice go to it. I want to set it up with Voice mail, Extensions and Press 1 For Support,Press 2 for sales,Press 3 for other. Something like this. Is there a easy way to get a sip line set up? Maybe something to install then have a url to config it. It dosnt have to be asterisk but i want a voip line. Thanks.


Top
   
 Post subject:
PostPosted: Sun Dec 06, 2009 12:01 am 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
Asterisk is a bit of a bear configuration-wise, to say the least, but it does work on a Linode. I use the FreePBX frontend to handle configuration.

I have a quick guide to installing Asterisk and FreePBX on an Ubuntu 9.04 system with lighttpd (Ubuntu 9.10 wasn't out at the time, but I should probably update it):

http://blog.hoopycat.com/2009/08/asterisk-freepbx-ubuntu-lighttpd-linode

Also, although I haven't read it yet, I've heard good things about the Asterisk book: http://astbook.asteriskdocs.org/. That might prove helpful too!


Top
   
 Post subject:
PostPosted: Sun Dec 06, 2009 12:21 am 
Offline
Senior Newbie

Joined: Wed Jun 24, 2009 8:49 pm
Posts: 12
I'm getting
FATAL: Module dahdi not found.
dahdi: error dahdi_dummy: error dahdi_transcode: error
Error: missing /dev/dahdi!
when i try to uninstall it to retry. How do i fix that?


Top
   
 Post subject:
PostPosted: Sun Dec 06, 2009 1:25 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
Offhand, I'm not sure. How did you install it, and what are you typing when you try to uninstall it?


Top
   
 Post subject:
PostPosted: Sun Dec 06, 2009 1:31 pm 
Offline
Senior Newbie

Joined: Wed Jun 24, 2009 8:49 pm
Posts: 12
apt-get remove asterisk .

I installed it by apt-get install asterisk


Top
   
 Post subject:
PostPosted: Mon Dec 07, 2009 9:10 am 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
You'll need to remove dahdi and its related packages too:

Code:
apt-get remove dahdi dahdi-dkms dahdi-linux


I just went through an apt-based install of Asterisk and DAHDI on an Ubuntu 9.10 system for an updated blog post yesterday, and... wow. It was not easy. Have you considered installing it from source? :-)


Top
   
 Post subject:
PostPosted: Mon Dec 07, 2009 9:23 pm 
Offline
Senior Newbie

Joined: Wed Jun 24, 2009 8:49 pm
Posts: 12
How do i install it from source, dahdi is making me very mad right now?

Quote:
root@newhills:~# apt-get install dahdi dahdi-dkms dahdi-linux
Reading package lists... Done
Building dependency tree
Reading state information... Done
dahdi is already the newest version.
dahdi-dkms is already the newest version.
dahdi-linux is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up dahdi (1:2.2.0-1ubuntu1) ...
Loading DAHDI hardware modules:
FATAL: Module dahdi not found.
dahdi: error dahdi_dummy: error dahdi_transcode: error
Error: missing /dev/dahdi!
invoke-rc.d: initscript dahdi, action "start" failed.
dpkg: error processing dahdi (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of asterisk:
asterisk depends on dahdi; however:
Package dahdi is not configured yet.
dpkg: error processing asterisk (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of asterisk-mp3:
asterisk-mp3 depends on asterisk-1.6.2; however:
Package asterisk-1.6.2 is not installed.
Package asterisk which provides asterisk-1.6.2 is not configured yet.
dpkg: error processing asterisk-mp3 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of asterisk-mysql:
asterisk-mysql depends on asterisk-1.6.2; however:
Package asterisk-1.6.2 is not installed.
Package asterisk which provides asterisk-1.6.2 is not configured yet.
dpkg: error processing asterisk-mysql (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because MaxReports is reached already
Errors were encountered while processing:
dahdi
asterisk
asterisk-mp3
asterisk-mysql
E: Sub-process /usr/bin/dpkg returned an error code (1)


Top
   
 Post subject:
PostPosted: Mon Dec 07, 2009 10:57 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
First, run
Code:
apt-get purge dahdi dahdi-dkms dahdi-linux ...
(plus everything else asterisk- and dahdi-related on your system) to remove the existing stuff,
Code:
apt-get install build-essential
to install everything needed to compile, then grab a tarball from http://www.asterisk.org/downloads. I can't seem to find a copy of the compilation/installation instructions on asterisk.org, but there will probably be a README file in the archive that will get you started.

I have a feeling the sane people use CentOS ;-)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: nqservices and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group