libss7 woes!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

I am using Sangoma cards :(
I know I should have used Digium but now the custom has these cards and I
have to make them work with SS7 :(

Unable to receive incoming calls on chan_ss7, I have decided to give another
shot to libss7

Could someone please share their configuration of dahdi/system.conf,
chan_dahdi.conf, wanpipeX.conf with me for multiple signalling links ?

I am especially confusing with the numbering schemes of CICs and signalling
channels. I have signalling links on the first 2 spans, on 16th channel
each.

So , how do I number after the 2nd channel onwards.
Is it 32-64
or 31-63
or what ?
:)

My current config is

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

#Sangoma A108 port 1 [slot:4 bus:5 span:1] <wanpipe1>
span=1,1,0,ccs,hdb3,crc4
bchan=1-15,17-31
mtp2=16

#Sangoma A108 port 2 [slot:4 bus:5 span:2] <wanpipe2>
span=2,2,0,ccs,hdb3,crc4
bchan=33-46,48-62
mtp2=47

#Sangoma A108 port 3 [slot:4 bus:5 span:3] <wanpipe3>
span=3,0,0,ccs,hdb3,crc4
bchan=63-93

#Sangoma A108 port 4 [slot:4 bus:5 span:4] <wanpipe4>
span=4,0,0,ccs,hdb3,crc4
bchan=94-124

#Sangoma A108 port 5 [slot:4 bus:5 span:5] <wanpipe5>
span=5,0,0,ccs,hdb3,crc4
bchan=125-155

#Sangoma A108 port 6 [slot:4 bus:5 span:6] <wanpipe6>
span=6,0,0,ccs,hdb3,crc4
bchan=156-186

#Sangoma A108 port 7 [slot:4 bus:5 span:7] <wanpipe7>
span=7,0,0,ccs,hdb3,crc4
bchan=187-217

#Sangoma A108 port 8 [slot:4 bus:5 span:8] <wanpipe8>
span=8,0,0,ccs,hdb3,crc4
bchan=218-248

#Sangoma A108 port 1 [slot:4 bus:7 span:9] <wanpipe9>
span=9,0,0,ccs,hdb3,crc4
bchan=249-279

#Sangoma A108 port 2 [slot:4 bus:7 span:10] <wanpipe10>
span=10,0,0,ccs,hdb3,crc4
bchan=280-310

#Sangoma A108 port 3 [slot:4 bus:7 span:11] <wanpipe11>
span=11,0,0,ccs,hdb3,crc4
bchan=311-341

#Sangoma A108 port 4 [slot:4 bus:7 span:12] <wanpipe12>
span=12,0,0,ccs,hdb3,crc4
bchan=342-372

#Sangoma A108 port 5 [slot:4 bus:7 span:13] <wanpipe13>
span=13,0,0,ccs,hdb3,crc4
bchan=373-403

#Sangoma A108 port 6 [slot:4 bus:7 span:14] <wanpipe14>
span=14,0,0,ccs,hdb3,crc4
bchan=404-434

#Sangoma A108 port 7 [slot:4 bus:7 span:15] <wanpipe15>
span=15,0,0,ccs,hdb3,crc4
bchan=435-465

#Sangoma A108 port 8 [slot:4 bus:7 span:16] <wanpipe16>
span=16,0,0,ccs,hdb3,crc4
bchan=466-496

debian:/usr/src# cat /etc/asterisk/chan_dahdi.conf
;autogenerated by /usr/sbin/wancfg_dahdi do not hand edit
;autogenrated on 2011-03-13
;Dahdi Channels Configurations
;For detailed Dahdi options, view /etc/asterisk/chan_dahdi.conf.bak

[trunkgroups]

[channels]
context=default
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=no
echocancelwhenbridged=no
relaxdtmf=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
immediate=no

;Sangoma A108 port 1 [slot:4 bus:5 span:1] <wanpipe1>
switchtype=national
context=from-pstn
group=0
echocancel=no
signalling=ss7
ss7type=itu                       ;using the ITU variant
ss7_called_nai=dynamic           ;NAI for outgoing calls
ss7_calling_nai=dynamic          ;NAI for incoming calls
ss7_internationalprefix=00 ;international prefix value for incoming calls
ss7_nationalprefix=0            ;national prefix value for incoming calls
ss7_subscriberprefix=            ;subscriber prefix value for incoming
calls
ss7_unknownprefix=              ;unknown prefix value for incoming calls
ss7_explictacm=yes               ;ACM is send as soon as call enters the
dial plan...may not accepted yet though
linkset=1                         ;arbitrary name for this set of channels
pointcode=13323                      ;the point code for this system...aka
SPC
adjpointcode=12650                  ;the point code for the system that we
are signaling to... aka APC
defaultdpc=12650                     ;the point code for the system that the
CICs will be negotiated with...aka DPC
networkindicator=national_spare  ;NI value for MTP3
cicbeginswith=1                  ;the starting value of the CICs
channel=2-31                     ;the channels that are CICs
sigchan=1                         ;the signaling channel

;Sangoma A108 port 2 [slot:4 bus:5 span:2] <wanpipe2>
switchtype=national
context=from-pstn
group=0
echocancel=no
signalling=ss7
ss7type=itu                       ;using the ITU variant
ss7_called_nai=dynamic           ;NAI for outgoing calls
ss7_calling_nai=dynamic          ;NAI for incoming calls
ss7_internationalprefix=00 ;international prefix value for incoming calls
ss7_nationalprefix=0            ;national prefix value for incoming calls
ss7_subscriberprefix=            ;subscriber prefix value for incoming
calls
ss7_unknownprefix=              ;unknown prefix value for incoming calls
ss7_explictacm=yes               ;ACM is send as soon as call enters the
dial plan...may not accepted yet though
linkset=1                         ;arbitrary name for this set of channels
pointcode=13323                      ;the point code for this system...aka
SPC
adjpointcode=12650                  ;the point code for the system that we
are signaling to... aka APC
defaultdpc=12650                     ;the point code for the system that the
CICs will be negotiated with...aka DPC
networkindicator=national_spare  ;NI value for MTP3
cicbeginswith=1                  ;the starting value of the CICs
channel=2-31                     ;the channels that are CICs
sigchan=1                         ;the signaling channel

;Sangoma A108 port 3 [slot:4 bus:5 span:3] <wanpipe3>
switchtype=national
context=from-pstn
group=0
echocancel=no
signalling=ss7
channel =>63-77,79-93

;Sangoma A108 port 4 [slot:4 bus:5 span:4] <wanpipe4>
switchtype=national
context=from-pstn
group=0
echocancel=no
signalling=ss7
channel =>94-108,110-124

;Sangoma A108 port 5 [slot:4 bus:5 span:5] <wanpipe5>
switchtype=national
context=from-pstn
group=0
echocancel=no
signalling=ss7
channel =>125-139,141-155

;Sangoma A108 port 6 [slot:4 bus:5 span:6] <wanpipe6>
switchtype=national
context=from-pstn
group=0
echocancel=no
signalling=ss7
channel =>156-170,172-186

;Sangoma A108 port 7 [slot:4 bus:5 span:7] <wanpipe7>
switchtype=national
context=from-pstn
group=0
echocancel=no
signalling=ss7
channel =>187-201,203-217

;Sangoma A108 port 8 [slot:4 bus:5 span:8] <wanpipe8>
switchtype=national
context=from-pstn
group=0
echocancel=no
signalling=ss7
channel =>218-232,234-248

;Sangoma A108 port 1 [slot:4 bus:7 span:9] <wanpipe9>
switchtype=national
context=from-pstn
group=0
echocancel=no
signalling=ss7
channel =>249-263,265-279

;Sangoma A108 port 2 [slot:4 bus:7 span:10] <wanpipe10>
switchtype=national
context=from-pstn
group=0
echocancel=no
signalling=ss7
channel =>280-294,296-310

;Sangoma A108 port 3 [slot:4 bus:7 span:11] <wanpipe11>
switchtype=national
context=from-pstn
group=0
echocancel=no
signalling=ss7
channel =>311-325,327-341

;Sangoma A108 port 4 [slot:4 bus:7 span:12] <wanpipe12>
switchtype=national
context=from-pstn
group=0
echocancel=no
signalling=ss7
channel =>342-356,358-372

;Sangoma A108 port 5 [slot:4 bus:7 span:13] <wanpipe13>
switchtype=national
context=from-pstn
group=0
echocancel=no
signalling=ss7
channel =>373-387,389-403

;Sangoma A108 port 6 [slot:4 bus:7 span:14] <wanpipe14>
switchtype=national
context=from-pstn
group=0
echocancel=no
signalling=ss7
channel =>404-418,420-434

;Sangoma A108 port 7 [slot:4 bus:7 span:15] <wanpipe15>
switchtype=national
context=from-pstn
group=0
echocancel=no
signalling=ss7
channel =>435-449,451-465

;Sangoma A108 port 8 [slot:4 bus:7 span:16] <wanpipe16>
switchtype=national
context=from-pstn
group=0
echocancel=no
signalling=ss7
channel =>466-480,482-496


debian:/usr/src# cat /etc/wanpipe/wanpipe1.conf
#================================================
# 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   = 5
FE_MEDIA = E1
FE_LCODE = HDB3
FE_FRAME = CRC4
FE_LINE = 1
TE_CLOCK = NORMAL
TE_REF_CLOCK    = 0
TE_SIG_MODE     = CCS
TE_HIGHIMPEDANCE = NO
TE_RX_SLEVEL    = 430
LBO = 120OH
FE_TXTRISTATE = NO
MTU = 1500
UDPPORT = 9000
TTL = 255
IGNORE_FRONT_END = NO
TDMV_SPAN = 1
TDMV_DCHAN = 0
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 = NO
MTU = 8
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-ss7/attachments/20110313/b8ec4866/attachment-0001.htm>


[Index of Archives]     [Asterisk App Development]     [PJ SIP]     [Gnu Gatekeeper]     [IETF Sipping]     [Info Cyrus]     [ALSA User]     [Fedora Linux Users]     [Linux SCTP]     [DCCP]     [Gimp]     [Yosemite Backpacking]     [Deep Creek Hot Springs]     [Yosemite Campsites]     [ISDN Cause Codes]     [Asterisk Books]

  Powered by Linux