Jump to content

Recommended Posts

Posted

Anybody done a VOIP service in house? As in just order the BT ISDN30e line, get a DDI range, install and setup an astrix box and put in the phones?

 

If you have, was it easy, and how much did BT charge for the ISDN30e line?

Posted
We got a ISDN30 with daisy communcations. They installed it for free.

 

Would that be daisyplc.com ?

 

How many lines did you take out, and how much do you pay in line rental? Seems a bargin free install!

Posted

I did the asterisk box and phones bit, but not ISDN though... We only have 3 lines, so there's not really a need as yet for ISDN.

 

The asterisk part involved a lot of research and testing to get it how we wanted it. We spent 6 months on the project.

Posted
I did an office install with Asterisk and six extensions, including full cabling, in two days a few weeks ago. Route all calls over an internet gateway, so no expensive interface hardware.
Posted
I did an office install with Asterisk and six extensions, including full cabling, in two days a few weeks ago. Route all calls over an internet gateway, so no expensive interface hardware.

 

And you've had zero complaints from any of the users? As in, every function is perfect straight away? How did you find out the actual requirements of the system in 2 days?

Posted
And you've had zero complaints from any of the users? As in, every function is perfect straight away? How did you find out the actual requirements of the system in 2 days?

 

Pretty much. The only things I've tweaked since are not requiring 9 to grab a line, and making day/night mode automatic on a timer.

 

I should clarify, though, that three of us spent a day cabling and then I spent a day installing and configuring. Requirements and planning I did before hand, about the equivalent of a working day I should think. It's a replacement for their old proprietary system, so they had some frame of reference for deciding their requirements, which helped, and then chose features to add on top.

 

There's nothing very complex; six extensions, voicemail, busy lamps, hunt groups with fallover, automatic handset configuration and external access, so it wan't a huge project. On a school project I'd build a small system in isolation for key people, and then roll out to the rest of the building over the course of a few days.

Posted (edited)

Hi,

 

I use the below steps after installing CentOS 5

 

cd /usr/src
mkdir asterisk
cd asterisk
wget http://downloads.digium.com/pub/asterisk/releases/asterisk-1.6.0.5.tar.gz
wget http://downloads.digium.com/pub/telephony/dahdi-linux/dahdi-linux-2.1.0.4.tar.gz
wget http://downloads.digium.com/pub/telephony/dahdi-tools/dahdi-tools-2.1.0.2.tar.gz
wget http://downloads.digium.com/pub/libpri/releases/libpri-1.4.7.tar.gz
wget http://downloads.digium.com/pub/asterisk/releases/asterisk-addons-1.6.0.tar.gz
wget http://mirror.freepbx.org/freepbx-2.5.1.tar.gz
wget http://easynews.dl.sourceforge.net/sourceforge/lame/lame-3.97.tar.gz
wget http://prdownloads.sourceforge.net/webadmin/webmin-1.450.tar.gz
tar zxvf asterisk-1.6.0.5.tar.gz
tar zxvf dahdi-linux-2.1.0.4.tar.gz
tar zxvf dahdi-tools-2.1.0.2.tar.gz
tar zxvf libpri-1.4.7.tar.gz
tar zxvf asterisk-addons-1.6.0.tar.gz
tar zxvf freepbx-2.5.1.tar.gz
tar zxvf lame-3.97.tar.gz
tar zxvf webmin-1.450.tar.gz
echo "selinux=disabled" > /etc/selinux/config
yum -y update
reboot
yum install lksctp-tools-devel php e2fsprogs-devel keyutils-libs-devel krb5-devel libogg libselinux-devel libsepol-devel libxml2-devel libtiff-devel gmp php-pear php-pear-DB php-gd php-mysql php-pdo ncurses-devel audiofile-devel libogg-devel openssl-devel mysql-devel zlib-devel perl-DateManip sendmail-cf
reboot
cd /usr/src/asterisk/webmin-1.450
./setup.sh /usr/local/webmin
cd /usr/src/asterisk/libpri-1.4.7
make clean
make
make install
cd /usr/src/asterisk/dahdi-linux-2.1.0.4
make all
make install
cd /usr/src/asterisk/dahdi-tools-2.1.0.2
service dahdi start
cd /usr/src/asterisk/asterisk-1.6.0.5
useradd -c "Asterisk PBX" -d /var/lib/asterisk asterisk
mkdir /var/run/asterisk
mkdir /var/log/asterisk
chown -R asterisk:asterisk /var/run/asterisk
chown -R asterisk:asterisk /var/log/asterisk
chown -R asterisk:asterisk /var/lib/php/session/ <<- error
nano +231 /etc/httpd/conf/httpd.conf - Change User apache and Group apache to User asterisk and Group asterisk.
nano +329 /etc/httpd/conf/httpd.conf - Change AllowOverride None to AllowOverride All
./configure
make
make install
/etc/init.d/mysqld start
cd /usr/src/asterisk/freepbx-2.5.1
mysqladmin create asterisk
mysqladmin create asteriskcdrdb
mysql asterisk < SQL/newinstall.sql
mysql asteriskcdrdb < SQL/cdr_mysql_table.sql
mysql
GRANT ALL PRIVILEGES ON asteriskcdrdb.* TO asteriskuser@localhost IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON asterisk.* TO asteriskuser@localhost IDENTIFIED BY 'password';
flush privileges;
\q
mysqladmin -u root password 'password'
cd /usr/src/asterisk/asterisk-addons-1.6.0
./configure
make
make install
make samples
nano /etc/asterisk/asterisk.conf - remove (!) and change astrundir => /var/run to astrundir => /var/run/asterisk
cd /usr/src/asterisk/freepbx-2.5.1
./start_asterisk start
yum install php-pear-DB
yum install php-mysql
./install_amp --username=asteriskuser --password=password
echo "/usr/local/sbin/amportal start" >> /etc/rc.local
chkconfig httpd on
chkconfig mysqld on
reboot

 

