keywords: ip pbx voip gateway gsm gateway

×

Notice

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

A400P+FXO odd alarm?

11 years 2 months ago #8565 by jim80z
Hi


My setup


- Latest FreePBX distribution
- CentOS 6.2
- Dahdi 2.6.1
- Asterisk 10.12.0
- All the latest updates via the FreePBXinterface


I used to have an x100p clone PCI card and itworked fine however I wanted to upgrade to a card that was A-tick certified forAustralia hence I purchased the A400P with one FXO module. I installed it anddid the standard commands to install it
- amportal stop
- modprobe dahdi
- modprobe wctdm opermode=AUSTRALIA
- dahdi_genconf
- did some file edits here and there andrebooted


The problem Im seeing is that when I call thePSTN line the extensions start ringing but before I pickup the call gets killedand re-enters the stack because of a fault? It then rings again on theextension etc. I see the following from the asterisk console


== Spawn extension (from-did-direct,2205, 2) exited non-zero on 'DAHDI/1-1'
-- Hanging up on 'DAHDI/1-1'
-- Hungup 'DAHDI/1-1'
[2013-02-09 00:55:09] NOTICE[1984]:sig_analog.c:3769 analog_handle_init_event: Alarm cleared on channel 1


Separately when I dial out via that PSTN I getthe "all lines are congested message".


Some info:


Dahdi_cfg -vvv


DAHDI Tools Version - 2.6.1


DAHDI Version: 2.6.1
Echo Canceller(s): HWEC, OSLEC
Configuration
======================




Channel map:


Channel 01: FXS Kewlstart (Default) (EchoCanceler: oslec) (Slaves: 01)


1 channels to configure.


Setting echocan for channel 1 to oslec


dahdi_hardware


pci:0000:05:04.0 wctdm+ e159:0001 Wildcard TDM400P REV E/F


lspci


05:04.0 Network controller: Tiger Jet NetworkInc. Tiger3XX Modem/ISDN interface
Subsystem:OpenVox Communication Co. Ltd. Device 0001
Flags:bus master, medium devsel, latency 32, IRQ 16
I/Oports at 1000
Memoryat e0a00000 (32-bit, non-prefetchable) [size=4K]
Capabilities:[40] Power Management version 2
Kerneldriver in use: wctdm
Kernelmodules: wctdm, hisax, netjet


dmesg


dahdi: Telephony Interface Registered on major196
dahdi: Version: 2.6.1
Registered ALLO E1/T1 PCI Board
wctdm 0000:05:04.0: PCI INT A -> GSI 16(level, low) -> IRQ 16
Freshmaker version: 71
Freshmaker passed register test
Module 0: Installed -- AUTO FXO (AUSTRALIAmode)
Module 1: Not installed
Module 2: Not installed
Module 3: Not installed
Found a Wildcard TDM: Wildcard TDM400P REV E/F(1 modules)
vzaphfc: HFC-S PCI A ISDN (V1.42) loading
opvx_echw_module loaded
dahdi_transcode: Loaded.
INFO-xpp: revision Unknown MAX_XPDS=64 (8*8)
INFO-xpp: FEATURE: with PROTOCOL_DEBUG
INFO-xpp: FEATURE: with sync_tick() from DAHDI
INFO-xpp_usb: revision Unknown
usbcore: registered new interface driverxpp_usb
dahdi_echocan_oslec: Registered echo canceler'OSLEC'


dahdi_scan


[1]
active=yes
alarms=OK
description=Wildcard TDM400P REV E/F Board 5
name=WCTDM/4
manufacturer=Digium
devicetype=Wildcard TDM400P REV E/F
location=PCI Bus 05 Slot 05
basechan=1
totchans=4
irq=0
type=analog
port=1,FXO
port=2,none
port=3,none
port=4,none


dahdi show status


Description Alarms IRQ bpviol CRC Fra Codi Options LBO
Wildcard TDM400P REV E/F Board 5 OK 0 0 0 CAS Unk 0 db(CSU)/0-133 feet (DSX-1)


dahdi show channel 1


Channel: 1
Description:
File Descriptor: 10
Span: 1
Extension:
Dialing: no
Context: from-zaptel
Caller ID:
Calling TON: 0
Caller ID subaddress:
Caller ID name:
Mailbox: none
Destroy: 0
InAlarm: 0
Signalling Type: FXS Kewlstart
Radio: 0
Owner: <None>
Real: <None>
Callwait: <None>
Threeway: <None>
Confno: -1
Propagated Conference: -1
Real in conference: 0
DSP: no
Busy Detection: yes
Busy Count: 10
Busy Pattern: 0,0,0,0
TDD: no
Relax DTMF: no
Dialing/CallwaitCAS: 0/0
Default law: ulaw
Fax Handled: no
Pulse phone: no
Gains (RX/TX): 0.00/0.00
Dynamic Range Compression (RX/TX): 0.00/0.00
DND: no
Echo Cancellation:
128taps
(unlessTDM bridged) currently OFF
Wait for dialtone: 0ms
Actual Confinfo: Num/0, Mode/0x0000
Actual Confmute: No
Hookstate (FXS only): Offhook


system.conf


# Span 1: WCTDM/4 "Wildcard TDM400P REVE/F Board 5" (MASTER)
fxsks=1
echocanceller=oslec,1
# channel 2, WCTDM/4/1, no module.
# channel 3, WCTDM/4/2, no module.
# channel 4, WCTDM/4/3, no module.


# Global data


loadzone =au
defaultzone =au


chan_dahdi.conf


[general]


; generated by module
#include chan_dahdi_general.conf


; for user additions not provided by module
#include chan_dahdi_general_custom.conf


[channels]
language=en
busydetect=yes
busycount=10
usecallerid=yes
callwaiting=yes
usecallingpres=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
echotraining=no
immediate=no
faxdetect=no
rxgain=0.0
txgain=0.0


; for user additions not provided by module
#include chan_dahdi_channels_custom.conf


; include dahdi groups defined by DAHDI moduleof FreePBX
#include chan_dahdi_groups.conf


; include dahdi extensions defined in FreePBX
#include chan_dahdi_additional.conf


dahdi_channels.conf


; Span 1: WCTDM/4 "Wildcard TDM400P REVE/F Board 5" (MASTER)
;;; line="1 WCTDM/4/0"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 1
callerid=




Any ideas?
11 years 2 months ago #8569 by jim80z
All,
An update - Its working now. So to set the scene when the fault described below was occurring
- adsl was working
- I could make calls on the pstn line with a std handset (but had a little noise now and then, nothing bad)
- I noticed that ADSL had dropped out a couple of times and could be faster when looking at the line stats
- as per below the card showed no alarms until it had to make or answer a call

The cause was one of the wires in the pstn pair were broken ~70meters away from my house. Telco came out and fixed it.

The A400 did all the right things. The X100 didnt even notice or care.

Go figure.

Jim
11 years 2 months ago #8577 by tim.june
Thank you for sharing.

Email: This email address is being protected from spambots. You need JavaScript enabled to view it.
Skype: tim.jjune
Time to create page: 0.073 seconds
Powered by Kunena Forum