asterisk on ubuntu 9.10

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.

7 Replies

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" target="_blank">](http://blog.hoopycat.com/2009/08/asteri … tpd-linode">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!

I'm getting

FATAL: Module dahdi not found.

dahdi: error dahdidummy: error dahditranscode: error

Error: missing /dev/dahdi!

when i try to uninstall it to retry. How do i fix that?

Offhand, I'm not sure. How did you install it, and what are you typing when you try to uninstall it?

apt-get remove asterisk .

I installed it by apt-get install asterisk

You'll need to remove dahdi and its related packages too:

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? :-)

How do i install it from source, dahdi is making me very mad right now?

> [email protected]:~# 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 dahdidummy: error dahditranscode: 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)

First, run

apt-get purge dahdi dahdi-dkms dahdi-linux ...

(plus everything else asterisk- and dahdi-related on your system) to remove the existing stuff, 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 ;-)

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct