keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about D-110P 1 Span E1/T1/J1 Interface Card

OpenVox PRI D110P/D210P/D410P + dahdi

15 years 6 months ago #1962 by james.zhu
hello, all of users:
To install D110P/D210P/D410P with dahdi, install some support packages as zaptel requires, then please go through these steps:
1) get dahdi-linux, dahdi-tools and asterisk
wget downloads.digium.com/pub/asterisk/releas...erisk-1.6.0.1.tar.gz
wget downloads.digium.com/pub/telephony/dahdi...i-linux-2.0.0.tar.gz
wget downloads.digium.com/pub/telephony/dahdi...i-tools-2.0.0.tar.gz
wget downloads.digium.com/pub/libpri/releases/libpri-1.4.7.tar.gz
please unzip and cpoy those files to /usr/src/dahdi/dahdi-com(please note that this my dir, you can set to /usr/src)
2) please change back to /usr/src/dahdi/dahdi-com/libpri-1.4.7
run: make, make install
3) please change back to /usr/src/dahdi/dahdi-com/dahdi-linux-2.0.0
run: make, make install
4) change the directory to /usr/src/dahdi/dahdi-com/dahdi-tools-2.0.0
run: ./configure, make, make install
5) change to asterisk directory, in my case is /usr/src/dahdi/asterisk-1.6
5.1) ./configure
5.2) make
5.3) make install
5.4) make samples
6) please edit the dahdi files
6.1) edit the system.conf under /etc/dahdi, some files are there:
[root@new-host-8 asterisk-1.6]# cd /etc/dahdi/
[root@new-host-8 dahdi]# ls
init.conf modules system.conf
please keep in mind that the system.conf works as zaptel.conf in zaptel
the part of system.conf will be like this:
# And change channel 2 to use the kb1 echo canceller.
#echocanceller=kb1,2
#
=================D210P==
span=1,0,0,ccs,hdb3
span=2,0,0,ccs,hdb3
bchan=1-15,17-31
dchan=16
bchan = 32-46,48-62
dchan = 47
======================
6.2) edit the chan.dahdi.conf in /etc/asterisk
the part of chan_dahdi.conf should be like this:
;stripmsd=1
;callerid=asreceived
==================
context=zap-in
switchtype=euroisdn
pridialplan=national
signalling=pri_cpe
usecallerid=yes
hidecallerid=no
callwaiting=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
echocancel=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
immediate=no
callprogress=no
callerid=asreceived
group=1
signalling=pri_cpe
channel => 1-15,17-31
group=2
signalling=pri_cpe
channel => 32-46,48-62
==================
the chan_dahdi.conf works as zapata.conf, so do not be confused.
6.3) edit extensions.conf
for incoming line: // for example only
================
[zap-in]
;
; We start with what to do when a call first comes in.
;
exten => s,1,Wait(1) ; Wait a second, just for fun
exten => s,n,Answer ; Answer the line
exten => s,n,Dial(dahdi/13) // zap has been changed to dahdi
exten => s,n,Hangup
==================

7) modprobe dahdi
Cool modprobe wct4xxp // for D110P, run wcte11xp
Cool dahdi_cfg -vvvvvvv // note: ztcfg changes dahdi_cfg. more commands are under /usr/sbin
============result of dahdi_cfg=========
DAHDI Tools Version - 2.0.0

DAHDI Version: 2.0.0
Echo Canceller(s):
Configuration
======================

SPAN 1: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 2: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)

Channel map:

Channel 01: Clear channel (Default) (Slaves: 01)
Channel 02: Clear channel (Default) (Slaves: 02)
Channel 03: Clear channel (Default) (Slaves: 03)
Channel 04: Clear channel (Default) (Slaves: 04)
Channel 05: Clear channel (Default) (Slaves: 05)
Channel 06: Clear channel (Default) (Slaves: 06)
Channel 07: Clear channel (Default) (Slaves: 07)
Channel 08: Clear channel (Default) (Slaves: 0Cool
Channel 09: Clear channel (Default) (Slaves: 09)
Channel 10: Clear channel (Default) (Slaves: 10)
Channel 11: Clear channel (Default) (Slaves: 11)
Channel 12: Clear channel (Default) (Slaves: 12)
Channel 13: Clear channel (Default) (Slaves: 13)
Channel 14: Clear channel (Default) (Slaves: 14)
Channel 15: Clear channel (Default) (Slaves: 15)
Channel 16: D-channel (Default) (Slaves: 16)
Channel 17: Clear channel (Default) (Slaves: 17)
Channel 18: Clear channel (Default) (Slaves: 1Cool
Channel 19: Clear channel (Default) (Slaves: 19)
Channel 20: Clear channel (Default) (Slaves: 20)
Channel 21: Clear channel (Default) (Slaves: 21)
===========skip some channels========
9) start asterisk by asterisk -vvvvvvvvgc
under asterisk console, run: dahdi show channels
===================================
new-host-11*CLI> dahdi show channels
Chan Extension Context Language MOH Interpret Blocked State
pseudo zap-in default In Service
1 zap-in default In Service
2 zap-in default In Service
3 zap-in default In Service
4 zap-in default In Service
5 zap-in default In Service
6 zap-in default In Service
7 zap-in default In Service
8 zap-in default In Service
9 zap-in default In Service
10 zap-in default In Service
11 zap-in default In Service
12 zap-in default In Service
13 zap-in default In Service
14 zap-in default In Service
15 zap-in default In Service
17 zap-in default In Service
18 zap-in default In Service

10) make a inbound call to test calls
this is only very brief info for dahdi, later, i will add more details for that. if you have any problem, please always refer these links:
voip-info.org
asterisk.org
openvox.com.cn
README file under dahdi-linux
=======================
test environments:
OpenVox D110P/D210P/D410P
Dhadi-linux-2.0.0
libpri-1.4.7
asterisk-1.6.0.1
Centos-5.0
OpenVox D110P/D210P/D410P
========================
regards!
James.zhu

15 years 4 months ago #2404 by telecomab
Does the driver for Zaptel work on DAHDI? If not, when will a driver for DAHDI be available for the D110PG?
15 years 4 months ago #2405 by james.zhu
hello:
1) Does the driver for Zaptel work on DAHDI? no. zaptel and dahdi are different.
2) If not, when will a driver for DAHDI be available for the D110PG? no, we do not have any dahdi driver for D110PG.
regards!
James.zhu

15 years 3 months ago #2597 by telecomab

james.zhu wrote: hello:
1) Does the driver for Zaptel work on DAHDI? no. zaptel and dahdi are different.
2) If not, when will a driver for DAHDI be available for the D110PG? no, we do not have any dahdi driver for D110PG.
regards!
James.zhu


So that means that I cannot use my D110PG cards with DAHDI? I still do not understand why the G card needs a different driver than the regular D110P. I have at least 6 D110PG cards that I will not be able to use with Asterisk 1.6!
15 years 3 months ago #2598 by miaolin
If you MUST use those cards with 1.6, we can provide you a driver.
15 years 2 months ago #2610 by james.zhu
hello,
this is a D110PG driver for Dahdi-2.0.0, please rename back to wcte11xp.c ,replace the original one with the new one, recompile your dahdi.
regards!
James.zhu

Attachments:
Time to create page: 0.049 seconds
Powered by Kunena Forum