Hi good day to all need help and suggestions from you guys here’s my scenario.
I have astribank xr0005 device. with 24 FXS
and plug it to my freepbx machine with the latest version.
physical installation was successful.
lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 005: ID e4e4:1152 Xorcom Ltd. Astribank series
for /usr/sbin/dahdi_registration on
and
dahdi_hardware -v
i got the following output below
usb:001/005 xpp_usb+ e4e4:1152 Astribank-multi FPGA-firmware
LABEL=[] CONNECTOR=@usb-0000:00:1d.7-2
XBUS-00/XPD-00: FXS (14) Span 1 DAHDI-SYNC
XBUS-00/XPD-10: FXS (8) Span 2
XBUS-00/XPD-20: FXS (8) Span 3
then i stop and start the service for dahdi and i received the following output
service dahdi start
Loading DAHDI hardware modules:
xpp_usb: [ OK ]
Astribanks initialization is starting
Astribanks detection [1]…TIMEOUT
Running dahdi_cfg:
i don’t know if there’s effect it on the system.
i run /usr/sbin/dahdi_genconf and dahdi generate the sample config here’s the config for /etc/dahdi/system.conf file and /etc/asterisk/chan_dahdi.conf, plus chan_dahdi_additional.conf and dahdi_channels.conf
---- /etc/dahdi/system.conf ----
Autogenerated by /usr/sbin/dahdi_genconf on Wed Jan 2 00:56:25 2002
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: XBUS-00/XPD-00 “Xorcom XPD [].1: FXS” (MASTER)
fxoks=1
echocanceller=oslec,1
fxoks=2
echocanceller=oslec,2
fxoks=3
echocanceller=oslec,3
fxoks=4
echocanceller=oslec,4
fxoks=5
echocanceller=oslec,5
fxoks=6
echocanceller=oslec,6
fxoks=7
echocanceller=oslec,7
fxoks=8
echocanceller=oslec,8
astbanktype: output
fxoks=9
echocanceller=oslec,9
astbanktype: output
fxoks=10
echocanceller=oslec,10
astbanktype: input
fxoks=11
echocanceller=oslec,11
astbanktype: input
fxoks=12
echocanceller=oslec,12
astbanktype: input
fxoks=13
echocanceller=oslec,13
astbanktype: input
fxoks=14
echocanceller=oslec,14
Span 2: XBUS-00/XPD-10 “Xorcom XPD [].2: FXS”
fxoks=15
echocanceller=oslec,15
fxoks=16
echocanceller=oslec,16
fxoks=17
echocanceller=oslec,17
fxoks=18
echocanceller=oslec,18
fxoks=19
echocanceller=oslec,19
fxoks=20
echocanceller=oslec,20
fxoks=21
echocanceller=oslec,21
fxoks=22
echocanceller=oslec,22
Span 3: XBUS-00/XPD-20 “Xorcom XPD [].3: FXS”
fxoks=23
echocanceller=oslec,23
fxoks=24
echocanceller=oslec,24
fxoks=25
echocanceller=oslec,25
fxoks=26
echocanceller=oslec,26
fxoks=27
echocanceller=oslec,27
fxoks=28
echocanceller=oslec,28
fxoks=29
echocanceller=oslec,29
fxoks=30
echocanceller=oslec,30
Global data
loadzone = us
defaultzone = us
------ /etc/asterisk/chan_dahdi.conf ------
;
; Zapata telephony interface
;
; Configuration file
[trunkgroups]
[channels]
language=en
context=from-zaptel
signalling=fxs_ks
rxwink=300 ; Atlas seems to use long (250ms) winks
;
; Whether or not to do distinctive ring detection on FXO lines
;
;usedistinctiveringdetection=yes
busydetect=yes
busycount=10
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
echotraining=800
rxgain=0.0
txgain=0.0
group=0
callgroup=1
pickupgroup=1
immediate=no
;faxdetect=both
faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no
#include dahdi-channels.conf
group=1
;Include AMP configs
#include chan_dahdi_additional.conf
-------chan_dahdi_additional.conf------
which i added in freepbx gui under application -> extension dahdi device
;--------------------------------------------------------------------------------;
; Do NOT edit this file as it is auto-generated by FreePBX. All modifications to ;
; this file must be done via the web gui. There are alternative files to make ;
; custom modifications, details at: http://freepbx.org/configuration_files ;
;--------------------------------------------------------------------------------;
;
;;;;;;[101]
signalling=fxo_ks
pickupgroup=
mailbox=101@device
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
context=from-dahdi
callprogress=no
callgroup=
callerid=101 <101>
busydetect=no
busycount=7
accountcode=
channel=>1
;;;;;;[102]
signalling=fxo_ks
pickupgroup=
mailbox=102@device
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
context=from-dahdi
callprogress=no
callgroup=
callerid=102 <102>
busydetect=no
busycount=7
accountcode=
channel=>2
and lastly which is commented out as per other forum this autogenerated config made by genconf conflicts with the added extension on dahdi_additional.conf.
----- dahdi-channels.conf-----
; Autogenerated by /usr/sbin/dahdi_genconf on Wed Jan 2 00:56:25 2002
; 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: XBUS-00/XPD-00 “Xorcom XPD [].1: FXS” (MASTER)
;;; line=“1 XPP_FXS/00/00/0 FXOKS (In use) (EC: MG2 - INACTIVE)”
;signalling=fxo_ks
;callerid=“Channel 1” <4001>
;mailbox=4001
;group=5
;context=from-internal
;channel => 1
;callerid=
;mailbox=
;group=
;context=default
;;; line=“2 XPP_FXS/00/00/1 FXOKS (EC: MG2 - INACTIVE)”
;signalling=fxo_ks
;callerid=“Channel 2” <4002>
;mailbox=4002
;group=5
;context=from-internal
;channel => 2
;callerid=
;mailbox=
;group=
;context=default
;;; line=“3 XPP_FXS/00/00/2 FXOKS (EC: MG2 - INACTIVE)”
;signalling=fxo_ks
;callerid=“Channel 3” <4003>
;mailbox=4003
;group=5
;context=from-internal
;channel => 3
;callerid=
;mailbox=
;group=
;context=default
;;; line=“4 XPP_FXS/00/00/3 FXOKS (EC: MG2 - INACTIVE)”
;signalling=fxo_ks
;callerid=“Channel 4” <4004>
;mailbox=4004
;group=5
;context=from-internal
;channel => 4
;callerid=
;mailbox=
;group=
;context=default
;;; line=“5 XPP_FXS/00/00/4 FXOKS (EC: MG2 - INACTIVE)”
;signalling=fxo_ks
;callerid=“Channel 5” <4005>
;mailbox=4005
;group=5
;context=from-internal
;channel => 5
;callerid=
;mailbox=
;group=
;context=default
;;; line=“6 XPP_FXS/00/00/5 FXOKS (EC: MG2 - INACTIVE)”
;signalling=fxo_ks
;callerid=“Channel 6” <4006>
;mailbox=4006
;group=5
;context=from-internal
;channel => 6
;callerid=
;mailbox=
;group=
;context=default
;;; line=“7 XPP_FXS/00/00/6 FXOKS (EC: MG2 - INACTIVE)”
;signalling=fxo_ks
;callerid=“Channel 7” <4007>
;mailbox=4007
;group=5
;context=from-internal
;channel => 7
;callerid=
;mailbox=
;group=
;context=default
;;; line=“8 XPP_FXS/00/00/7 FXOKS (EC: MG2 - INACTIVE)”
;signalling=fxo_ks
;callerid=“Channel 8” <4008>
;mailbox=4008
;group=5
;context=from-internal
;channel => 8
;callerid=
;mailbox=
;group=
;context=default
;;; line=“9 XPP_OUT/00/00/8”
;signalling=fxo_ks
;callerid=“Channel 9” <4009>
;mailbox=4009
;group=
;context=astbank-output
;channel => 9
;callerid=
;mailbox=
;group=
;context=default
;;; line=“10 XPP_OUT/00/00/9”
;signalling=fxo_ks
;callerid=“Channel 10” <4010>
;mailbox=4010
;group=
;context=astbank-output
;channel => 10
;callerid=
;mailbox=
;group=
;context=default
;;; line=“11 XPP_IN/00/00/10”
;signalling=fxo_ks
;callerid=“Channel 11” <4011>
;mailbox=4011
;group=
;context=astbank-input
;immediate=yes
;channel => 11
;callerid=
;mailbox=
;group=
;context=default
;immediate=no
;;; line=“12 XPP_IN/00/00/11”
;signalling=fxo_ks
;callerid=“Channel 12” <4012>
;mailbox=4012
;group=
;context=astbank-input
;immediate=yes
;channel => 12
;callerid=
;mailbox=
;group=
;context=default
;immediate=no
;;; line=“13 XPP_IN/00/00/12”
;signalling=fxo_ks
;callerid=“Channel 13” <4013>
;mailbox=4013
;group=
;context=astbank-input
;immediate=yes
;channel => 13
;callerid=
;mailbox=
;group=
;context=default
;immediate=no
;;; line=“14 XPP_IN/00/00/13”
;signalling=fxo_ks
;callerid=“Channel 14” <4014>
;mailbox=4014
;group=
;context=astbank-input
;immediate=yes
;channel => 14
;callerid=
;mailbox=
;group=
;context=default
;immediate=no
; Span 2: XBUS-00/XPD-10 “Xorcom XPD [].2: FXS”
;;; line=“15 XPP_FXS/00/10/0 FXOKS (EC: MG2 - INACTIVE)”
;signalling=fxo_ks
;callerid=“Channel 15” <4015>
;mailbox=4015
;group=5
;context=from-internal
;channel => 15
;callerid=
;mailbox=
;group=
;context=default
;;; line=“16 XPP_FXS/00/10/1 FXOKS (EC: MG2 - INACTIVE)”
;signalling=fxo_ks
;callerid=“Channel 16” <4016>
;mailbox=4016
;group=5
;context=from-internal
;channel => 16
;callerid=
;mailbox=
;group=
;context=default
;;; line=“17 XPP_FXS/00/10/2 FXOKS (EC: MG2 - INACTIVE)”
;signalling=fxo_ks
;callerid=“Channel 17” <4017>
;mailbox=4017
;group=5
;context=from-internal
;channel => 17
;callerid=
;mailbox=
;group=
;context=default
;;; line=“18 XPP_FXS/00/10/3 FXOKS (EC: MG2 - INACTIVE)”
;signalling=fxo_ks
;callerid=“Channel 18” <4018>
;mailbox=4018
;group=5
;context=from-internal
;channel => 18
;callerid=
;mailbox=
;group=
;context=default
;;; line=“19 XPP_FXS/00/10/4 FXOKS (EC: MG2 - INACTIVE)”
;signalling=fxo_ks
;callerid=“Channel 19” <4019>
;mailbox=4019
;group=5
;context=from-internal
;channel => 19
;callerid=
;mailbox=
;group=
;context=default
;;; line=“20 XPP_FXS/00/10/5 FXOKS (EC: MG2 - INACTIVE)”
;signalling=fxo_ks
;callerid=“Channel 20” <4020>
;mailbox=4020
;group=5
;context=from-internal
;channel => 20
;callerid=
;mailbox=
;group=
;context=default
;;; line=“21 XPP_FXS/00/10/6 FXOKS (EC: MG2 - INACTIVE)”
;signalling=fxo_ks
;callerid=“Channel 21” <4021>
;mailbox=4021
;group=5
;context=from-internal
;channel => 21
;callerid=
;mailbox=
;group=
;context=default
;;; line=“22 XPP_FXS/00/10/7 FXOKS (EC: MG2 - INACTIVE)”
;signalling=fxo_ks
;callerid=“Channel 22” <4022>
;mailbox=4022
;group=5
;context=from-internal
;channel => 22
;callerid=
;mailbox=
;group=
;context=default
; Span 3: XBUS-00/XPD-20 “Xorcom XPD [].3: FXS”
;;; line=“23 XPP_FXS/00/20/0”
;signalling=fxo_ks
;callerid=“Channel 23” <4023>
;mailbox=4023
;group=5
;context=from-internal
;channel => 23
;callerid=
;mailbox=
;group=
;context=default
;;; line=“24 XPP_FXS/00/20/1”
;signalling=fxo_ks
;callerid=“Channel 24” <4024>
;mailbox=4024
;group=5
;context=from-internal
;channel => 24
;callerid=
;mailbox=
;group=
;context=default
;;; line=“25 XPP_FXS/00/20/2”
;signalling=fxo_ks
;callerid=“Channel 25” <4025>
;mailbox=4025
;group=5
;context=from-internal
;channel => 25
;callerid=
;mailbox=
;group=
;context=default
;;; line=“26 XPP_FXS/00/20/3”
;signalling=fxo_ks
;callerid=“Channel 26” <4026>
;mailbox=4026
;group=5
;context=from-internal
;channel => 26
;callerid=
;mailbox=
;group=
;context=default
;;; line=“27 XPP_FXS/00/20/4”
;signalling=fxo_ks
;callerid=“Channel 27” <4027>
;mailbox=4027
;group=5
;context=from-internal
;channel => 27
;callerid=
;mailbox=
;group=
;context=default
;;; line=“28 XPP_FXS/00/20/5”
;signalling=fxo_ks
;callerid=“Channel 28” <4028>
;mailbox=4028
;group=5
;context=from-internal
;channel => 28
;callerid=
;mailbox=
;group=
;context=default
;;; line=“29 XPP_FXS/00/20/6”
;signalling=fxo_ks
;callerid=“Channel 29” <4029>
;mailbox=4029
;group=5
;context=from-internal
;channel => 29
;callerid=
;mailbox=
;group=
;context=default
;;; line=“30 XPP_FXS/00/20/7”
;signalling=fxo_ks
;callerid=“Channel 30” <4030>
;mailbox=4030
;group=5
;context=from-internal
;channel => 30
;callerid=
;mailbox=
;group=
;context=default
checking my dahdi show channels got a
Chan Extension Context Language MOH Interpret Blocked State Description
pseudo default default In Service
1 from-dahdi en default In Service
and notice that when i hook up the phone i hearing a pulse tone not a dial tone and some of the fxs port are on amber.
kindly see my config file above. suggestion will be appreciated .
Thank you.