Home

items tagged with Asterisk Now

Konfiguracja Polycom 320/330
Written By: Lukasz Kutkowski
Section:

Category:

2008-04-29 08:55:48

Sponsored by:

Konfigurację telefonu Polycom można podzielić na dwa etapy:

1. Konfiguracja parametrów siecowych np. adres IP, maska sieci itp

2. Konfiguracja parametrów SIP telefonu np. nazwa użytkownika, hasło.

 

1. Konfiguracja parametrów siecowych

 

1.1. Dostęp do konfiguratora parametrów sieciowych

 

Aby móc wykonać konfiguracje parametrów sieciowych telefonu naleźy najpierw znależć się w odpowiednim menu. Dostęp do menu można uzyskać na 2 sposoby:

 

* podczast startu telefonu
* podczas normalnej pracy telefonu

 

Dostęp podczas startu telefonu 

 

Podczas gdy telefon  jest włączany lub rebootowany na ekranie pojawi się przycisk Setup. Po wciśnięciu tego przycisku i wprowadzeniu hasła (domyślnie 456) znajdziemy sie w menu konfigratora. 

 

Dostęp podczas normalnej pracy telefonu 

 

Nacisnąć następującą sekwencje klawiszy:

 

Menu -> 3. Settings -> 2. Advanced
 

a następnie wprowadzić hasło administratora (domyślnie 456).

 

Następnie wybrać

 

1. Admin Settings -> Network Configuration

 

1.2. Konfiguracja parametrów sieciowych 

 

W celu statycznej konfiguracji parametrów sieciowych telefonu wymagane są następujące ustawienia:

 

DHCPCLient:
Disabled
 
Phone IP Addr:
10.2.6.6
 
SubnetMask:
255.255.0.0
 
IP Gateway:
10.2.0.1

 

Następnie ustawienia należy zapisać. Telefon po restarcie powinien być dostępny pod skonfigurowanym adresem IP. 

 

2. Konfiguracja parametrów SIP

 

Najłatwiejszym i najwygodniejszym sposobem konfiguracji parametrów siecowych jest konfiguracja poprzez stronę WWW. W tym celu należy wpisać w przeglądarce adres IP telefonu (w naszym przykładzie 10.2.6.6). 

 

Domyślny login: Polycom
Domyślne hasło: 456 

 

 Po zalgowaniu kliknąć na zakładke "Lines".

 

Wprowadzić dane:

 

 Line1

Identification

Display Name: 100
Address: 100
Auth User ID: 100
Auth Password: 1234

 

Server 1

Address: 10.2.6.5
Transport: UDPonly
Expires:60
Register:1 
 

Wypełnienie tych pól powinno wystarczyć aby móc korzystać z telefonu z większością opensourcowych rozwiązań korzystających z SIP.

 

 

Bardzo często niezbędnym moźe okazać sie zmiana koeljności używanych kodeków. W celu zmiany preferowanych kodeków naleźy przejść do zakładki

General -> Audio Proccessing 

Poniżej przykład konfiguracji gdzie jedynym używanym kodekiem bedzię kodek G.711A.

  

Zobacz również strony z konfiguracja polycoma pod zastosowanie z:

* Freeswitch
* OpenSER
* Patton
* Callweaver 
* Asteriskim 

 



Polycom 320/330 and Asterisk 1.4 installation
Written By: Lukasz Kutkowski
Section:

Category:

2008-02-06 15:22:01
Sponsored by: 
 
Prerequisites:
  • OS: Centos 5.1
  • Asterisk
    • version: 1.4.17
    • IP addres: 10.2.6.5
  • Polycom:
    • Firmware: 2.2.0
    • Bootrom: 4.0

Step 1. Polycom 330 configuration
Step 2. Asterisk installation
Step 3. Asterisk configuration 

Step 1. Polycom 320/330 configuration

See article "Polycom 320/330 configuration guide" (only polish for now)

Step 2. Asterisk installation

Asterisk prerequirements packages

