keywords:pbx ip pbx voip gateway gsm gateway

× Questions about B100/200/400/800 ISDN BRI Cards

B100P - "Empty configuration -- no spans"

7 years 9 months ago #7458 by reinerotto
My installation on SuSE 11.4 does not work:
*CLI> dahdi show channels
*CLI> dahdi show channels
Chan Extension Context Language MOH Interpret Blocked State

May be, my configuration files for dahdi/asterisk are not correct. Does anybody have a working test-config, using B100P only ?

I also tried the description from http://bbs.openvox.cn/viewthread.php?tid=1607& ;extra=page%3D1
which is specifically for SuSE, but 11.3, without success.
7 years 9 months ago #7461 by tim.june
The contents in /etc/asterisk/dahdi-channles.conf is like this:

; Autogenerated by /usr/sbin/dahdi_genconf on Wed Jun 30 18:52:54 2010
; If you edit this file and execute /usr/sbin/dahdi_genconf again,
; your manual changes will be LOST.
; Dahdi Channels Configurations (chan_dahdi.conf)
;;
This is not intended to be a complete chan_dahdi.conf. Rather, it is intended
; to be #include-d by /etc/chan_dahdi.conf that will include the global settings
;;
Span 1: ZTHFC1 "HFC-S PCI A ISDN card 0 [TE] " (MASTER)
group=0,11
context=from-pstn
overlapdial=yes
switchtype = euroisdn
signalling = bri_cpe_ptmp
channel => 1-2
context = default
group = 63
Add these lines (copy) "include dahdi-channels.conf" in the end of the file chan_dahdi.conf, did you do that?

Email: This email address is being protected from spambots. You need JavaScript enabled to view it.
Skype: tim.jjune
7 years 9 months ago #7477 by neuropa
I also have problems installing Openvox B100P.

My system:
# Centos 6
# Libpri 1.4.12
# Dahdi 2.5.0.2+2.5.0.2 with patch for 2.4.0 or above by Tim.June
# Asterisk 1.8.7.1

This is the output of dahdi_cfg -vvvvvvvv:
DAHDI Tools Version - 2.5.0.2

DAHDI Version: 2.5.0.2
Echo Canceller(s): HWEC
Configuration
======================


Channel map:


0 channels to configure.

I have also manually edited /etc/asterisk/dahdi_channels.conf with:
; Autogenerated by /usr/sbin/dahdi_genconf on Wed Jun 30 18:52:54 2010
; If you edit this file and execute /usr/sbin/dahdi_genconf again,
; your manual changes will be LOST.
; Dahdi Channels Configurations (chan_dahdi.conf)
;;
This is not intended to be a complete chan_dahdi.conf. Rather, it is intended
; to be #include-d by /etc/chan_dahdi.conf that will include the global settings
;;
Span 1: ZTHFC1 "HFC-S PCI A ISDN card 0 [TE] " (MASTER)
group=0,11
context=from-misdn
overlapdial=yes
switchtype = euroisdn
signalling = bri_cpe_ptmp
channel => 1-2
context = default
group = 63

and I have added this line at the end of /etc/asterisk/chan_dahdi.conf:
include dahdi-channels.conf

In Asterisk console i get the following message when i run dahdi show channels:
*CLI> dahdi show channels
   Chan Extension  Context         Language   MOH Interpret        Blocked    State     
 pseudo            default                    default                         In Service

Strange output when doing service dahdi restart:
Unloading DAHDI hardware modules: done
Loading DAHDI hardware modules:
  zaphfc:                                                  [  OK  ]

driver should be 'zaphfc' but is actually 'hfcpci'
Running dahdi_cfg:                                         [  OK  ]

Any suggestion? How can I use my Openvox B100P with Asterisk and CentOS 6?
Thanks...

i] Last edited by neuropa at 2011-10-28 22:31 [/i
7 years 9 months ago #7487 by tim.june
According to the message above, the driver 'hfcpci' is taking up the place of 'zaphfc', so the real driver 'zaphfc' can not be loaded when starting server. Please add 'hfcpci' in /etc/modprobe.d/blacklist.conf to disable it, then reboot the server,'zaphfc' will be loaded in right way.
Good Luck!

Email: This email address is being protected from spambots. You need JavaScript enabled to view it.
Skype: tim.jjune
7 years 9 months ago #7535 by neuropa
Thanks for your reply!
I will try it on my next installation and I will post here any result.
7 years 8 months ago #7659 by neuropa
Works perfectly on my CentOS 6 system! :-)
Thank you very much!
Time to create page: 0.023 seconds
Powered by Kunena Forum