[Asterisk-Users] Re: Asterisk-Users Digest, Vol 10, Issue 215

Nguyen Trung Tin thienvinh2001 at yahoo.com
Fri May 27 00:22:43 MST 2005


Hi All
 
i'm using sangoma card. connected to E1,
my wanpipe file as 
 
#================================================
# WANPIPE1 Configuration File
#================================================
#
# Date: Fri May 27 00:25:04 GMT+7 2005
#
# Note: This file was generated automatically
#       by /usr/sbin/wancfg 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, Comment
[interfaces]
w1g1 = wanpipe1, , TDM_VOICE, Comment
[wanpipe1]
CARD_TYPE  = AFT
S514CPU  = A
CommPort  = PRI
AUTO_PCISLOT  = YES
PCISLOT  = 2
PCIBUS   = 1
FE_MEDIA = E1
FE_LCODE = HDB3
FE_FRAME = CRC4
FE_LINE  = 1
TE_CLOCK  = NORMAL
ACTIVE_CH = ALL
TE_HIGHIMPEDANCE = YES
MTU   = 1500
UDPPORT  = 9000
TTL  = 255
IGNORE_FRONT_END = NO
TDMV_SPAN = 1
TDMV_DCHAN = 0
[w1g1]
ACTIVE_CH = ALL
TDMV_ECHO_OFF = NO 
 
I start wanrouter, the card connected success, monitor on E10 exchange (ACATEL), the status of all channels are LIBR.
 
when i dial to asterisk, error show as belows
*CLI> Warning, flexibel rate not heavily tested!
Rx CAS bits 0x9  [   10000/  0/   0]
Line unblocked
    -- R2 Channel 4 unblocked
Rx CAS bits 0x9  [   10000/  0/   0]
Line unblocked
    -- R2 Channel 2 unblocked
Rx CAS bits 0x9  [   10000/  0/   0]
Line unblocked
    -- R2 Channel 13 unblocked
Rx CAS bits 0x1  [       1/  0/   0]
Tx CAS bits 0xD  [       1/  0/   0]
Rx CAS bits 0x9  [   20000/101/   0]
Tx CAS bits 0xD  [   20000/101/   0]
Schedule
Rx CAS bits 0x9  [   10000/  0/   0]
Line unblocked
    -- R2 Channel 5 unblocked
Rx CAS bits 0x9  [   10000/  0/   0]
Line unblocked
    -- R2 Channel 11 unblocked

Asterisk Ready.
*CLI> Rx CAS bits 0x9  [   10000/  0/   0]
Line unblocked
    -- R2 Channel 10 unblocked
Rx CAS bits 0x9  [   10000/  0/   0]
Line unblocked
    -- R2 Channel 2 unblocked
Rx CAS bits 0x1  [   10000/  0/   0]
Line unblocked and seized
Unschedule 1
Tx CAS bits 0xD  [   10000/  0/   0]
    -- R2 Channel 8 unblocked
Rx CAS bits 0x1  [   10000/  0/   0]
Line unblocked and seized
Unschedule 1
Tx CAS bits 0xD  [   10000/  0/   0]
    -- R2 Channel 9 unblocked
Rx CAS bits 0x1  [   10000/  0/   0]
Line unblocked and seized
Unschedule 1
Tx CAS bits 0xD  [   10000/  0/   0]
    -- R2 Channel 6 unblocked
Rx CAS bits 0x1  [   10000/  0/   0]
Line unblocked and seized
Unschedule 1
Tx CAS bits 0xD  [   10000/  0/   0]
    -- R2 Channel 15 unblocked
Rx CAS bits 0x9  [   20000/101/   0]
Tx CAS bits 0xD  [   20000/101/   0]
Schedule
Rx CAS bits 0x9  [   20000/101/   0]
Tx CAS bits 0xD  [   20000/101/   0]
Schedule
Rx CAS bits 0x9  [   20000/101/   0]
Tx CAS bits 0xD  [   20000/101/   0]
Schedule
Rx CAS bits 0x9  [   20000/101/   0]
Tx CAS bits 0xD  [   20000/101/   0]
Schedule
Rx CAS bits 0x1  [       1/  0/   0]
Tx CAS bits 0xD  [       1/  0/   0]
Rx CAS bits 0x9  [   20000/101/   0]
Tx CAS bits 0xD  [   20000/101/   0]
Schedule 

my zaptel.conf setting as below
# Zaptel Configuration File
span=1,0,0,cas,hdb3,crc4
cas=1-15:1111
cas=17-31:1111
dchan=16
alaw=1-31
loadzone=fr
defaultzone=fr

my zapata.conf
; Zapata telephony interface
; Configuration file
[trunkgroups]
trunkgroup => 1,16
spanmap => 1,1,1
[channels]
language=en
context=from-pstn
switchtype=national
nsf=none
pridialplan=national
prilocaldialplan=national
overlapdial=yes
priindication = outofband
signalling=r2
r2country=kr
rxwink=300  ; Atlas seems to use long (250ms) winks
;usedistinctiveringdetection=yes
usecallerid=yes
cidsignalling=bell
cidstart=ring
hidecallerid=no
callwaiting=yes
;restrictcid=no
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
;mailbox=1234
echocancel=yes
echocancelwhenbridged=yes
;echotraining=yes
;echotraining=800
relaxdtmf=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
immediate=no
;callerid=2564286000
;amaflags=default
;accountcode=lss0101
;adsi=yes
;busydetect=yes
;busycount=4
;hanguponpolarityswitch
;callprogress=yes
;progzone=us
;pulsedial=yes
;faxdetect=both
;faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no
musiconhold=default
;idledial=6999
;idleext=6999 at dialout
;minunused=2
;minidle=1
;jitterbuffers=4
;cadence=125,125,2000,-4000
;cadence=250,250,500,1000,250,250,500,-4000
;cadence=125,125,125,125,125,-4000
;cadence=1000,500,2500,-5000
;crv => 1:16
callerid="channel 1"<811001>
channel => 1
callerid="channel 2"<811002>
channel => 2
callerid="channel 3"<811003>
channel => 3
callerid="channel 4"<811004>
channel => 4
callerid="channel 5"<811005>
channel => 5
callerid="channel 6"<811006>
channel => 6
callerid="channel 7"<811007>
channel => 7
callerid="channel 8"<811008>
channel => 8
callerid="channel 9"<811009>
channel => 9
callerid="channel 10"<811010>
channel => 10
callerid="channel 11"<811011>
channel => 11
callerid="channel 12"<811012>
channel => 12
callerid="channel 13"<811013>
channel => 13
callerid="channel 14"<811014>
channel => 14
callerid="channel 15"<811015>
channel => 15
callerid="channel 17"<811017>
channel => 17
callerid="channel 18"<811018>
channel => 18
callerid="channel 19"<811019>
channel => 19
callerid="channel 20"<811020>
channel => 20
callerid="channel 21"<811021>
channel => 21
callerid="channel 22"<811022>
channel => 22
callerid="channel 23"<811023>
channel => 23
callerid="channel 24"<811024>
channel => 24
callerid="channel 25"<811025>
channel => 25
callerid="channel 26"<811026>
channel => 26
callerid="channel 27"<811027>
channel => 27
callerid="channel 28"<811028>
channel => 28
callerid="channel 29"<811029>
channel => 29
callerid="channel 30"<811030>
channel => 30
callerid="channel 31"<811031>
channel => 31 
please online MSN. please help me.
Thank you



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050527/76d9b3e0/attachment.htm


More information about the asterisk-users mailing list