I'm no linux expert so please keep that in mind

Edited by uk101man
Posted
You used version 1.6 in a live system? Someone likes living on the egde! :p

 

Well after dealing with trixboxce and all the bugs/feature thought asterisk 1.6 couldn't be that bad.

Posted
Hi,

 

I use the below steps after installing CentOS 5

 

cd /usr/src
mkdir asterisk
cd asterisk
wget http://downloads.digium.com/pub/asterisk/releases/asterisk-1.6.0.5.tar.gz
wget http://downloads.digium.com/pub/telephony/dahdi-linux/dahdi-linux-2.1.0.4.tar.gz
wget http://downloads.digium.com/pub/telephony/dahdi-tools/dahdi-tools-2.1.0.2.tar.gz
wget http://downloads.digium.com/pub/libpri/releases/libpri-1.4.7.tar.gz
wget http://downloads.digium.com/pub/asterisk/releases/asterisk-addons-1.6.0.tar.gz
wget http://mirror.freepbx.org/freepbx-2.5.1.tar.gz
wget http://easynews.dl.sourceforge.net/sourceforge/lame/lame-3.97.tar.gz
wget http://prdownloads.sourceforge.net/webadmin/webmin-1.450.tar.gz
tar zxvf asterisk-1.6.0.5.tar.gz
tar zxvf dahdi-linux-2.1.0.4.tar.gz
tar zxvf dahdi-tools-2.1.0.2.tar.gz
tar zxvf libpri-1.4.7.tar.gz
tar zxvf asterisk-addons-1.6.0.tar.gz
tar zxvf freepbx-2.5.1.tar.gz
tar zxvf lame-3.97.tar.gz
tar zxvf webmin-1.450.tar.gz
echo "selinux=disabled" > /etc/selinux/config
yum -y update
reboot
yum install lksctp-tools-devel php e2fsprogs-devel keyutils-libs-devel krb5-devel libogg libselinux-devel libsepol-devel libxml2-devel libtiff-devel gmp php-pear php-pear-DB php-gd php-mysql php-pdo ncurses-devel audiofile-devel libogg-devel openssl-devel mysql-devel zlib-devel perl-DateManip sendmail-cf
reboot
cd /usr/src/asterisk/webmin-1.450
./setup.sh /usr/local/webmin
cd /usr/src/asterisk/libpri-1.4.7
make clean
make
make install
cd /usr/src/asterisk/dahdi-linux-2.1.0.4
make all
make install
cd /usr/src/asterisk/dahdi-tools-2.1.0.2
service dahdi start
cd /usr/src/asterisk/asterisk-1.6.0.5
useradd -c "Asterisk PBX" -d /var/lib/asterisk asterisk
mkdir /var/run/asterisk
mkdir /var/log/asterisk
chown -R asterisk:asterisk /var/run/asterisk
chown -R asterisk:asterisk /var/log/asterisk
chown -R asterisk:asterisk /var/lib/php/session/ <<- error
nano +231 /etc/httpd/conf/httpd.conf - Change User apache and Group apache to User asterisk and Group asterisk.
nano +329 /etc/httpd/conf/httpd.conf - Change AllowOverride None to AllowOverride All
./configure
make
make install
/etc/init.d/mysqld start
cd /usr/src/asterisk/freepbx-2.5.1
mysqladmin create asterisk
mysqladmin create asteriskcdrdb
mysql asterisk < SQL/newinstall.sql
mysql asteriskcdrdb < SQL/cdr_mysql_table.sql
mysql
GRANT ALL PRIVILEGES ON asteriskcdrdb.* TO asteriskuser@localhost IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON asterisk.* TO asteriskuser@localhost IDENTIFIED BY 'password';
flush privileges;
\q
mysqladmin -u root password 'password'
cd /usr/src/asterisk/asterisk-addons-1.6.0
./configure
make
make install
make samples
nano /etc/asterisk/asterisk.conf - remove (!) and change astrundir => /var/run to astrundir => /var/run/asterisk
cd /usr/src/asterisk/freepbx-2.5.1
./start_asterisk start
yum install php-pear-DB
yum install php-mysql
./install_amp --username=asteriskuser --password=password
echo "/usr/local/sbin/amportal start" >> /etc/rc.local
chkconfig httpd on
chkconfig mysqld on
reboot

 

