Tulosta tämä sivu

Asterisk for RaspberryPi and Cisco 7940

Making the disk for the system

Download image from http://www.raspberry-asterisk.org/downloads/

use some tool to flash image to sd card http://elinux.org/RPi_Easy_SD_Card_Setup

I was using following software  in windows 7 environment http://sourceforge.net/projects/win32diskimager

Writing to sd card may take a while depending the card class.

Booting up for the first time

When finished,  put the card to raspberrypi, hook the network cable and power it up.

After a while you shoud see the ip on the routers / dhcp servers log.

Log in using ssh, login root, pass raspberrypi

 

You can upgrade your install with command:

raspbx-upgrade

I didn't booted the rpi after the upgrade, but don't know if it is necessary.

Configuring throug the web interface

 

http://www.freepbx.org/support/documentation/installation/first-steps-after-installation

 

Cisco spesific stuff

You need a tftp server if you want to download software on the phones. If you have already skinny software on the phones, you don't cessarily need it.

You can obtain it from http://minded.ca/default/2010-06-06/freepbx-module-tftp-manager/ . You can upload module from local computer through web. Installing is done via module administrator.

 

Asterisk settings

 

Modifications to file /etc/asterisk/skinny.conf

Below [lines] tag in file:
[1001]
nat=no
callerid="Number 1001" <1001>

mailbox=500
callwaiting=yes
transfer=yes
threewaycalling=yes
context=incoming
mohinterpret=default
mohsuggest=default

[1002]
nat=no
callerid="Number 1002" <1002>

mailbox=500
callwaiting=yes
transfer=yes
threewaycalling=yes
context=incoming
mohinterpret=default
mohsuggest=default
Below [devices] tag in file:

 

[1001]
device=SEP000C850F2998
callwaiting=yes
transfer=yes
line = 1001
speeddial =>1002, Phone_2

[1002]
device=SEP0007EB263122
callwaiting=yes
transfer=yes
line = 1002
speeddial =>1001, Phone_1

DHCP server installation

Install isc dhcp server:

apt-get install isc-dhcp-server

You must edit /etc/dhcpd.conf file to include settings for phones:

Add normal pool for devices:

 

subnet 192.168.0.0 netmask 255.255.255.0

Cisco spesific stuff:

 

option cisco-callmanager code 150 = array of ip-address;

class "voip-cisco"

class "voip-class"

subclass "voip-class" "Cisco IP Phone 7960"

subclass "voip-class" "Cisco IP Phone 7940"

subclass "voip-class" "Cisco IP Phone 7905"

subclass "voip-class" "Cisco IP Phone 7912"

class "CiscoATA"


Edellinen sivu: RaspberryPi Stuff
Seuraava sivu: Raspberrypi greenhouse monitoring