Elastix 2.3.0 - Dahdi and ISDN Card problem

Status
Not open for further replies.

rkozul

Joined
May 28, 2012
Messages
5
Reaction score
0
Hello,

this is my first post on this forum so I hope a good start.
Recently I installed new Elastix 2.3.0 and tried to make my ISDN card to work but it was unsuccessfull. I have tried all instuctions found on the internet on OpenVox site, on other sites but what ever I do my ISDN line is not functional.
After a large attempts to make it work I upgraded Elastix and now it is 2.3.0-10 and Centos 5.8 (Final).
Problem is the same vith B200P, B400P and B800P OpenVox cards. I am not sure about some things in Serbia regarding signalling etc. so I tried changing everything in configuration files but nothing helps.
With B400P we had a sucessfull 3-4 calls (outbound and inbound) and then nothing.These are the config files I was modifying:

- /etc/dahdi/system.conf
- /etc/asterisk/chan_dahdi.conf
- /etc/asterisk/dahdi_channels.conf

Does anybody have any suggestion for my problem ?
Is it possible somehow to bypass or exclude Dahdi for IDSN card and install mISDN and use it instead. Older Elastix versions used mISDN and it works great on older Elastix. Both Cards were tested on 0.9.2-4 and works just fine. On 2.3.0 and Dadhi it does not work for me.


These are examples of my config files witch B400P OpenVox card:

/etc/dahdi/system.conf
# Autogenerated by /usr/sbin/dahdi_genconf on Mon May 28 12:59:45 2012
# If you edit this file and execute /usr/sbin/dahdi_genconf again,
# your manual changes will be LOST.
# Dahdi Configuration File
#
# This file is parsed by the Dahdi Configurator, dahdi_cfg
#
# Span 1: B4/0/1 "B4XXP (PCI) Card 0 Span 1" (MASTER)
span=1,1,0,ccs,ami
# termtype: te
bchan=1-2
hardhdlc=3
echocanceller=oslec,1-2

# Span 2: B4/0/2 "B4XXP (PCI) Card 0 Span 2"
span=2,2,0,ccs,ami
# termtype: te
bchan=4-5
hardhdlc=6
echocanceller=oslec,4-5

# Global data

loadzone = us
defaultzone = us

/etc/asterisk/dahdi_channels.conf
; Span 1: B4/0/1 "B4XXP (PCI) Card 0 Span 1" (MASTER) RED
group=0,11
context=from-openvox
overlapdial=yes
switchtype = euroisdn
#signalling = bri_net_ptp # if set signalling = bri_net_ptmp, the result is the same
signalling = bri_cpe_ptmp
channel => 1-2
context = default
group = 63

; Span 2: B4/0/2 "B4XXP (PCI) Card 0 Span 2" RED
group=0,12
context=from-openvox
overlapdial=yes
switchtype = euroisdn
#signalling = bri_net_ptp # if set signalling = bri_net_ptmp, the result is the same
signalling = bri_cpe_ptmp
channel => 4-5
context = default
group = 63

; Span 3: B4/0/3 "B4XXP (PCI) Card 0 Span 3" RED
group=0,13
context=from-openvox
overlapdial=yes
switchtype = euroisdn
#signalling = bri_cpe_ptmp
signalling = bri_net_ptmp # if set signalling = bri_net_ptp, the result is the same
channel => 7-8
context = default
group = 63

; Span 4: B4/0/4 "B4XXP (PCI) Card 0 Span 4" RED
group=0,14
context=from-openvox
overlapdial=yes
switchtype = euroisdn
signalling = bri_cpe_ptmp
#signalling = bri_net_ptmp # if set signalling = bri_net_ptp, the result is the same
channel => 10-11
context = default
group = 63

/etc/asterisk/chan_dahdi.conf
; Auto-generated by /usr/sbin/hardware_detector
[trunkgroups]

[channels]
#context=from-pstn
signalling=fxs_ks
rxwink=300 ; Atlas seems to use long (250ms) winks
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
faxdetect=incoming
echotraining=800
rxgain=0.0
txgain=0.0
callgroup=1
pickupgroup=1
relaxdtmf=yes

;Uncomment these lines if you have problems with the disconection of your analog lines
;busydetect=yes
;busycount=3


immediate=no

#include dahdi-channels.conf
#include chan_dahdi_additional.conf

Asterisk Info
[root@pbx etc]# asterisk -r
Asterisk 1.8.12.0, Copyright (C) 1999 - 2012 Digium, Inc. and others.
Created by Mark Spencer <[email protected]>
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.
=========================================================================
Connected to Asterisk 1.8.12.0 currently running on pbx (pid = 13906)
Verbosity is at least 3
pbx*CLI> dahdi show channels
Chan Extension Context Language MOH Interpret Blocked State
pseudo default default In Service
1 from-pstn default In Service
2 from-pstn default In Service
4 from-pstn default In Service
5 from-pstn default In Service
pbx*CLI> pri show spans
PRI span 1/0: In Alarm, Down, Active
PRI span 2/0: In Alarm, Down, Active
 