I'm no linux expert so please keep that in mind

 

If you want something even more easier use this - Asterisk at Home or Asterisk at Work in 30 MINUTES :: AsteriskNOW |

Posted

I set up an asterisk box at home a couple of years back using a vmware player appliance. I really just wanted to have a play with it, but didn't have any concrete plans to implement it in the near future.

 

I'd be interested to know a few things from those that are using asterisk in schools so that I'm better informed if the school does want to change from our now unsupported old-style digital PBX to voip goodness...

 

How much space is required for a reasonable amount of voicemail/user?

Do users have access to any of the web interfaces for configuring their number?

Do your users have access to their voicemail from outside the school?

If yes, can they also access it out of hours?

Is there a password policy for protecting voicemail boxes?

How separate is the voice network? i.e. Did you just set up QoS? or give it its own VLAN? its own switches?? its own trunk datacabling???

 

Sorry for asking so many noob questions, but it's a little outside my normal field!

Posted

This is the office install, don't use it in school yet, so some is hypothetical and some is experience.

 

How much space is required for a reasonable amount of voicemail/user?

 

I've found that an average message (30 seconds or so) is taking about 20Kb of space in gsm format. Of course, your mileage will vary. I'd allow a couple of Mb per user to start off with.

 

Do users have access to any of the web interfaces for configuring their number?

 

They don't, but could have. There's nothing they need to get to though. Things like do not disturb, directory etc are all done by Asterisk.

 

Do your users have access to their voicemail from outside the school?

If yes, can they also access it out of hours?

 

Yes, if you call from a nominated line and have a PIN, you can become part of the internal exchange (and therefore reach any of the features that they can normally).

 

Is there a password policy for protecting voicemail boxes?

 

Optionally.

 

How separate is the voice network? i.e. Did you just set up QoS? or give it its own VLAN? its own switches?? its own trunk datacabling???

 

Not in this case, but if I did it on a larger scale I'd be inclined to use QoS, and perhaps a VLAN to stop, but with the Aastra phones I used I can push an admin password out from the server, so casual fiddling isn't a problem.

 

