[asterisk-ss7] Alignment problem with libss7
Victor Neiman
victor at blacksheepdev.co.za
Mon Oct 1 03:56:28 CDT 2012
Hi Torrey,
I've the SGW box configured as normal and the Asterisk box configured as
the master clock source.
SGW 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
> 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 = 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 = YES
> MTU = 8
>
>
Asterisk 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 = 2
> FE_MEDIA = E1
> FE_LCODE = HDB3
> FE_FRAME = CRC4
> FE_LINE = 1
> TE_CLOCK = MASTER
> 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 = 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
>
>
On Mon, Oct 1, 2012 at 10:44 AM, Torrey Searle <tsearle at gmail.com> wrote:
> With wanpipe cards, I believe you need to also configure the timing
> information into the wanpipe config files too.
> (/etc/wanpipe/wanpipe*.conf)
>
> Torrey
>
> On 1 October 2012 09:11, Victor Neiman <victor at blacksheepdev.co.za> wrote:
> > Hi,
> >
> > I'm trying to get SS7 communication between Asterisk 1.8.16.0 which has
> > libss7 installed and the Mobicents Signalling Gateway , using Sangoma
> A101
> > hardware in two boxes. Both boxes are using wanrouter and dahdi. One
> box is
> > running Asterisk, the other Mobicents. I have been corresponding closely
> > with people at Mobicents to get the configuration right for their
> software
> > and am fairly sure it is correct. The problem is that when I start up the
> > Mobicents Signalling Gateway, Asterisk on the other side immediately
> fills
> > up with these errors:
> >
> >> [Oct 1 10:55:46] NOTICE[19825]: chan_dahdi.c:3437
> >> my_handle_link_exception: SS7 got event: HDLC Abort(6) on span 1/0
> >
> >
> >
> > The box that is running the SGW has the following /etc/dahdi/system.conf:
> >
> >> #autogenerated by /usr/sbin/wancfg_dahdi do not hand edit
> >> #autogenrated on 2012-09-28
> >> #Dahdi Channels Configurations
> >> #For detailed Dahdi options, view /etc/dahdi/system.conf.bak
> >> loadzone=us
> >> defaultzone=us
> >>
> >> #Sangoma A101 port 1 [slot:4 bus:5 span:1] <wanpipe1>
> >> span=1,1,0,ccs,hdb3,crc4
> >> bchan=1-31
> >
> >
> > This config comes straight from the guys at Mobicents. All channels are
> > bchan.
> >
> > The Asterisk side looks like this, /etc/dahdi/sysem.conf
> >
> >> #autogenerated by /usr/sbin/wancfg_dahdi do not hand edit
> >> #autogenrated on 2012-09-28
> >> #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,0,0,ccs,hdb3,crc4
> >> bchan=2-31
> >> mtp2=1
> >
> >
> > /etc/asterisk/chan_dahdi,conf looks like this:
> >
> >> ;autogenerated by /usr/sbin/wancfg_dahdi do not hand edit
> >> ;autogenrated on 2012-09-28
> >> ;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=yes
> >> echocancelwhenbridged=yes
> >> relaxdtmf=yes
> >> rxgain=0.0
> >> txgain=0.0
> >> group=1
> >> callgroup=1
> >> pickupgroup=1
> >> immediate=no
> >>
> >> ;Sangoma A102 port 1 [slot:2 bus:6 span:1] <wanpipe1>
> >> context=from-pstn
> >> group=0
> >> echocancel=no
> >> signaling=ss7 ;this is ss7 signaling
> >> 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=1 ;the point code for this system...aka SPC
> >> adjpointcode=2 ;the point code for the system that we are signaling
> to...
> >> aka APC
> >> defaultdpc=2 ;the point code for the system that the CICs will be
> >> negotiated with...aka DPC
> >> networkindicator=international ;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
> >
> >
> > Any help would be appreciated. Feels like I'm missing something in the
> > configs but I just can't seem to pin it down.
> >
> > Regards
> > Victor
> >
> >
> >
> > --
> > _____________________________________________________________________
> > -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> >
> > asterisk-ss7 mailing list
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-ss7
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-ss7 mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-ss7
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-ss7/attachments/20121001/87297ba6/attachment-0001.htm>
More information about the asterisk-ss7
mailing list