Trixbox 2.8.0.2

romy_punzalan
Posts: 8
Member Since:
2009-04-06

I installed a trixbox 2.8.0.2 and encountered several problems, I'm using a Sangoma A104DE card and OpenR2. My problems are;

1. I cannot access CLI;

asterisk -r

Asterisk 1.6.0.3, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
===========================================================
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)

tail /var/log/asterisk/full

[Dec 22 08:01:07] WARNING[5279] pbx.c: Context 'from-did-direct' tries to include nonexistent
context 'ext-findmefollow'
[Dec 22 08:01:07] NOTICE[5279] pbx_ael.c: AEL load process: verified config file name
'/etc/asterisk/extensions.ael'.
[Dec 22 08:01:07] VERBOSE[5279] logger.c: pbx_ael.so => (Asterisk Extension Language
Compiler)
[Dec 22 08:01:07] VERBOSE[5279] logger.c: SIP channel loading...
[Dec 22 08:01:07] WARNING[5279] frame.c: Cannot allow unknown format 'h263a'
[Dec 22 08:01:07] WARNING[5279] chan_sip.c: Codec configuration errors found in line 13 :
allow = h263a
[Dec 22 08:01:07] VERBOSE[5279] logger.c: chan_sip.so => (Session Initiation Protocol (SIP))
[Dec 22 08:01:07] VERBOSE[5279] logger.c: format_g726.so => (Raw G.726 (16/24
/32/40kbps) data)
[Dec 22 08:01:07] VERBOSE[5279] logger.c: cdr_custom.so => (Customizable Comma
Separated Values CDR Backend)
[Dec 22 08:01:07] ERROR[5279] pbx_dundi.c: Unable to bind to 0.0.0.0 port 4520: Address
already in use

2. FATAL, module opvxa1200 not found
3. No CDR

How can I solve these problems? I know Lots out there has the answers and Kind enough to share it! Thanks in advance.



romy_punzalan
Posts: 8
Member Since:
2009-04-06
additional info on my problems

When i reboot my trixbox 2.8.0.2 server, below are some alarming info i gathered;

udev[540]: add_to_rules: invalid KERNEL operation
udev[540]: add_to_rules: invalid rule '/etc/udev/rules.d/50-udev.rules:349'
udev[540]: add_to_rules: invalid KERNEL operation
udev[540]: add_to_rules: invalid rule '/etc/udev/rules.d/50-udev.rules:350'
udev[540]: add_to_rules: invalid KERNEL operation
udev[540]: add_to_rules: invalid rule '/etc/udev/rules.d/50-udev.rules:351'
udev[540]: add_to_rules: invalid KERNEL operation
udev[540]: add_to_rules: invalid rule '/etc/udev/rules.d/50-udev.rules:352'
udev[540]: add_to_rules: invalid KERNEL operation
udev[540]: add_to_rules: invalid rule '/etc/udev/rules.d/50-udev.rules:353'

then another error is;

Fatal module Opvxa1200 not found [Failed]

What does it mean and How can it be solved? Thanks again to those who are kind enough to share knowledge.



andrew
Posts: 1472
Member Since:
2006-05-30
Install trixbox 2.8.0.3 or

Install trixbox 2.8.0.3 or do a yum update on your 2.8.0.2 system. This will resolve your issue.



romy_punzalan
Posts: 8
Member Since:
2009-04-06
pls.see below

.



romy_punzalan
Posts: 8
Member Since:
2009-04-06
Trixbo 2.8.0.2

Hi,

I installed a new trixbox2.8.0.3 but the results are still the same, below is my installation procedure,
can you pls. assess if i'm doing the right procedure and if the versions matches with its other.

AFTER COPYING TRIXBOX 2.8.0.3 ISO;

#yum update kernel

#reboot

#yum install –y lksctp-tools-devel
#yum install –y flex
#yum install –y gcc
#yum install –y ncurses-devel
#yum install –y libtermcap-devel
#yum install –y gcc-c++
#yum install –y make
#yum install -y byacc
#yum install –y bison
#yum install –y subversion
#yum install –y newt-devel
#yum install –y perl
#yum install –y patch
#yum install –y automake
#yum install -y rpm-build
#yum install –y kernel-devel

#cd /usr/src
#wget ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz
#tar zxvf autoconf-2.60.tar.gz
#cd autoconf-2.60
#./configure
#make
#make install

#cd /usr/src
#wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/...
#tar zxvf dahdi-linux-complete-2.2.0.2+2.2.0.tar.gz
#cd dahdi-linux-complete-2.2.0.2+2.2.0
#make
#make install