Sorry for asking so many noob questions, but it's a little outside my normal field!

 

If you're anywhere near and want to see it in action, I'll arrange for you to go in and have a look, they're very friendly.

Posted
How much space is required for a reasonable amount of voicemail/user?

 

A couple of meg per user is usually plenty.

 

Do users have access to any of the web interfaces for configuring their number?

 

No. There is no need at our school.

 

Do your users have access to their voicemail from outside the school?

 

Not at our school. It could be enabled if we wanted it though.

 

Is there a password policy for protecting voicemail boxes?

 

Voicemail passwords are actually a PIN, so it is rather difficult to enforce such a thing on a number that is phone readable.

 

How separate is the voice network? i.e. Did you just set up QoS? or give it its own VLAN? its own switches?? its own trunk datacabling??

 

Seperate VLAN with QoS enabled. Doing it seperately defeats the point of converging your IP network with your phone system.

Posted

I would recommend sticking to Digium Cards for PSTN and ISDN access. Had a horrid time trying to install sangoma A500 card the other week!

 

AAstra 57I handset are also top notch

Posted
I would recommend sticking to Digium Cards for PSTN and ISDN access. Had a horrid time trying to install sangoma A500 card the other week!

 

AAstra 57I handset are also top notch

 

A note to go with this... If you are going down the route of PSTN, then you *need* a card with hardware echo cancellation. Software echo cancellation just never seems to cut it. (Or at least, it doesn't with version 1.2, I'll see how 1.4 is when I upgrade over the Easter hols).

Posted
A note to go with this... If you are going down the route of PSTN, then you *need* a card with hardware echo cancellation. Software echo cancellation just never seems to cut it. (Or at least, it doesn't with version 1.2, I'll see how 1.4 is when I upgrade over the Easter hols).

 

Agreed, and 1.4 is hardly any better. The Digium cards have an optional echo module that you can put into one of your interface slots IIRC.

Posted
Depending whether you have basic or primary rate ISDN, you're looking at Digium's B410P or TE407P cards, but the costs will make your eyes water. I'd seriously consider routing your calls to a VoIP<->PSTN provider (voip, sipgate, etc) over your internet connection - after all, that's the point of VoIP. Save you a fortune :)
Posted
Depending whether you have basic or primary rate ISDN, you're looking at Digium's B410P or TE407P cards, but the costs will make your eyes water. I'd seriously consider routing your calls to a VoIP<->PSTN provider (voip, sipgate, etc) over your internet connection - after all, that's the point of VoIP. Save you a fortune :)

 

Are they just as easy to setup with Asterisk?

 

I've got AsteriskNOW working on a box, and got 4 Nokia N95's all communicating with it which is fun.

 

Now we want to look at the serious costs.

Posted

(disclaimer: I have no affiliation or benifit to be made from recommending voipon, it's just that that's who I and my clients use, so I know it well.)

 

Yes, dead easy:

 

1. Get an account with someone providing the IAX (Inter-Asterisk Exchange) protocol, and configure it in iax.conf in Asterisk (don't know how that translates into configuring it on AsteriskNOW, though).

2. Open the IAX port on your firewall

3. Voipon work on pre-pay credit, so buy some of that

4. Configure your dialplan appropriately

 

IAX uses just one port, so it's NAT-friendly, wheras SIP relies on arbitrary ports being opened across a wide range, so it's much less easy to deal with. In fact IAX was designed with this limitation in mind, so it does it extremely well.

Posted
Next question, the fax machine, we have 2, how do these fit into the picture? Can it be as simple as a little box your plug in network cable one end, give box an IP and plug the analogue phone/fax in the other end????
Posted
Next question, the fax machine, we have 2, how do these fit into the picture? Can it be as simple as a little box your plug in network cable one end, give box an IP and plug the analogue phone/fax in the other end????

 

Fax seems a bit hit and miss in asterisk with me. What you need is a Linksys ATA which the Fax machine plugs into and the ATA links to the PBX over IP.

 

 

I recommend an TE120P isdn 30 card or the new TE122P card for ISDN access.

 

If you need a SIP line drop me a PM and I'LL zip you some costs

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...