Pages: << 1 2 3 4 5 6 7 8 9 10 11 ... 52 >>

06/01/10

Permalink 01:43:16, by novecento Email , 842 words   Basque (ES)
Categories: News, Asterisk

Install a Redfone FoneBridge on Debian 5.x with Asterisk 1.6

I wrote a small step by step guide on how to install a Redfone FoneBridge on Debian 5.x with Asterisk 1.6 which i like to share with you all.

1. Install Debian Dependencies:
apt-get install install libpcap-dev
apt-get install libnet1
apt-get install libnet1-dev
apt-get install libargtable2-dev
apt-get install libreadline5-dev
apt-get install ethtool

2. Install LibFB
cd /usr/src
wget http://support.red-fone.com/downloads/fonulator/libfb-2.0.0.tar.gz
tar -xzvf libfb-2.0.0.tar.gz
cd libfb-2.0.0
./configure
make
make install

3. Install Fonulator
cd /usr/src
wget http://support.red-fone.com/downloads/fonulator/fonulator-2.0.1.tar.gz
tar -xzvf fonulator-2.0.1.tar.gz
cd fonulator-2.0.1
./configure
make
make install

4. Install FB Flash-Util
cd /usr/src
wget http://support.red-fone.com/fb_flash/fb_flash-2.0.0.tar.gz
tar -xzvf fb_flash-2.0.0.tar.gz
cd fb_flash-2.0.0
./configure

5. Change IP - Address of FoneBridge

You need to change the default IP-address if the FB according tou your setup.
We use the following scenario for this sample installation:

Start the fb_flash util program like:

fb_flash_util -c -i eth1 -m 0050c265d2c0

Parameter –i : interface on which you like to talk to the FB
Parameter –m : MAC address of FB, in this case of FB Port 1
Parameter –c: configuration mode


Key in a dash for the first MAC address and hit enter


Key in your new IP-Address and hit enter.
Hit enter enter enter…. until you are back on the linux shell.

Power-Cycle off the FoneBrdige
Check if the IP address was changed succesfully:

fb_flash_util -i eth1

Here a small step by step guide on how to install a Redfone FoneBridge on Debian 5.x with Asterisk 1.6

6. Install Fonulator initd script

cd /etc/init.d
wget http://support.red-fone.com/downloads/fonulator/fonulator.initd
mv fonulator.initd fonulator
chmod +x fonulator

Start fonualtor when server start:

update-rc.d fonulator defaults

Maybe you need to adjust the script a little because this is written for RedHat.

7. Install Redfone modified dahdi driver and dahdi tools

cd /usr/src
wget http://support.red-fone.com/downloads/dahdi/dahdi-linux-redfone-2.1.0.4.tar.gz
wget http://support.red-fone.com/downloads/dahdi/dahdi-tools-redfone-2.0.0.tar.gz
tar -xzvf dahdi-linux-redfone-2.1.0.4.tar.gz
tar -xzvf dahdi-tools-redfone-2.0.0.tar.gz
cd dahdi-linux-redfone-2.1.0.4
make clean
make
make install
cd /usr/src
cd dahdi-tools-2.0.0
./configure
make

Attention: If you get a error just delete folowing file and make again

rm menuselect.makeopts
make
make install
make config

8. Recompile Asterisk to use new Redfone Dahdi Driver

cd /usr/src
cd asterisk-1.6.2.5
make clean
make
make install

9. Check if dahdi_dummy is running

dahdi_tool

Ok, so far everything looks fine....

10. Configure redfone.conf

In this sample we are using a 4 port FB. We connect to a
PSTN (therefore the FB is in Slave mode) and CRC4 is enabled.
We use E1 lines. Here the Redfone.conf file:

[globals]
# IP-address of the IP Configuration port
# Factory defaults are; FB1=192.168.1.254 FB2=192.168.1.253
fb=10.10.20.2
# Which port to use for TDMoE Traffic (1 or 2)
port=1
# Which Asterisk server destination MAC address for TDMoE Traffic?
server=a4:ba:db:df:d8:e6

# E1 PRI SPAN WITH CRC4, SLAVE TO TELCO
[span1]
framing=ccs
encoding=hdb3
crc4
slave

[span2]
framing=ccs
encoding=hdb3
crc4
slave
[span3]
framing=ccs
encoding=hdb3
crc4
slave
[span4]
framing=ccs
encoding=hdb3
crc4
slave

