keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about A400/800/1200 Analog Interface Card

Upgrade A400P to A1200P - No Dahdi in Asterisk

13 years 10 months ago #5913 by ctarbet
I upgraded from a 400 to 1200 OpenVox card. I resolved lots of problems getting the hardware recognized by the system, but now Asterisk won't pick up any Dahdi channels:

dahdi show channels
   Chan Extension  Context         Language   MOH Interpret
On thing I discovered:

dahdi restart
Destroying channels and reloading DAHDI configuration.
Initial softhangup of all DAHDI channels complete.
Final softhangup of all DAHDI channels complete.
[Jul 14 13:21:09] ERROR[2215]: chan_dahdi.c:12241 setup_dahdi: Unable to load chan_dahdi.conf
No matter what I do to the config files, including leaving them blank and replacing them with the sample files, will change this message. I have blacklisted hisax, netjetpci, and isdn. I have recompiled and reinstalled the openvox dahdi linux complete package.

Other info:

dmesg
opvxa1200 0000:02:08.0: PCI INT A -> GSI 52 (level, low) -> IRQ 52
OpenVox A1200P version: 1.4
OpenVox A1200P passed register test
Module 0: Installed -- AUTO FXS/DPO
Module 1: Installed -- AUTO FXS/DPO
Module 2: Installed -- AUTO FXS/DPO
Module 3: Installed -- AUTO FXO (FCC mode)
Module 4: Installed -- AUTO FXO (FCC mode)
Module 5: Installed -- AUTO FXO (FCC mode)
Module 6: Installed -- AUTO FXO (FCC mode)
Module 7: Installed -- AUTO FXO (FCC mode)
Module 8: Installed -- AUTO FXO (FCC mode)
Module 9: Not installed
Module 10: Not installed
Module 11: Not installed
Found an OpenVox A1200P: Version 1.4 (9 modules)
buffer sync misseed!
buffer re-sync occur from -1 to 0
EDAC e752x: tolm = 40000, remapbase = ffc000, remaplimit = 0
lspci -v
02:08.0 Communication controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN interface
        Subsystem: Device 9500:0003
        Flags: bus master, medium devsel, latency 32, IRQ 52
        I/O ports at 2400 
        Memory at dd300000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [40] Power Management version 2
        Kernel driver in use: opvxa1200
        Kernel modules: opvxa1200, hisax


dahdi_scan

active=yes
alarms=OK
description=OpenVox A1200P/A800P Board 13
name=OPVXA1200/12
manufacturer=OpenVox
devicetype=OpenVox A1200P/A800P
location=PCI Bus 02 Slot 09
basechan=1
totchans=12
irq=52
type=analog
port=1,FXS
port=2,FXS
port=3,FXS
port=4,FXO
port=5,FXO
port=6,FXO
port=7,FXO
port=8,FXO
port=9,FXO
port=10,none
port=11,none
port=12,none
dahdi_cfg -vvvv
DAHDI Tools Version - 2.2.0

DAHDI Version: 2.2.0.2
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)
Channel 03: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 03)
Channel 04: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 04)
Channel 05: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 05)
Channel 06: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 06)
Channel 07: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 07)
Channel 08: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 08)
Channel 09: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 09)

9 channels to configure.

Setting echocan for channel 1 to mg2
Setting echocan for channel 2 to mg2
Setting echocan for channel 3 to mg2
Setting echocan for channel 4 to mg2
Setting echocan for channel 5 to mg2
Setting echocan for channel 6 to mg2
Setting echocan for channel 7 to mg2
Setting echocan for channel 8 to mg2
Setting echocan for channel 9 to mg2
[/size]

i] Last edited by ctarbet at 2010-7-16 02:37 [/i
13 years 10 months ago #5914 by lisa.gao
hi,
You have reload driver opvxa1200,right? What's the output dahdi_cfg -vvvv after you reload driver? Please post here.
And have you add #include dahdi-channels.conf in chan_dahdi.c ?
Anyway, please let us know further information.

13 years 10 months ago #5915 by lisa.gao
Sorry, a mistake.
And have you add #include dahdi-channels.conf in chan_dahdi.conf?

13 years 10 months ago #5918 by ctarbet
I will add dahdi_cfg -vvvv to my first post.

Yes, I generated dahdi-channels.conf using dahdi_genconf then put #include dahdi-channels.conf in chan_dahdi.conf.

What is the bare minimum working chan_dahdi.conf so I can do some testing?

i] Last edited by ctarbet at 2010-7-16 02:37 [/i
13 years 10 months ago #5919 by ctarbet
I am suddenly having more problems. I think I may have driver issues. How can I remove dahdi and the opvxa1200 module?

service dahdi restart
Unloading DAHDI hardware modules: done
Loading DAHDI hardware modules:
  wct4xxp:                                                 [  OK  ]
  wcte12xp:                                                [  OK  ]
  wct1xxp:                                                 [  OK  ]
  wcte11xp:                                                [  OK  ]
  wctdm24xxp:                                              [  OK  ]
  wcfxo:                                                   [  OK  ]
  wctdm:                                                   [  OK  ]
  wcb4xxp:                                                 [  OK  ]
  wctc4xxp:                                                [  OK  ]
  xpp_usb:                                                 [  OK  ]

No hardware timing source found in /proc/dahdi, loading dahdi_dummy
Running dahdi_cfg:  DAHDI_CHANCONFIG failed on channel 1: No such device or address (6)
                                                           [FAILED]
13 years 10 months ago #5920 by ctarbet
The problem suddenly vanished. :( Everything came online just like that. It sucks that I have been through all this trouble and never found the real issue.
Time to create page: 0.036 seconds
Powered by Kunena Forum