Put a semicolon ';' before every line starting with pound symbol'#' in dahdi-channels.conf and try.
 
I have tried that but nothing happens. This time I am trying with Openvox B200P because B400P is in other PBX we use at the current time.
I reinstalled Elastix 2.3.0, upgraded it on 2.3.0-11 (yum update).
- Asterisk 1.8.12.0
- DAHDI Version: 2.4.1.2 Echo Canceller: OSLEC
After some changes to config files now everytihng is like it was on the start. This is default configuration.
Anybody have an idea what is wrong and why it won't work ?
Just for information, I am from Serbia and our ISDN provider is Telekom Serbia. I contacted them but they gave me no answer.


From asterisk CLI:
pbxnew*CLI> dahdi show channels
Chan Extension Context Language MOH Interpret Blocked State
pseudo default default In Service
1 from-pstn default In Service
2 from-pstn default In Service
4 from-pstn default In Service
5 from-pstn default In Service

pbxnew*CLI> dahdi show status
Description Alarms IRQ bpviol CRC Fra Codi Options LBO
B4XXP (PCI) Card 0 Span 1 RED 0 0 0 CCS AMI 0 db (CSU)/0-133 feet (DSX-1)
B4XXP (PCI) Card 0 Span 2 RED 0 0 0 CCS AMI 0 db (CSU)/0-133 feet (DSX-1)


pbxnew*CLI> pri show spans
PRI span 1/0: In Alarm, Down, Active
PRI span 2/0: In Alarm, Down, Active

CONFIG FILES:

[root@pbxnew ~]# cat /etc/dahdi/system.conf
# Autogenerated by /usr/sbin/dahdi_genconf on Sat Jun 9 16:19:49 2012
# If you edit this file and execute /usr/sbin/dahdi_genconf again,
# your manual changes will be LOST.
# Dahdi Configuration File
#
# This file is parsed by the Dahdi Configurator, dahdi_cfg
#
# Span 1: B4/0/1 "B4XXP (PCI) Card 0 Span 1" (MASTER) AMI/CCS RED
span=1,1,0,ccs,ami
# termtype: te
bchan=1-2
hardhdlc=3
echocanceller=oslec,1-2

# Span 2: B4/0/2 "B4XXP (PCI) Card 0 Span 2" AMI/CCS RED
span=2,2,0,ccs,ami
# termtype: te
bchan=4-5
hardhdlc=6
echocanceller=oslec,4-5

# Global data

loadzone = us
defaultzone = us



[root@pbxnew ~]# cat /etc/asterisk/dahdi_channels.conf

; Span 1: B4/0/1 "B4XXP (PCI) Card 0 Span 1" (MASTER) RED
group=0,11
context=from-openvox
overlapdial=yes
switchtype = euroisdn
#signalling = bri_net_ptp # if set signalling = bri_net_ptmp, the result is the same
signalling = bri_cpe_ptmp
channel => 1-2
context = default
group = 63

; Span 2: B4/0/2 "B4XXP (PCI) Card 0 Span 2" RED
group=0,12
context=from-openvox
overlapdial=yes
switchtype = euroisdn
#signalling = bri_net_ptp # if set signalling = bri_net_ptmp, the result is the same
signalling = bri_cpe_ptmp
channel => 4-5
context = default
group = 63

; Span 3: B4/0/3 "B4XXP (PCI) Card 0 Span 3" RED
group=0,13
context=from-openvox
overlapdial=yes
switchtype = euroisdn
#signalling = bri_cpe_ptmp
signalling = bri_net_ptmp # if set signalling = bri_net_ptp, the result is the same
channel => 7-8
context = default
group = 63

; Span 4: B4/0/4 "B4XXP (PCI) Card 0 Span 4" RED
group=0,14
context=from-openvox
overlapdial=yes
switchtype = euroisdn
signalling = bri_cpe_ptmp
#signalling = bri_net_ptmp # if set signalling = bri_net_ptp, the result is the same
channel => 10-11
context = default
group = 63



[root@pbxnew ~]# cat /etc/asterisk/chan_dahdi.conf

[trunkgroups]

[channels]
context=from-pstn
signalling=fxs_ks
rxwink=300 ; Atlas seems to use long (250ms) winks
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
faxdetect=incoming
echotraining=800
rxgain=0.0
txgain=0.0
callgroup=1
pickupgroup=1

;Uncomment these lines if you have problems with the disconection of your analog lines
;busydetect=yes
;busycount=3


immediate=no

#include dahdi-channels.conf
#include chan_dahdi_additional.conf
 
Status
Not open for further replies.

Latest Posts

Members Online Now

Forum statistics

Threads
111,861
Messages
589,439
Members
164,701
Latest member
yarusemiKK