keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Technical information on install and config asterisk, zaptel under different OSs

Problem when I restart my box

15 years 3 months ago #2463 by james.zhu
hello,
I think you have to disable zaptel in udev and then use service zaptel start to load the driver. the sequence of load zaptel is wrong.
regards!
James.zhu

15 years 3 months ago #2470 by rcuadra
When I try to run the service I recive this message:

[root@elastix ~]# service zaptel start
Loading zaptel framework: [ OK ]
Waiting for zap to come online...OK
Loading zaptel hardware modules: wct4xxp.
opvxa1200.
Running ztcfg: ZT_SPANCONFIG failed on span 1: Invalid argument (22)
[FAILED]
[root@elastix ~]#


The only way to start the driver is go to the Elastix hardware detection in the Elastix GUI.

This is my zapata.conf file

; Autogenerated by /usr/sbin/genzaptelconf -- do not hand edit
; Zaptel Channels Configurations (zapata.conf)
;
; This is not intended to be a complete zapata.conf. Rather, it is intended
; to be #include-d by /etc/zapata.conf that will include the global settings
;

; Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1" (MASTER) HDB3/CCS/CRC4 RED
group=0,11
context=from-pstn
switchtype = euroisdn
signalling = pri_cpe
channel => 1-15,17-31
group=
context=default

; Span 2: TE2/0/2 "T2XXP (PCI) Card 0 Span 2" HDB3/CCS/CRC4 RED
group=0,12
context=from-pstn
switchtype = euroisdn
signalling = pri_cpe
channel => 32-46,48-62
group=
context=default

; Span 3: OPVXA1200/0 "OpenVox A1200P Board 1"
;;; line="63 OPVXA1200/0/0 FXSKS (In use)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 63
context=default

;;; line="64 OPVXA1200/0/1 FXSKS (In use)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 64
context=default

;;; line="65 OPVXA1200/0/2 FXSKS (In use)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 65
context=default

;;; line="66 OPVXA1200/0/3 FXSKS (In use)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 66
context=default

;;; line="67 OPVXA1200/0/4 FXSKS (In use)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 67
context=default

;;; line="68 OPVXA1200/0/5 FXSKS (In use)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 68
context=default

;;; line="69 OPVXA1200/0/6 FXSKS (In use)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 69
context=default

;;; line="70 OPVXA1200/0/7 FXSKS (In use)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 70
context=default


and this is my zaptel.conf file

# Autogenerated by /usr/sbin/genzaptelconf -- do not hand edit
# Zaptel Configuration File
#
# This file is parsed by the Zaptel Configurator, ztcfg
#

# It must be in the module loading order


# Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1" (MASTER) HDB3/CCS/CRC4 RED
span=1,1,0,ccs,hdb3,crc4
# termtype: te
bchan=1-15,17-31
dchan=16

# Span 2: TE2/0/2 "T2XXP (PCI) Card 0 Span 2" HDB3/CCS/CRC4 RED
span=2,2,0,ccs,hdb3,crc4
# termtype: te
bchan=32-46,48-62
dchan=47

# Span 3: OPVXA1200/0 "OpenVox A1200P Board 1"
fxsks=63
fxsks=64
fxsks=65
fxsks=66
fxsks=67
fxsks=68
fxsks=69
fxsks=70
# channel 71, WCTDM, no module.
# channel 72, WCTDM, no module.
# channel 73, WCTDM, no module.
# channel 74, WCTDM, no module.

# Global data

loadzone = us
defaultzone = us
15 years 3 months ago #2482 by james.zhu
hello,
please edit the S09zaptel like this after 177 line in /etc/rc3.d
add: service zaptel stop
spleep 8
# Load drivers
rmmod wcusb 2> /dev/null
rmmod wcfxsusb 2> /dev/null
rmmod audio 2> /dev/null
if [ $system = debian ]; then
echo -n "Loading zaptel framework: "
modprobe zaptel ${ARGS} 2> /dev/null && echo -n "done"
echo "."
elif [ $system = redhat ]; then
service zaptel stop
sleep 8

action "Loading zaptel framework: " modprobe zaptel ${ARGS}
fi
echo -n "Waiting for zap to come online..."
TMOUT=$ZAP_DEV_TIMEOUT # max secs to wait
while [ ! -d /dev/zap ] ; do
sleep 1
TMOUT=`expr $TMOUT - 1`
if [ $TMOUT -eq 0 ] ; then
echo "Error: missing /dev/zap!"
exit 1
fi
done
my zaptel.conf:
#
# This file is parsed by the Zaptel Configurator, ztcfg
#

# It must be in the module loading order


# Span 1: TE4/0/1 "T4XXP (PCI) Card 0 Span 1" (MASTER)
span=1,1,0,ccs,hdb3,crc4
# termtype: te
bchan=1-15,17-31
dchan=16

# Span 2: TE4/0/2 "T4XXP (PCI) Card 0 Span 2"
span=2,2,0,ccs,hdb3,crc4
# termtype: te
bchan=32-46,48-62
dchan=47

# Span 3: TE4/0/3 "T4XXP (PCI) Card 0 Span 3"
span=3,3,0,ccs,hdb3,crc4
# termtype: te
bchan=63-77,79-93
dchan=78

# Span 4: TE4/0/4 "T4XXP (PCI) Card 0 Span 4"
span=4,4,0,ccs,hdb3,crc4
# termtype: te
bchan=94-108,110-124
dchan=109

# Span 5: OPVXA1200/0 "OpenVox A1200P Board 1"
fxsks=125
fxsks=126
fxoks=127
fxoks=128
fxoks=129
fxoks=130
fxoks=131
fxoks=132
fxoks=133
fxoks=134
fxoks=135
fxoks=136

15 years 3 months ago #2497 by rcuadra
I made the change and restart the server and I have the same problem
15 years 3 months ago #2505 by james.zhu
hello,
I have tried few time with elatix-1.3, my one is ok. do you put PRI card in first slot and a1200p in second slot?
regards!
James.zhu

15 years 3 months ago #2530 by rcuadra
Yes, I put the E1 in 1 slot and FXO in second slot, also I tried to swtch and I have the same problem.

I use mother board Intel and procesor Petium IV and Core 2 duo with 3 GB of RAM.

And I have the same problem in two DELL server with 4 GB of RAM and Xeon of 2.0 Quad.

Thanks,
Time to create page: 0.042 seconds
Powered by Kunena Forum