Installing Asterisk 10 on Debian Squeeze

Debian

Install dependencies:

# apt-get install linux-headers-$(uname -r) build-essential libxml2-dev libncurses5-dev libsqlite3-dev libssl-dev libsrtp0-dev unixodbc-dev

Since version 1.8 Asterisk is using unixODBC for storing CDR and CEL data into database. Old MySQL backend, cdr_mysql, is still supported. Also I’m installing libsrtp0-dev to successfully compile core channel chan_sip. This is also required since 1.8 version because of secure RTP support.
Continue reading →

Setting up BLF / presence on Linksys SPA962 and SPA942

linksys-spa962

In April 2005. Cisco acquired Sipura Technology, Inc. and made it part of Linksys by Cisco, commonly known as Linksys, a brand of SOHO networking products. This acquisition gave Linksys role of equipment manufacturer and not just a value-added reseller of low-cost network products. Nowadays SPA phones are mainstream in VoIP market. In this post I will show you how to set up SIP presence / BLF (busy lamp field) with Linksys SPA962 (+ SPA932 attendant console) and SPA942.
Continue reading →

Emailing CDR monthly

chart

Few months ago one of my customers demanded to have CDR reports for previous month. I decided to make a simple cron job for this task. I’ll use MySQL query to export data in csv file. Having csv is good option because it allows end user to import data in spread sheet application and to manipulate with data. Tuturial has been performed on Trixbox 2.8.0.3 (based on CentOS 5.5).
Continue reading →

Offline updating with yum

centos

Wether you need to update multiple servers quickly or simply your PBX is offline you might find this post useful. I’ll use one fresh installtion of AsteriskNOW 1.5 (based on CentOS 5.2) to cache updates.
Continue reading →

HylaFAX integration with Asterisk

fax

HylaFAX is versatile fax server for Linux. It has many clients for various platforms. HylaFax needs IAXmodem so it can communicate with Asterisk. Installation is really simple and straight forward but IAXmodem cannot work with newer versions of Asterisk unless requirecalltoken feature in IAX settings is set to no. Tuturial has been performed on Trixbox 2.8.0.4 (based on CentOS 5.5) with Asterisk 1.6.0.26.
Continue reading →