FXO openvox & sangoma E1 together

Joined
Aug 14, 2013
Messages
2
Points
0
I have problem withe FXO openvox & sangoma E1 together
Change following file and Launched.
First install sangoma card
wancfg_dahdi
step 1
no change chan_dahdi.conf
step2
select E1
step 3
select
CONFIGURE LINECODING AND FRAMING
step4
select HDB3
step 5
select
NCRC4
step6
select NORMAL
step 7
PRI CPE
step 8
select uroisdn
step9
defualt to end
and change following file


/etc/asterisk/chan_dahdi.conf
Code:
[trunkgroups]

[channels]
context=from-pstn
signalling=fxs_ks
rxwink=300        ; Atlas seems to use long (250ms) winks
usecallerid=yes
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=2.0
txgain=2.0
callgroup=1
pickupgroup=1
language=pr

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


immediate=no

#include dahdi-channels.conf
#include chan_dahdi_additional.conf
/etc/asterisk/dahdi_channels.conf

Code:
; Autogenerated by /usr/sbin/dahdi_genconf on Tue Aug 13 13:58:53 2013
; 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: WPT1/0 "wanpipe1 card 0" B8ZS/ESF RED 
group=11
context=from-pstn
switchtype = national
signalling = pri_cpe
channel => 1-16,17-31
context = default
group = 63

; Span 2: OPVXA1200/12 "OpenVox A1200P/A800P Board 13" (MASTER) 
;;; line="25 OPVXA1200/12/0 FXSKS  (In use) (EC: OSLEC - INACTIVE)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel =>32 
callerid=
group=
context=default

;;; line="26 OPVXA1200/12/1 FXSKS  (In use) (EC: OSLEC - ACTIVE)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 33
callerid=
group=
context=default

;;; line="27 OPVXA1200/12/2 FXSKS  (In use) (EC: OSLEC - INACTIVE)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 34
callerid=
group=
context=default

;;; line="28 OPVXA1200/12/3 FXSKS  (In use) (EC: OSLEC - ACTIVE)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 35
callerid=
group=
context=default

;;; line="29 OPVXA1200/12/4 FXSKS  (In use) (EC: OSLEC - INACTIVE)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 36
callerid=
group=
context=default

;;; line="30 OPVXA1200/12/5 FXSKS  (In use) (EC: OSLEC - INACTIVE)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 37
callerid=
group=
context=default

;;; line="31 OPVXA1200/12/6 FXSKS  (In use) (EC: OSLEC - INACTIVE)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 38
callerid=
group=
context=default

;;; line="32 OPVXA1200/12/7 FXSKS  (In use) (EC: OSLEC - INACTIVE)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 39
callerid=
group=
context=default
/etc/wanpip/wanpipe1.conf

Code:
#================================================
# WANPIPE1 Configuration File
#================================================
#
# Date: Wed Dec  6 20:29:03 UTC 2006
#
# Note: This file was generated automatically
#       by /usr/local/sbin/setup-sangoma program.
#
#       If you want to edit this file, it is
#       recommended that you use wancfg program
#       to do so.
#================================================
# Sangoma Technologies Inc.
#================================================

[devices]
wanpipe1 = WAN_AFT_TE1, Comment

[interfaces]
w1g1 = wanpipe1, , TDM_VOICE, Comment

[wanpipe1]
CARD_TYPE     = AFT
S514CPU     = A
CommPort     = PRI
AUTO_PCISLOT     = NO
PCISLOT     = 4
PCIBUS      = 2
FE_MEDIA    = E1
FE_LCODE    = HDB3
FE_FRAME    = NCRC4
FE_LINE        = 1
TE_CLOCK     = NORMAL
TE_REF_CLOCK    = 0
TE_SIG_MODE     = CCS
TE_HIGHIMPEDANCE    = NO
TE_RX_SLEVEL    = 430
HW_RJ45_PORT_MAP = DEFAULT
LBO         = 120OH
FE_TXTRISTATE    = NO
MTU         = 1500
UDPPORT        = 9000
TTL        = 255
IGNORE_FRONT_END    = NO
TDMV_SPAN        = 1
TDMV_DCHAN        = 16
TE_AIS_MAINTENANCE = NO         #NO: defualt  YES: Start port in AIS Blue Alarm and keep line down
                                #wanpipemon -i w1g1 -c Ttx_ais_off to disable AIS maintenance mode
                                #wanpipemon -i w1g1 -c Ttx_ais_on to enable AIS maintenance mode  
TDMV_HW_DTMF        = NO        # YES: receive dtmf events from hardware
TDMV_HW_FAX_DETECT        = NO        # YES: receive fax 1100hz events from hardware
HWEC_OPERATION_MODE     = OCT_NORMAL    # OCT_NORMAL: echo cancelation enabled with nlp (default) 
                                        # OCT_SPEECH: improves software tone detection by disabling NLP (echo possible)
                                        # OCT_NO_ECHO:disables echo cancelation but allows VQE/tone functions. 
HWEC_DTMF_REMOVAL       = NO    # NO: default  YES: remove dtmf out of incoming media (must have hwdtmf enabled)
HWEC_NOISE_REDUCTION    = NO    # NO: default  YES: reduces noise on the line - could break fax
HWEC_ACUSTIC_ECHO       = NO    # NO: default  YES: enables acustic echo cancelation
HWEC_NLP_DISABLE        = NO    # NO: default  YES: guarantees software tone detection (possible echo)   
HWEC_TX_AUTO_GAIN       = 0     # 0: disable   -40-0: default tx audio level to be maintained (-20 default)
HWEC_RX_AUTO_GAIN       = 0     # 0: disable   -40-0: default tx audio level to be maintained (-20 default)  
HWEC_TX_GAIN            = 0        # 0: disable   -24-24: db values to be applied to tx signal
HWEC_RX_GAIN            = 0        # 0: disable   -24-24: db values to be applied to tx signal

[w1g1]
ACTIVE_CH    = ALL
TDMV_HWEC    = YES
MTU         = 8
/etc/dahdi/system.conf

Code:
#autogenerated by /usr/sbin/wancfg_dahdi do not hand edit
#autogenrated on 2013-08-13
#Dahdi Channels Configurations 
#For detailed Dahdi options, view /etc/dahdi/system.conf.bak
loadzone=us
defaultzone=us

#Sangoma A101 port 1 [slot:4 bus:2 span:1] <wanpipe1>
span=1,1,0,ccs,hdb3
bchan=1-15,17-31
echocanceller=oslec,1-15,17-31
hardhdlc=16



fxsks=32-39
echocanceller=oslec,32-39
This config for iran country
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,993
Messages
131,109
Members
17,716
Latest member
Orbit114
Top