Voip:Integrasi dengan E1 Telkom

By human

Setelah driver dahdi sudah terinstall dan sudah dapat mengenali hardware digium.

Tinggal mengkonfigure chanel di dahdi dengan tools dari dahdi_genconf setelah itu restart agar konfig dikenali system.

# dahdi_genconf
# /etc/init.d/dahdi restart

Hasilnya dapat di cek dari dahdi_tools.
Pastikan alarm untuk port yang terkonek ke E1 Telkom tertulis OK.
Read more »

memory: reclaim your memory back

By human

Baru diberitahu oleh empunya metalova.
cara reclaim memory yang sudah terpakai

# free -m
             total       used       free     shared    buffers     cached
Mem:           991        902         89          0        370        312
-/+ buffers/cache:        219        772
Swap:         1009         11        998
# echo 3 > /proc/sys/vm/drop_caches
# free -m
             total       used       free     shared    buffers     cached
Mem:           991        177        814          0          2         28
-/+ buffers/cache:        146        845
Swap:         1009         11        998

Voip:persiapan kompile dahdi

By human

yum groupinstall 'Development Tools'
yum install newt-devel
yum install ncurses-devel
yum install openssl-devel

Voip:dahdi or zaptel

By human

http://www.mail-archive.com/linux-il@cs.huji.ac.il/msg56916.html

Asterisk 1.4.x , for x > 21 , can be built to support either Zaptel or
DAHDI. This is a build-time decision. 1.6.0 and above only support
DAHDI. 1.4.21 and below only support Zaptel.

As a very practical test:

# strings /usr/sbin/asterisk | grep /dev | egrep 'zap|dahdi'
/dev/dahdi/timer
# lsmod | grep dahdi
dahdi_echocan_mg2      10248  120
dahdi                 196552  4 dahdi_echocan_mg2,wct4xxp
crc_ccitt               6337  1 dahdi
# dahdi_hardware
pci:0000:05:08.0     wct4xxp+     d161:0420 Wildcard TE420 (4th Gen)

Build-essential ubuntu di centos

By human

“build-essential” is a Debian/Ubuntu package that doesn’t exist in CentOS/RedHat/Fedora family of Linux distros. The closest equivalent is the “Development Tools” package group, install it by:

yum groupinstall 'Development Tools'

Voip:trixbox-zaptel

By human

[Feb  9 16:34:51] ERROR[4907] asterisk.c: Asterisk has detected a problem with your Zaptel configuration and will shutdown for your protection.  You have options:
        1. You only have to compile Zaptel support into Asterisk if you need it.  One option is to recompile without Zaptel support.
        2. You only have to load Zaptel drivers if you want to take advantage of Zaptel services.  One option is to unload zaptel modules if you don't need them.
        3. If you need Zaptel services, you must correctly configure Zaptel.

artinya ….