yum  install glibc-devel ncurses-devel openssl-devel zlib-devel  gcc gcc-c++ ncurses  

Asterisk source code download 

cd /usr/src
wget http://downloads.digium.com/pub/asterisk/releases/asterisk-1.4.17.tar.gz
tar zxvf asterisk-1.4.17.tar.gz
 

Asterisk compilation and installation

cd /usr/src/asterisk-1.4.17
./configure
make
make install
make samples 
 

Step 3. Asterisk configuration 

Create accounts for sip endpoints

vi /etc/asterisk/sip.conf

[101]
type=friend                    
context=from-sip              
secret=1234
host=dynamic                  
dtmfmode=rfc2833              
username=101              

[102]
type=friend                    
context=from-sip             
secret=1234
host=dynamic                  
dtmfmode=rfc2833              
username=102              

 

Create dial plan for internal calls

vi /etc/asterisk/extensions.conf 

[from-sip]
exten => _10X,1,Dial(SIP/${EXTEN})
exten => _X.,n,Hangup

 



Sangoma / Wanpipe under Asterisk-NOW
Written By: Paweł Pierścionek
Section:

Category:

2007-10-04 23:13:22

A fool-proof guide to installing Wanpipe under Asterisk-ONE

Sponsored by:

Required Level: novice, accomplished, adept, expert, master

Prerequisites:

  • AsteriskNOW installed natively (no Xen nor VMware) on a server or PC
  • Digital or Analog port Sangoma card Wink

Warnings:

Be sure to read hardware quick start guide for Your card so that we know
that all power and signaling or Telco/phone cables are connected properly
and the card will not have any interrupt problems.

Beware that AsteriskNOW has been designed only for analog port cards
of Digium variety so installing Sangoma cards, especially with digital ports
makes Asterisk GUI partially useless.

Summary :

This articles demonstrates how to install Sangoma Wanpipe drivers on AsteriskNOW.
The procedure is very boring but can be automated. All that is necessary
is to download and run (as root) an automation script from VoiceWorks site:
http://www.voiceworks.pl/wookieboo/scripts/wpastnow.sh
The script does the following:
  • Downloads and compiles missing software development tools :
    flex, byacc, m4.
  • Detects AsteriskNOW kernel version and downloads a source of matching one
  • Prepares (bootstraps) the kernel source for kernel module compilation
  • Detects AsteriskNOW zaptel version and downloads a source of matching one
  • Downloads the most recent public Wanpipe version and installs it
  • Remove zapscan utility that overwrites Wanpipe configuration

Detailed instructions:

Use our favorite SSH client (eg Putty for Windows) to log onto Your box
using the same IP address / user / password combination You use
to log in to Asterisk GUI.

Assuming the IP is 10.0.2.135 and a unix ssh client that would looke like:

> ssh admin@10.0.2.135
admin@10.0.2.135's password:
Last login: Thu Oct 4 14:58:22 2007 from gamma.urtho.net
[admin@localhost ~]$

Now enter into privileged mode typing ‘sudo su –‘ and enter the same password as above

[admin@localhost src]$ sudo su -
Password:
[root@localhost ~]#

Be sure that internet works:

[root@localhost ]# ping -q -c1 -w1 ripe.net >/dev/null 2>&1 && echo "Ok"
Ok, internet works

Download VoiceWorks automation script :

[root@localhost ]# wget http://www.voiceworks.pl/wookieboo/scripts/wpastnow.sh

For security paranoid ppl : MD5 for the above file (version 1.02) is 7169d9e921f21584f9dcc50a2414beca

Now execute the script with:

[root@localhost ~]# bash wpastnow.sh

After a looong while You can start configuring Your Sangoma card with wancfg_zaptel utility.

[root@localhost ~]# wancfg_zaptel

Now would be the best time to check if Your Sangoma card has the latest firmware version.

 






There are 3 items tagged with Asterisk Now. You can view all our tags in the Tag Cloud

<< Start < Previous 1 Next > End >>
Page 1 Of 1
 
English (Angielski)