Yate Community Forum

Yate server => Other Yate server issues => Topic started by: feredi on September 17, 2016, 05:56:56 PM

Title: Yate + wanpipe + SS7
Post by: feredi on September 17, 2016, 05:56:56 PM
Hi,

I am trying to configure yate + SS7 link on a Sangoma E1 card on CentOs 6.6. I have tried latest wanpipe kernel drivers 7.0.20 and older one 7.0.9 that are highest and lowest versions that compile successfully on linux kernel 2.6.32.
I have used sample configs on Yate documentation but yate complains with following errors:

Reinitializing...
Initializing plugin 'sig'
Initializing module Signalling Channel
20160918000330.419129 <MILD> Factory could not create 'SignallingCircuitSpan' named 'isup_Trunk1/L1/Data/wanpipe1'
20160918000330.419205 <sig:NOTE> Trunk('isup_Trunk1'). Create failure: Failed to build voice span 'wanpipe1' [0x7f3a280097e0]
20160918000330.419242 <sig:WARN> Failed to initialize trunk 'isup_Trunk1' of type 'ss7-isup'
20160918000330.419275 <linkset1:ALL> Point code types are 'ITU' [0x7f3a28009b90]
Destinations of 'linkset1': [0x7f3a28009b90]
ITU     0-0-1 > 0-0-2 0 (unknown)
20160918000330.419487 <CiscoSM:CONF> Ambiguous request! Requested to create a layer2 with external config, but no module param is present!
20160918000330.419525 <link1:NOTE> Link inhibition changed 0x01 -> 0x03 [0x7f3a28009ee0]
20160918000330.419538 <linkset1:ALL> Attached link (0x7f3a28009ee0,'link1') with SLS=0 [0x7f3a28009b90]
20160918000330.419549 <link1:ALL> Attached L2 user (0x7f3a28009ce0,'linkset1') [0x7f3a28009ee0]
20160918000330.419568 <MILD> Factory could not create 'SignallingInterface' named 'wanpipe1'
20160918000330.419581 <linkset1:ALL> Detached link (0x7f3a28009ee0,'link1') with SLS=0 [0x7f3a28009b90]
20160918000330.419607 <link1:ALL> Detached L2 user (0x7f3a28009ce0,'linkset1') [0x7f3a28009ee0]
20160918000330.419692 <linkset1:ALL> Attached L3 user (0x262ea20,'ss7router') [0x7f3a28009b90]
20160918000330.419706 <ss7router:ALL> Attached network (0x7f3a28009b90,'linkset1') [0x262ea20]
20160918000330.419723 <sig:WARN> Failed to initialize 'linkset1' of type 'ss7-mtp3'
20160918000330.419738 <ss7router:ALL> Detached network (0x7f3a28009b90,'linkset1') [0x262ea20]
20160918000330.419748 <linkset1:ALL> Detached L3 user (0x262ea20,'ss7router') [0x7f3a28009b90]
No routes in 'ss7router' [0x262ea28]

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    = NO
PCISLOT    = 4
PCIBUS     = 12
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   = 300
LBO       = 120OH
TE_SIG_MODE   = CCS
FE_TXTRISTATE   = NO
MTU       = 1500
UDPPORT    = 9000
TTL      = 255
IGNORE_FRONT_END = NO
TDMV_HW_DTMF   = NO
ACTIVE_CH       = ALL
DATA_MUX_MAP    = 0x01234567

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

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

wpcard.conf:
[general]
;bitswap=enable
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
echocancel=yes
dtmfdetect=yes
bitswap=false

ysigchan.conf

[general]
debuglevel=9,9,9,9,9
debuglevel_engine=9,9,9,9,9
enable=yes
dtmfinband=no

[isup_Trunk1]
enable=yes
type=ss7-isup
pointcodetype=ITU
service=5
pointcode=1
defaultpointcode=1
remotepointcode=2
priority=regular

network=linkset1

lockgroup=no
earlyacm=no
sig=wanpipe1
sls=cic
offset=0
voice=wanpipe1
strategy=random
channelsync=1000
ringback=yes
presentation=allowed
screening=user-provided
format=alaw
print-messages=yes
checklinks=false
checkfails=false

[linkset1]
type=ss7-mtp3
netindicator=national
netind2pctype=ITU
local=ITU,1
adjacent=ITU,2
;route=ITU,1
autostart=yes
link=link1
link1.sig=wanpipe1
router=ss7router

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


[ss7router]
type=ss7-router
transfer=yes
local=ITU,1
autostart=yes
starttime=5000
print-messages=no
extended-debug=no


Does any of above seem problematic to you? Could anyone configure Yate with Sangoma cards recently?

Thanks in advance