keywords: ip pbx voip gateway gsm gateway

×

Notice

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

Uk settings for A400E

11 years 4 months ago #8448 by oxygen8
Hi are there UK setting I need to use to get the A400E card working with our UK server ?

I have server that has A400E and G400E cards. Both are installed and asterisk can see them.

I used the G400E install script to install every thing with the latest versions.

Centos 5
Asterisk 1.8
DAHDI Version: 2.6.1 Echo Canceller: HWEC, MG2

config files as follows

/etc/dahdi/system.conf
# Autogenerated by /usr/sbin/dahdi_genconf on Thu Dec 13 16:19:32 2012
# 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: WCTDM/4 "Wildcard TDM400P REV E/F Board 5" (MASTER) 
fxsks=1
echocanceller=mg2,1
fxsks=2
echocanceller=mg2,2
fxsks=3
echocanceller=mg2,3
fxsks=4
echocanceller=mg2,4

# Span 2: opvxg4xx/0/1 "OpenVox G400P GSM/CDMA PCI Card 0" AMI/CCS 
span=2,1,0,ccs,ami
# termtype: unknown
bchan=5
hardhdlc=6
echocanceller=mg2,5

# Span 3: opvxg4xx/0/2 "OpenVox G400P GSM/CDMA PCI Card 0" AMI/CCS 
span=3,2,0,ccs,ami
# termtype: unknown
bchan=7
hardhdlc=8
echocanceller=mg2,7

# Span 4: opvxg4xx/0/3 "OpenVox G400P GSM/CDMA PCI Card 0" AMI/CCS 
span=4,3,0,ccs,ami
# termtype: unknown
bchan=9
hardhdlc=10
echocanceller=mg2,9

# Span 5: opvxg4xx/0/4 "OpenVox G400P GSM/CDMA PCI Card 0" AMI/CCS 
span=5,4,0,ccs,ami
# termtype: unknown
bchan=11
hardhdlc=12
echocanceller=mg2,11

# Global data

loadzone        = uk
defaultzone     = uk
chan_dahdi.conf
[channels]
loadzone=uk
defaultzone=uk
usecallerid=yes
ukcallerid=yes
cidsignalling=v23 ; Added for UK CLI detection
cidstart=polarity ; Added for UK CLI detection
sendcalleridafter=1
callerid=asreceived ; propagate the CID received from BT.
busydetect=yes
busycount=3

context=from-pstn
signalling=fxs_ks
rxwink=300
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
faxdetect=incoming
echotraining=800
rxgain=0.0
txgain=0.0
callgroup=1
pickupgroup=1

;Uncomment these lines if you have problems with the disconection of your analog lines
;busydetect=yes
;busycount=3


immediate=no


#include dahdi-channels.conf
dahdi-channels.conf
; Autogenerated by /usr/sbin/dahdi_genconf on Thu Dec 13 16:19:32 2012
; 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: WCTDM/4 "Wildcard TDM400P REV E/F Board 5" (MASTER) 
;;; line="1 WCTDM/4/0 FXSKS  (In use) (EC: MG2 - INACTIVE)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 1
callerid=
group=
context=default

;;; line="2 WCTDM/4/1 FXSKS  (In use) (EC: MG2 - INACTIVE)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 2
callerid=
group=
context=default

;;; line="3 WCTDM/4/2 FXSKS  (In use) (EC: MG2 - INACTIVE)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 3
callerid=
group=
context=default

;;; line="4 WCTDM/4/3 FXSKS  (In use) (EC: MG2 - INACTIVE)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 4
callerid=
group=
context=default
extensions.conf
[from-pstn]
exten => s,1,Answer()
exten => s,n,Playback(tt-monkeys)
exten => s,n,Hangup()


[from-internal]
exten => 200X.,1,Dial(DAHDI/1/${EXTEN:3})
exten => 200X.,2,Hangup
Dialling out we get this message on the console
CLI> 
  == Using SIP RTP CoS mark 5
    -- Executing [200@from-internal:1] Dial("SIP/1111-0000000a", "DAHDI/1/01216209152") in new stack
[Dec 13 17:25:56] WARNING[11778]: app_dial.c:2341 dial_exec_full: Unable to create channel of type 'DAHDI' (cause 17 - User busy)
  == Everyone is busy/congested at this time (1:1/0/0)
    -- Executing [200@from-internal:2] Hangup("SIP/1111-0000000a", "") in new stack
  == Spawn extension (from-internal, 200, 2) exited non-zero on 'SIP/1111-0000000a'
Incoming call
Starting post polarity CID detection on channel 1
    -- Starting simple switch on 'DAHDI/1-1'
[Dec 13 17:26:51] ERROR[11781]: callerid.c:566 callerid_feed: No start bit found in fsk data.
[Dec 13 17:26:51] WARNING[11781]: chan_dahdi.c:1772 my_get_callerid: Failed to decode CallerID
[Dec 13 17:26:55] WARNING[11781]: sig_analog.c:2501 __analog_ss_thread: CID timed out waiting for ring. Exiting simple switch
    -- Hanging up on 'DAHDI/1-1'
    -- Hungup 'DAHDI/1-1'
  == Starting post polarity CID detection on channel 1
    -- Starting simple switch on 'DAHDI/1-1'
If you could help I would very greatfull thank you

Regards
Mick

i] Last edited by oxygen8 at 2012-12-14 01:33 [/i
11 years 4 months ago #8449 by tim.june
Hi,
Pls send me remote access, and contact me via IM below:
Email: This email address is being protected from spambots. You need JavaScript enabled to view it.
Skype: tim.jjune
I will help you check it!

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