All pastes #1971963 Raw Edit

ss7_sangomaA101d_yate_axe10

public text v1 · immutable
#1971963 ·published 2010-10-24 16:12 UTC
rendered paste body
SS7 setup: Sangoma A101D + Yate3 alpha3 + Ericsson AXE10 switch
100% working right now, sound quality is great!

######################### /etc/wanpipe/wanpipe1.conf #####################

[devices]
wanpipe1 = WAN_AFT_TE1, Comment

[interfaces]
w1g1 = wanpipe1, , API, Comment
w1g2 = wanpipe1, , API, Comment

[wanpipe1]
CARD_TYPE       = AFT
S514CPU         = A
CommPort        = PRI
AUTO_PCISLOT    = YES
PCISLOT         = 1
PCIBUS          = 1
FE_MEDIA        = E1
FE_LCODE        = HDB3
FE_FRAME        = NCRC4
FE_LINE         = 1
TE_CLOCK        = NORMAL
TE_REF_CLOCK    = 0
TE_HIGHIMPEDANCE        = NO
TE_RX_SLEVEL    = 120
LBO             = 120OH
TE_SIG_MODE     = CCS
FE_TXTRISTATE   = NO
MTU             = 1500
UDPPORT         = 9000
TTL             = 255
IGNORE_FRONT_END = NO
TDMV_HW_DTMF    = NO

[w1g1]
HDLC_STREAMING  = YES
ACTIVE_CH       = 1
DATA_MUX        = NO
TDMV_HWEC       = NO

[w1g2]
HDLC_STREAMING  = NO
ACTIVE_CH       = 2-31
IDLE_FLAG       = 0x7E
MTU             = 1200
MRU             = 1200
DATA_MUX        = YES
TDMV_HWEC       = YES

######################### /usr/src/yate/conf.d/wpcard.conf #####################

[general]
bitswap=disable
idlevalue=255
buflen=160
hwrepeatcapable=true
dumpevents=yes

[wanpipe1]
type=E1
readonly=no
siggroup=w1g1
voicegroup=w1g2
voicechans=2-31
offset=0
increment=32
samples=40
errormask=255


######################### /usr/src/yate/conf.d/ysigchan.conf #####################

[link1]
enable=yes
type=ss7-isup
pointcodetype=ITU
pointcode=100
defaultpointcode=100
remotepointcode=101
lockgroup=yes
userparttest=0
earlyacm=yes
sig=wanpipe1
voice=wanpipe1
strategy=increment
strategy-restrict=even
channelsync=1000
numplan=isdn
numtype=national
presentation=allowed
screening=user-provided
format=alaw
print-messages=yes
extended-debug=no
; International = 0x00, SpareInternational = 0x40, National = 0x80, ReservedNational = 0xc0
netindicator=0x80

[linkset3]
type=ss7-mtp3
netind2pctype=ITU
route=ITU,101,0
autostart=yes
link=link1
link1.sig=wanpipe1

[link1]
type=ss7-mtp2
autostart=yes
emergency=no
filllink=yes
rxunderrun=0


######################### /usr/src/yate/conf.d/regexroute.conf #####################

;123.123.123.123 is IP address of your SIP server which sends/receives calls to/from Yate

[default]
${address}^123\.123\.123\.123\:=goto authorized

${module}^sig$=;message-oprefix=osig.
${module}^sig$=;osig.BackwardCallIndicators=charge,called-free,called-ordinary,isup-path,isdn-end,echodev

;my sip server listens to port 5080.
${module}^sig$=sip/sip:${called}@123.123.123.123:5080

.*=-;error=forbidden;reason=Protocol not allowed

[authorized]
^[1-9]=; sig.ForwardCallIndicators = national,isdn-orig,isup-path;
^[1-9]=; sig.callerscreening = user-provided-passed;
^[1-9]=; sig.inn = 0; caller = ${caller}
^[1-9]= sig/${called}.; link = link1;

.*=return