Home

items tagged with Asterisk

CLID Type of Number in Asterisk
Written By: Paweł Pierścionek
Section:

Category:

2007-10-11 16:06:58

Calling/Called party Type Of Number in Asterisk

Sponsored by: VoiceWorks

Required Level: novice, accomplished, adept, master

 

Symptoms:

  • Unable to place a call on a PRI E1/T1 line
  • Calls are rejected with 'unknown number' error on a PRI E1/T1 line
  • My caller id is not displayed
  • My Telco/operator says that my TON / NPI is wrong and should be E.164 or unknown

Prerequisites:

  • Asterisk/Callweaver with a PRI line configured and running

Summary :

In this article You will learn how setup Your pbx to use proper Type Of Number (TON) and Numbering Plan (NPI)
In short, You all You probably need to do to fix the problem is set two variables in zapata.conf fie, pridialplan and prilocaldialplan from default national/E.164 for both of them to unknown/unknown

Detailed instructions :

Both pridialplan (called number) and prilocaldialplan (calling number) can be set to unknown, local, private, national, and international but only two combinations are popular.

Consider the folliwing entries in zapata.conf:

pridialplan = unknown
prilocaldialplan = unknown

Above configuration sets both TON and NPI to unknown for both called and calling party identification numbers which solves most of the problems.

Another popular combo might be pridialplan set to 'dynamic' which will choose either national or international for the value depending on the dialed number, provided You setup internationaprefix and nationalprefix right.

Some telcos might require You setup TON to unknown and NPI to 'isdn-telephony/E.164' which is not supported by Asterisk Frown. In this case You either convince the Telco to let You use unknown/unknown combination or buy a Patton E1 gateway than can do all sorts of tricks with PRI .



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 

 



Performance of 16E1s SS7 Sangoma SMG
Written By: Paweł Pierścionek
Section:

Category:

2008-04-01 23:00:00

Performance tests of 16E1s SS7 Sangoma Media Gateway

 

Sponsored by:

Required Level: novice, accomplished, adept, master

 

Abstract:

In this article we present performance data on 16E1 SS7 setup based on Sangoma's SMG & Asterisk as a voice application server.
CPU usage and Unix system load are analysed as a function of number of calls in the answered state both for centralized & distributed setup. Load analysis shows that in a distributed setup a Dual Core 3GHz AMD Opteron server has enough resources to handle full 16E1 load with room for additional applications like SIP termination.

Read More About Performance Of 16E1s SS7 Sangoma SMG...


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

 



Polycom Spectralink 8002 and Asterisk configuration
Written By: Paweł Kocik
Section:

Category:

2009-02-10 14:34:42

Sponsored by 

 

Prerequisites:

OS: Centos 5.2

tftp server (both firmware and configuration file): 10.2.8.1

Asterisk

version: 1.4.22

IP address: 10.2.8.1

Polycom:

Firmware: 130.007

Wifi Access Point:

WMM-Compatible Access Point

Network:

10.2.0.0/16

default gateway: 10.2.0.1

ESS ID: VoiceWorks.TEST

 

 

Step 1. Wifi Access Point prerequisites

 

Step 2. TFTP server installation

 

Step 3. Asterisk installation

 

Step 4. Asterisk configuration 

 

  Step 5. Polycom Spectralink 8002 configuration

 

 

Step 1. Wifi Access Point prerequisites

SpectraLink 8002 Wireless Telephones require support for WMM from WiFi Access Point. Please check specification before deciding about buying AP for your Spectralink 8002. The 8002 handset has been tested with many different types of AP's and found compatible with most.

 

Step 2. TFTP server installation

yum install tftp-server

cd /etc/xinetd.d

vi tftp

service tftp

{

        socket_type = dgram

        protocol       = udp

        wait              = yes

        user              = root

        server          = /usr/sbin/in.tftpd

        server_args  = -s /tftpboot

        disable          = no

        per_source   = 11

        cps               = 100 2

        flags          = IPv4

}

 

service xinetd restart

 

Then you can put firmware and configuration files into tftpboot folder.

 

Preparing configuration files 

wget http://downloads.polycom.com/voice/netlink/SpectraLink_8002_v130_007.zip

unzip SpectraLink_8002_v130_007.zip to your tftp folder

 

Now copy sip_xxxxx.cfg to sip_201.cfg and then edit sip_201.cfg. Below example of the simplest sip_201.cfg file:

# cat sip_201.cfg 

LINE1         = 201

LINE1_PROXY   = 1

LINE1_CALLID  = Mouse, Mickey

LINE1_AUTH    = 201; 201

 

Now edit sip_allusers.cfg:

# cat sip_allusers.cfg

CODECS = g711u, g711a

PROXY1_TYPE       = Asterisk

 

PROXY1_ADDR     = 10.2.8.1:5060     

PROXY1_KEYPRESS_2833 = enable

PROXY1_KEYPRESS_INFO = disable

PROXY1_HOLD_IP0 = disable

PROXY1_PRACK = enable

PROXY1_REREG_SECS=3600

PROXY1_KEEPALIVE_SECS=14

PROXY1_DOMAIN = 10.2.8.1    

PROXY1_CALLID_PER_LINE = disable

PROXY1_MAIL_ACCESS = 7999     

 

Step 3. 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.22.tar.gz

tar zxvf asterisk-1.4.22.tar.gz

 

Asterisk compilation and installation

cd /usr/src/asterisk-1.4.22

./configure

make

make install

make samples 

 

Step 4. Asterisk configuration

 

Create accounts for sip endpoints

vi /etc/asterisk/sip.conf

[201]

type=friend                    

context=from-sip              

secret=201

host=dynamic                   

dtmfmode=rfc2833              

username=201                                                  

disallow=all

allow=alaw

allow=ulaw                    

progressinband=no         

 

     

Create dial plan for internal calls

vi /etc/asterisk/extensions.conf 

[from-sip]

exten => _X.,1,Dial(SIP/${EXTEN})

exten => _X.,n,Hangup

 

 

Step 5. Polycom Spectralink 8002 configuration

To start configuration of Polycom SpectraLink 8002 handset you need to open Admin menu. To do that turn off the handset and then while holding Power Off key press and release Power On key. If the password is set (default is 123456) you will need to enter it.

To navigate through menu use side keys and softkeys.

 

Configuring network

Go to Network Config and start from setting IP address:

Network Config -> IP Addresses -> Static  -> Phone IP: e.g. 10.2.8.12

        -> TFTP Server IP: e.g. 10.2.8.1

    -> Default Gateway: e.g. 10.2.0.1

    -> Subnet Mask: e.g. 255.255.0.0

    -> SIP TFTP Svr IP: e.g. 10.2.8.1

 

Then set ESS ID:

ESS ID   -> Static Entry   ->  e.g. VoiceWorks.TEST

 

Then set security options according to settings of your AP:

Security  ->   e.g. WPA-PSK -> Passphrase -> e.g. polycom

 

Configuring phone 

 

Go to Phone Config and set user name and password for your SIP account:

Phone Config -> SIP Registration -> Reg 1 and Login -> Username: e.g. 201

-> Password: e.g. 201

 

Now you can exit Admin menu.

 

 






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

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