#wget ftp://ftp.sangoma.com/linux/custom/yannick/RPMS/RPMS_trixbox-2.8....
#wget ftp://ftp.sangoma.com/linux/RPMS/2.8.0.2/wanpipe-modules-2.6.18-1...

#rpm -i wanpipe-modules-2.6.18-128.1.10.el5-3.5.8.5-0.i686.rpm
#rpm -i wanpipe-util-3.5.8.5-0.i686.rpm
#wanrouter hwprobe
#wanrouter hwprobe verbose (To check FXO/FXS modules for Analog cards)

#setup-sangoma

#cd /usr/src
#wget ftp://ftp.sangoma.com/linux/current_wanpipe/wanpipe-3.5.8.tgz
#tar xvfz wanpipe-3.5.8.tgz
#cd wanpipe-3.5.8
#./Setup install

#reboot

#cd /usr/src
#wget http://openr2.googlecode.com/files/openr2-1.1.0.tar.gz
#tar zxvf openr2-1.1.0.tar.gz
#cd openr2-1.1.0
#./configure –prefix=/usr
#make
#make install

Asterisk MFCR2
#cd /usr/src
#svn checkout http://svn.digium.com/svn/asterisk/team/moy/mfcr2
#cd mfcr2
#./configure --prefix=/usr
#make
#make install

#cd /usr/src
#wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/ast...
#tar zxvf asterisk-1.6.0.3.tar.gz
#cd asterisk-1.6.0.3
#wget http://openr2.googlecode.com/files/openr2-asterisk-1.6.0.patch
#patch -p0 #./bootstrap.sh
#./configure –prefix=/usr
#make
#make install
#amportal restart

#nano /etc/dahdi/system.conf

#autogenerated by /usr/sbin/wancfg_dahdi do not hand edit
#autogenrated on 2009-12-14
#Dahdi Channels Configurations
#For detailed Dahdi options, view /etc/dahdi/system.conf.bak

loadzone=us
defaultzone=us

#Sangoma A104 port 1 [slot:4 bus:3 span:1]
span=1,1,0,cas,hdb3
cas=1-15:1101
cas=17-31:1101
#dchan=16
hardhdlc=16

#Sangoma A104 port 2 [slot:4 bus:3 span:2]
span=2,2,0,cas,hdb3
cas=32-46:1101
cas=48-62:1101
#dchan=47
hardhdlc=47

#nano /etc/asterisk/chan_dahdi.conf

;autogenerated by /usr/sbin/wancfg_dahdi do not hand edit
;autogenrated on 2009-12-14
;Dahdi Channels Configurations
;For detailed Dahdi options, view /etc/asterisk/chan_dahdi.conf.bak

[trunkgroups]

[channels]
context=default
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
relaxdtmf=yes
rxgain=0.0
txgain=0.0
group=0
callgroup=1
pickupgroup=1
immediate=no

;Sangoma A104 port 1 [slot:4 bus:3 span:1]
;MFCR2 settings
signalling=mfcr2
mfcr2_variant=ph
mfcr2_get_ani_first=no
mfcr2_max_ani=18
mfcr2_max_dnis=7
mfcr2_category=national_subscriber
mfcr2_logdir=span1
mfcr2_logging=all
mfcr2_call_files=yes
mfcr2_metering_pulse_timeout=-1
context=from-zaptel
group=0
callgroup=1
pickupgroup=1
channel => 1-15,17-31

;Sangoma A104 port 2 [slot:4 bus:3 span:2]
;MFCR2 settings
signalling=mfcr2
mfcr2_variant=ph
mfcr2_get_ani_first=no
mfcr2_max_ani=18
mfcr2_max_dnis=7
mfcr2_category=national_subscriber
mfcr2_logdir=span2
mfcr2_logging=all
mfcr2_call_files=yes
mfcr2_metering_pulse_timeout=-1
context=from-zaptel
group=1
callgroup=1
pickupgroup=1
channel => 32-46

signalling=mfcr2
mfcr2_variant=ph
mfcr2_get_ani_first=no
mfcr2_max_ani=18
mfcr2_max_dnis=14
mfcr2_category=national_subscriber
mfcr2_logdir=span2
mfcr2_logging=all
mfcr2_call_files=yes
mfcr2_metering_pulse_timeout=-1
context=from-zaptel
group=2
callgroup=1
pickupgroup=1
channel => 48-62

Thank you very much for your support.



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.