Asterisk Installation Guides

How to be sure your sangome a200 hardware echo cancellation is working

Asterisk Installation Guides | Communications

Is my hardware echo canceller running?

How to confirm that your hardware echo canceller is running and active on your Zap calls.

1. Confirm that you have a hardware echo canceller:
After the Wanpipe drivers are installed, type:
#>wanrouter hwprobe
It should say:

1. AFT-AXX-SH : SLOT=X : BUS=X : IRQ=X CPU=A: PORT=X : HWEC= 32 : V=X
HWEC values should be:
A200d : 32
A101d : 32
A102d : 64
A104d : 128
A108d : 256
If it says HWEC=0, and you ordered a "d" model card,
If you purchased this card from a reseller, contact your reseller.

A Simple but effective QOS script for all IAX traffic going to a certain host.

Asterisk Installation Guides | Communications

I have been trying to get this working off and on for a year now. Part of the reason was my lack of linux administrator experience and QoS is a rather advanced topic. After spending many hours researching and trying scripts that are too complicated and dont seem to work and hours of waised time dealing with customers who like to bomb out their internet connection with outlook and the like, i have created this script which i have borrowed ideas from many different places on the web as well as spending a few hours reading about the iproute and tc application tool set. I have tested this script and it will make a huge difference on crappy DSL connections although it doesn't fix it perfectly. On T1 connections, it does make a huge difference. This script is meant for use with IAX server to server communication or with limited effects, a sip phone with the QoS bit set to 0x10 (minimize latency) I hope it helps you out so we can make VOIP the dominant technology in the world.

Stream your shoutcast for on hold music

Asterisk Installation Guides | Communications

HERES How you do it(BETTER WAY)

1) apt-get install madplay
2) nano /etc/asterisk/mohstream.sh
paste


#!/bin/bash
#this is all one line its broken up here just make #it one line
/usr/bin/wget -q -O - http://160.79.128.242:8000 | /usr/bin/madplay -Q -z -o raw:- --mono -R 8000 -a -12 -

chmod +x /etc/asterisk/mohstream.sh

3) nano /etc/asterisk/musiconhold.conf (paste)


[zraycustom]
mode=custom
dir=/etc/asterisk/companies/zray_technologies.d/music.d/stream
application=/etc/asterisk/mohstream.sh

-----------------------------------------------

how to: setup openser high availability on debian

Asterisk Installation Guides | Communications

1) install debian base system
2) apt-get install openser openser-mysql-module
3) apt-get install unp gcc make g++-3.4
4) wget http://www.unixodbc.org/unixODBC-2.2.11.tar.gz
5) unp unixODBC-2.2.11.tar.gz
6) cd /unixODBC-2.2.11
7) ./configure --enable-gui=no
8) make; make install
---------------------------------------
9) nano /etc/openser/openser.cfg

#
# $Id$
#

# ----------- global configuration parameters ------------------------

debug=4 # debug level (cmd line: -dddddddddd)
fork=no # daemonize
log_stderror=yes # (cmd line: -E)

check_via=no # (cmd. line: -v)

byo71's picture

installing mpg123 v.0.59r

Asterisk Admin | Asterisk Installation Guides | Communications | Support

Having trouble with that music on hold?

# wget http://security.debian.org/pool/updates/non-free/m/mpg123/mpg123-esd_0.59r-20sarge1_i386.deb

# apt-get install libaudiofile0 libesd0 esound-common

# dpkg -i mpg123-esd_0.59r-20sarge1_i386.deb

# mpg123 -v

Installing ASTBILL on Debian

Asterisk Installation Guides | Communications

1) install base system
2) apt-get update
3) apt-get upgrade
4) apt-get dist-upgrade (REBOOT TO GET NEW KERNEL IMAGE)
5) cd /usr/src
6) download newest update from http://sourceforge.net/projects/astbill/
7) apt-get install bzip2 unp
8) unp astbill-x.x.xx.tar.bz2
9) nano /etc/apt/sources.list #remove cd rom reference if it exists
10) apt-get install mysql-server-5.0
11) mysqladmin -u root password 'xxx' #set your root database password
12) mkdir /home/astbill; cp -r /usr/src/trunk2/* /home/astbill
13) cd /home/astbill
14) mysqladmin create astbill --user=root -p

ASTERISK CHEAT SHEET

Asterisk Installation Guides | Communications

TO ACCESS VOICEMAIL

1) DIAL 201
2) PRESS DIAL
3) ENTER MAIL BOX NUMBER (EXTENSION / PASSWORD)

TO CHANGE PROMPT
1) LOG INTO VOICEMAIL
2) PRESS 0
3) PRESS 1 to record unavailable message
4) PRESS # to accept
5) PRESS 1 to confirm
6) PRESS 2 to record busy message
7) PRESS # to accept
8) PRESS 1 to confirm
9) PRESS 3 to record name
10) PRESS # to accept
11) PRESS 1 to confirm

TO TRANSFER A CALL
1) PRESS TRANSFER
2) DIAL NUMBER
3) PRESS DIAL
4) ANNOUNCE CALLER
5) PRESS TRANSFER TO COMPLETE THE TRANSFER

TO BLIND TRANSFER A CALL
1) PRESS #
2) DIAL NUMBER
3) PRESS DIAL

Asterisk Help Required

Asterisk Admin | Asterisk Installation Guides | Database | Support

Hi,

I am new to asterisk and i want to know exactly what requirements need for asterisk to make it work on ip telephone

I am looking for some help

Installing Sangoma 4 port fxo card into Xorcom Rapid

Asterisk Installation Guides | Communications

1) nano /etc/apt/source.list

a) add

deb http://http.us.debian.org/debian stable main contrib non-free

2) apt-get update;uname -a;
3) apt-cache search kernel-headers | grep [linux version number obtained from step 2]
4) apt-get install kernel-headers-2.6.8-2-686
5) cd /usr/src
6) wget http://ftp.digium.com/pub/zaptel/releases/zaptel-1.2.5.tar.gz
7) mv zaptel-1.2.5.tar.gz zaptel.tar.gz
8) apt-get install unp bzip2
9) unp zaptel.tar.gz
10)wget ftp://ftp.sangoma.com/linux/current_wanpipe/wanpipe-beta4-2.3.4.tgz
11) unp wanpipe-beta4-2.3.4.tgz
12) cd wanpipe
13) apt-get install g++

How to install asterisk from source on Debian

Asterisk Installation Guides | Communications

1)

# cd /usr/src

2) (YOU WILL HAVE TO GET THE MOST CURRENT RELEASE NAMES FROM www.asterisk.org
# wget http://ftp.digium.com/pub/asterisk/asterisk-1.2.6.tar.gz
# wget http://ftp.digium.com/pub/zaptel/zaptel-1.2.5.tar.gz
# wget http://ftp.digium.com/pub/libpri/libpri-1.2.2.tar.gz
# wget http://ftp.digium.com/pub/asterisk/asterisk-addons-1.2.2.tar.gz
# wget http://ftp.digium.com/pub/asterisk/asterisk-sounds-1.2.1.tar.gz

3)
# apt-get install screen
# apt-get install unp bzip2 gcc

(THIS LINE IS BY YOUR VERSION NUMBER.. DO A 'uname -a' to see what version you have then 'apt-cache search 2.6.8'

XML feed