Attention: The server parameter is the MAC-Address of your servers network port where you want to steram the TDMoE traffic.
In our case its ETH1. To get the MAC-Addreess just type:

ifconfig eth1

Create the redfone.conf file in the /etc directory.

11. Adjust system.conf

cd /etc/dahdi
open system.conf and replace with following content:

dynamic=ethmf,eth1/00:50:C2:65:D2:C0/0,31,0
dynamic=ethmf,eth1/00:50:C2:65:D2:C0/1,31,0
dynamic=ethmf,eth1/00:50:C2:65:D2:C0/2,31,0
dynamic=ethmf,eth1/00:50:C2:65:D2:C0/3,31,1
#

bchan=1-15,17-31
dchan=16
bchan=32-46,48-62
dchan=47
bchan=63-77,79-93
dchan=78
bchan=94-108,110-124
dchan=109
#
# NOTE: Most E1 use alaw codec and this must be specified.
alaw=1-124
#
loadzone=us
defaultzone=us

12. Remove dahdi_dummy and all unnecessary dahdi_driver

A FB will conflict with the dahdi_dummy driver therefore we need to make sure that dahdi_dummy is not loaded during system boot.

We need to adjust 2 files to achieve this:

nano /etc/dahdi/modules

don't load any driver (comment everything with # key).
nano /etc/init.d/dahdi
comment following line:

modprobe dahdi_dummy 2> /dev/null
#modprobe dahdi_dummy 2> /dev/nul

13. Adjust chan_dahdi.conf

cd /etc/asterisk
nano chan_dahdi.conf

[trunkgroups]
[channels]
language=en
context=from-pstn
switchtype => euroisdn
pridialplan=unknown
prilocaldialplan=unknown
signalling=pri_cpe
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=no
echocancelwhenbridged=no
rxgain=0.0
txgain=-0.0
callgroup=1
pickupgroup=1
immediate=no
overlapdial=yes
resetinterval=3600
group=0
channel = 1-15,17-31
channel = 32-46,48-62
channel = 63-77,79-93
channel = 94-108,110-124

Done!!!! Restart the whole system and it should work!

14. Check if everything works fine after restart

dahdi_tool

You should see the following screen:

Then test if Asterisk “can see” the 4 PRI

asterisk –rvvv

If you have the PRI connected to the PSTN you should see all lines OK (Alarm cleared) in dahdi_tool and in asterisk cli all PRI should be UP.

Enjoy !!!

Cheers
Daniel

05/29/10

Permalink 06:54:24 pm, by novecento Email , 43 words   English (US)
Categories: Asterisk

Listen to your Asterisk Voicemail on the iPhone

This is a cool application to retrieve and listen to your Asterisk voice-mail via iPhone.

You need to install ARI on your Asterisk server (if you use FreePBX you have ARI installed by default).



Simple application but works like a charm!

Cheers
Daniel

Permalink 05:49:42 pm, by novecento Email , 71 words   English (US)
Categories: News

Join us at the Malaysian Opensource Conference 2010

2010 Year of Innovation, declare by the Prime Minister of Malaysia. We're looking forward to have multiple session multiple track all about Open Source. Let it be Business, Industry, Community and Education we gonna host it all. See you SOON

Join Intuit at this conference. I will give a speech about enterprise monitoring with Nagios on the 30. June 2010 at 2 PM.

Link to the event website: MOSC

Cheers and enjoy your Sunday!

Daniel

05/27/10

Permalink 10:35:06 pm, by novecento Email , 34 words   English (US)
Categories: News

That's what i fight with every morning (at least 6 times a week)....
I so hate this machine! If it does not help me to loose weight i will burn/explode the thing :-)

Cheers
Daniel

05/26/10

Permalink 06:22:11 am, by novecento Email , 101 words   English (US)
Categories: News, Asterisk

Asternic Stats - Awesome Inbound Call Center Monitoring Tool for Asterisk

If you are looking for a affordable call center monitoring tool for Asterisk, Asternic Stats is the right choice.

It's designed to analyse your Asterisk queue log file.

Main features are:

- Call Distribution reports
- Answered call reports
- Un-answered callreports
- Agent login log/log-off reports with AUX/Pause codes

With a little bit of tweaking you can search and even play the recored files direct in the Asternic GUI (browser based).!!!

Some screen-shots:

Call us if you like to have some installation support for Asternic. We will install and configure the solution for USD 200.00 for you exclusive the license cost... :-)

Cheers
Daniel

<< 1 2 3 4 5 6 7 8 9 10 11 ... 52 >>