Hello, My first attempt to get dahdi running on 1.4.28... with a Rhino 8 port modular card and a single FXS module. Got the Rhino card installed and the machine sees it: root at pbx:/etc/dahdi# dmesg | grep rcbfx [ 71.985309] rcbfx 0000:04:00.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21 [ 71.985440] rcbfx 1: Rhino PCI BAR0 50100000 IOMem mapped at ffffc90008d7c000 [ 71.985504] rcbfx 1: Waiting for response from card ......... [ 71.986276] rcbfx 1: Firmware Version 2.1 [ 71.986288] rcbfx 0000:04:00.0: firmware: requesting rcbfx.fw [ 72.047192] rcbfx 1: firmware rcbfx.fw not available from userspace [ 72.047202] rcbfx 1: Hardware version 11 [ 72.047233] rcbfx 1: G168 07 08 DSP Loader file size = 170 App file size = 48414 [ 72.350080] rcbfx 1: G168 DSP Ping DSP Version 106 [ 72.510185] rcbfx 1: G168 DSP Active and Servicing 2 Channels - 3 [ 72.510681] rcbfx 1: Starting DMA [ 72.530147] rcbfx 1: Spotted a Rhino: Rhino RCB8FXX (1 modules) root at pbx:/etc/dahdi# Dahdi also sees it: root at pbx:/etc/dahdi# lsdahdi ### Span 1: Rhino RCB8FXX/1 "Rhino RCB8FXX/1" (MASTER) 1 FXS FXOKS (SWEC: MG2) 2 FXS FXOKS (SWEC: MG2) 3 EMPTY 4 EMPTY 5 EMPTY 6 EMPTY 7 EMPTY 8 EMPTY root at pbx:/etc/dahdi# dahdi_cfg -vvv DAHDI Tools Version - 2.2.0 DAHDI Version: 2.2.1-rc2 Echo Canceller(s): MG2 Configuration ===================== Channel map: Channel 01: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 01) Channel 02: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 02) 2 channels to configure. Setting echocan for channel 1 to mg2 Setting echocan for channel 2 to mg2 root at pbx:/etc/dahdi# I am running FreePBX, so it created "/etc/asterisk/zapata_additonal.conf", so I linked "/etc/asterisk/chan_dahdi.conf" to it: root at pbx:/etc/asterisk# ls -ltr {chan_dahdi,zapata_additional}.conf -rw-rw-r-- 1 asterisk asterisk 678 2010-01-13 21:27 zapata_additional.conf lrwxrwxrwx 1 asterisk asterisk 22 2010-01-13 23:11 chan_dahdi.conf -> zapata_additional.conf root at pbx:/etc/asterisk# root at pbx:/etc/asterisk# cat chan_dahdi.conf ;--------------------------------------------------------------------------------; ; 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 ; ;--------------------------------------------------------------------------------; ; ;;;;;;[20001] signalling=fxo_ks pickupgroupmailbox=20001 at device immediate=no echotraining=800 echocancelwhenbridged=no echocancel=yes context=from-internal callprogress=no callgroupcallerid=device <20001> busydetect=no busycount=7 accountcodechannel=>1 ;;;;;;[20002] signalling=fxo_ks pickupgroupmailbox=20002 at device immediate=no echotraining=800 echocancelwhenbridged=no echocancel=yes context=from-internal callprogress=no callgroupcallerid=device <20002> busydetect=no busycount=7 accountcodechannel=>2 root at pbx:/etc/asterisk# BUT asterisk doesn't seem to see it: root at pbx:/etc/asterisk# asterisk -rx 'dahdi show channels' Chan Extension Context Language MOH Interpret root at pbx:/etc/asterisk# Any clues? I am sure I am missing something stupid. Thanks, j
I'm on 1.4.26.2 and have to have DAHDI entries in user.conf for Asterisk to see the DAHDI line (dahdi_genconf users). -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Jeff LaCoursiere Sent: Thursday, January 14, 2010 9:23 AM To: asterisk-users at lists.digium.com Subject: [asterisk-users] Dahdi issues Hello, My first attempt to get dahdi running on 1.4.28... with a Rhino 8 port modular card and a single FXS module. Got the Rhino card installed and the machine sees it: root at pbx:/etc/dahdi# dmesg | grep rcbfx [ 71.985309] rcbfx 0000:04:00.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21 [ 71.985440] rcbfx 1: Rhino PCI BAR0 50100000 IOMem mapped at ffffc90008d7c000 [ 71.985504] rcbfx 1: Waiting for response from card ......... [ 71.986276] rcbfx 1: Firmware Version 2.1 [ 71.986288] rcbfx 0000:04:00.0: firmware: requesting rcbfx.fw [ 72.047192] rcbfx 1: firmware rcbfx.fw not available from userspace [ 72.047202] rcbfx 1: Hardware version 11 [ 72.047233] rcbfx 1: G168 07 08 DSP Loader file size = 170 App file size = 48414 [ 72.350080] rcbfx 1: G168 DSP Ping DSP Version 106 [ 72.510185] rcbfx 1: G168 DSP Active and Servicing 2 Channels - 3 [ 72.510681] rcbfx 1: Starting DMA [ 72.530147] rcbfx 1: Spotted a Rhino: Rhino RCB8FXX (1 modules) root at pbx:/etc/dahdi# Dahdi also sees it: root at pbx:/etc/dahdi# lsdahdi ### Span 1: Rhino RCB8FXX/1 "Rhino RCB8FXX/1" (MASTER) 1 FXS FXOKS (SWEC: MG2) 2 FXS FXOKS (SWEC: MG2) 3 EMPTY 4 EMPTY 5 EMPTY 6 EMPTY 7 EMPTY 8 EMPTY root at pbx:/etc/dahdi# dahdi_cfg -vvv DAHDI Tools Version - 2.2.0 DAHDI Version: 2.2.1-rc2 Echo Canceller(s): MG2 Configuration ===================== Channel map: Channel 01: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 01) Channel 02: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 02) 2 channels to configure. Setting echocan for channel 1 to mg2 Setting echocan for channel 2 to mg2 root at pbx:/etc/dahdi# I am running FreePBX, so it created "/etc/asterisk/zapata_additonal.conf", so I linked "/etc/asterisk/chan_dahdi.conf" to it: root at pbx:/etc/asterisk# ls -ltr {chan_dahdi,zapata_additional}.conf -rw-rw-r-- 1 asterisk asterisk 678 2010-01-13 21:27 zapata_additional.conf lrwxrwxrwx 1 asterisk asterisk 22 2010-01-13 23:11 chan_dahdi.conf -> zapata_additional.conf root at pbx:/etc/asterisk# root at pbx:/etc/asterisk# cat chan_dahdi.conf ;--------------------------------------------------------------------------- -----; ; 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 ; ;--------------------------------------------------------------------------- -----; ; ;;;;;;[20001] signalling=fxo_ks pickupgroupmailbox=20001 at device immediate=no echotraining=800 echocancelwhenbridged=no echocancel=yes context=from-internal callprogress=no callgroupcallerid=device <20001> busydetect=no busycount=7 accountcodechannel=>1 ;;;;;;[20002] signalling=fxo_ks pickupgroupmailbox=20002 at device immediate=no echotraining=800 echocancelwhenbridged=no echocancel=yes context=from-internal callprogress=no callgroupcallerid=device <20002> busydetect=no busycount=7 accountcodechannel=>2 root at pbx:/etc/asterisk# BUT asterisk doesn't seem to see it: root at pbx:/etc/asterisk# asterisk -rx 'dahdi show channels' Chan Extension Context Language MOH Interpret root at pbx:/etc/asterisk# Any clues? I am sure I am missing something stupid. Thanks, j -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
On Thu, Jan 14, 2010 at 03:22:41PM +0000, Jeff LaCoursiere wrote:> I am running FreePBX, so it created "/etc/asterisk/zapata_additonal.conf", > so I linked "/etc/asterisk/chan_dahdi.conf" to it: > > root at pbx:/etc/asterisk# ls -ltr {chan_dahdi,zapata_additional}.conf > -rw-rw-r-- 1 asterisk asterisk 678 2010-01-13 21:27 zapata_additional.conf > lrwxrwxrwx 1 asterisk asterisk 22 2010-01-13 23:11 chan_dahdi.conf -> > zapata_additional.confThis is wrong. You need to e.g. have a section [channels] in chan_dahdi.conf . I suppose you mean to link it to chan_dahdi_additional.conf . -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir