[asterisk-ss7] Sangoma A108 and libss7/chan_ss7 issues

Anton anton.vazir at gmail.com
Thu Apr 24 03:58:02 CDT 2008


I do use sangoma A108 card with chan_ss7 - if you have HW 
echocancellers on board - they does bother. Trying 
cancelling an echo on sigchannel. dig mailing list for 
sangoma settings to deal with this.

On Thursday 24 April 2008 00:36, Barry O'Donovan wrote:
> Hi folks,
>
> I'm trying to use either libss7 (preferably) or chan_ss7
> with a Sangoma A108 card but I have issues with both. To
> summarise, the issue appears to be that the port will not
> enter a "CONNECTED" state but rather stays in a
> "Connecting" state and so I cannot pass frames on it. At
> least this is what I believe the issue is.
>
> For libss7, I used current (today's) Asterisk trunk,
> libpri trunk, Zaptel 1.4, libss7 trunk and wanpipe-3.2.5.
>
> For chan_ss7, I used current Asterisk 1.4 from SVN,
> libpri-1.4, Zaptel 1.4 and wanpipe-3.2.5 again.
>
> In both cases, the SS7 link was in NOT_ALIGNED and I
> could not progress it any further. I tried all manner of
> combinations of CIC numbering, etc from the expected to
> the crazy.
>
> The other end of the SS7 is a Nortel DMS100.
>
> I'm posting relevent command outputs and configs below
> for the chan_ss7 set-up (I'd need to reinstall trunk for
> libss7).
>
> Any pointers would be greatly appreciated.
>
> Thanks,
> Barry
>
> #########################################################
>#################
> #########################################################
>#################
>
> # wanpipemon -i w1g1 -c Ta
>
> ***** w1g1: E1 Alarms (Framer) *****
>
> ALOS:   OFF     | LOS:  OFF
> RED:    ON      | AIS:  OFF
> OOF:    ON      | RAI:  OFF
>
>
> ***** w1g1: E1 Performance Monitoring Counters *****
>
> Line Code Violation     : 745
> Far End Block Errors    : 0
> CRC4 Errors             : 0
> FAS Errors              : 0
>
>
> Rx Level        : > -2.5db
>
>
> #########################################################
>#################
> #########################################################
>#################
>
> # wanrouter status
>
> Devices currently active:
>         wanpipe1
>
>
> Wanpipe Config:
>
> Device name | Protocol Map | Adapter  | IRQ | Slot/IO |
> If's | CLK | Baud rate |
> wanpipe1    | N/A          | A101/1D/A102/2D/4/4D/8| 16 
> | 4       | 1    | EXT | 0         |
>
> Wanrouter Status:
>
> Device name | Protocol | Station | Status        |
> wanpipe1    | AFT HDLC | N/A     | Connecting    |
>
>
> #########################################################
>#################
> #########################################################
>#################
>
> # ifconfig
>
> w1g1      Link encap:Point-to-Point Protocol
>           UP POINTOPOINT NOARP  MTU:8  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0
> frame:0 TX packets:0 errors:0 dropped:0 overruns:0
> carrier:0 collisions:0 txqueuelen:100
>           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
>           Interrupt:16 Memory:ffffc20000d00000-d01fff
>
>
> #########################################################
>#################
> #########################################################
>#################
>
> # 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          = 13
> 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
> LBO             = 120OH
> FE_TXTRISTATE   = NO
> MTU             = 1500
> UDPPORT         = 9000
> TTL             = 255
> IGNORE_FRONT_END = NO
> TDMV_SPAN       = 1
> TDMV_DCHAN      = 0
> TDMV_HW_DTMF    = NO
>
> [w1g1]
> ACTIVE_CH       = ALL
> TDMV_ECHO_OFF   = NO
> TDMV_HWEC       = YES
>
>
> #########################################################
>#################
> #########################################################
>#################
>
>
> # cat /etc/zaptel.conf
>
>
> #Sangoma A108 port 1 [slot:4 bus:13 span:1] <wanpipe1>
> span=1,0,0,ccs,hdb3,crc4
> bchan=1-31
>
>
> #########################################################
>#################
> #########################################################
>#################
>
> # cat /etc/asterisk/ss7.conf
>
> [linkset-siuc]
>
> enabled => yes
> enable_st => no
> use_connect => no
> hunting_policy => seq_lth
> context => ss7
> language => en
> t35 => 15000,timeout
> subservice => auto
>
> [link-l1]
>
> linkset => siuc
> channels => 1-15,17-31
> schannel => 16
> firstcic => 1
> enabled => yes
>
> echocancel => no
> echocan_train => 350
> echocan_taps => 128
>
>
> [host-A-Host]
>
> enabled => yes
> opc => 0x1
> dpc => siuc:0x39B0
> links => l1:1
>
> ; The SCCP global title: translation-type,
> nature-of-address, numbering-plan, address
> globaltitle => 0x00, 0x04, 0x01, 4546931411
> ssn => 7
>
> #########################################################
>#################
> #########################################################
>#################
>
> *CLI> unload chan_ss7.so
>
> The 'unload' command is deprecated and will be removed in
> a future release. Please use 'module unload' instead.
>   == Unregistered channel type 'SS7'
>     -- SS7 channel unloaded.
>
> *CLI> load chan_ss7.so
>
> The 'load' command is deprecated and will be removed in a
> future release. Please use 'module load' instead.
>   == Parsing '/etc/asterisk/ss7.conf': Found
> [Apr 23 20:35:30] NOTICE[21479]: config.c:549
> load_config_link: Configured link 'l1' on linkset 'siuc',
> firstcic=1
> [Apr 23 20:35:30] WARNING[21479]: config.c:795
> load_config_host: Missing interface entries for host
> 'A-Host'.
> [Apr 23 20:35:30] NOTICE[21479]: config.c:959
> load_config: Configuring DPC 14768 for linkset 'siuc'.
>     -- Starting cluster thread, pid=21438.
>     -- Starting continuity check thread, pid=21438.
>   == Registered channel type 'SS7' (SS7 Protocol Driver)
> [Apr 23 20:35:30] NOTICE[21479]: mtp.c:2190 mtp_init:
> Initialising 1 signalling links
>     -- Starting MTP thread, pid=21438.
>     -- SS7 channel loaded successfully.
>  Loaded chan_ss7.so => (SS7 Protocol Support)
>     -- Starting monitor thread, pid=21438.
> [Apr 23 20:35:30] NOTICE[21487]: mtp.c:1792
> mtp_thread_main: Empty Zaptel output buffer detected,
> outgoing packets may have been lost on link 'l1'.
>
> (and after some time:)
>
> [Apr 23 20:36:45] WARNING[21487]: mtp.c:457 t2_timeout:
> MTP2 timer T2 timeout (failed to receive 'O', 'N', or 'E'
> after sending 'O'), initial alignment failed on link
> 'l1'.
>
>
>
> *CLI> ss7 linestat
> Linkset: siuc>
> CIC   1 Idle Reset pending
> CIC   2 Idle Reset pending
> CIC   3 Idle Reset pending
> CIC   4 Idle Reset pending
> CIC   5 Idle Reset pending
> CIC   6 Idle Reset pending
> CIC   7 Idle Reset pending
> CIC   8 Idle Reset pending
> CIC   9 Idle Reset pending
> CIC  10 Idle Reset pending
> CIC  11 Idle Reset pending
> CIC  12 Idle Reset pending
> CIC  13 Idle Reset pending
> CIC  14 Idle Reset pending
> CIC  15 Idle Reset pending
> CIC  17 Idle Reset pending
> CIC  18 Idle Reset pending
> CIC  19 Idle Reset pending
> CIC  20 Idle Reset pending
> CIC  21 Idle Reset pending
> CIC  22 Idle Reset pending
> CIC  23 Idle Reset pending
> CIC  24 Idle Reset pending
> CIC  25 Idle Reset pending
> CIC  26 Idle Reset pending
> CIC  27 Idle Reset pending
> CIC  28 Idle Reset pending
> CIC  29 Idle Reset pending
> CIC  30 Idle Reset pending
> CIC  31 Idle Reset pending
>
>
> *CLI> ss7 link status
> linkset siuc, link l1, schannel 16, sls 0, NOT_ALIGNED,
> rx: 0, tx: 4/4, sentseq/lastack: 127/127, total   
> 933920,    934016
>
>
> *CLI> ss7 show channels
> Linkset: siuc>
> CIC   1 Idle Reset pending
> CIC   2 Idle Reset pending
> CIC   3 Idle Reset pending
> CIC   4 Idle Reset pending
> CIC   5 Idle Reset pending
> CIC   6 Idle Reset pending
> CIC   7 Idle Reset pending
> CIC   8 Idle Reset pending
> CIC   9 Idle Reset pending
> CIC  10 Idle Reset pending
> CIC  11 Idle Reset pending
> CIC  12 Idle Reset pending
> CIC  13 Idle Reset pending
> CIC  14 Idle Reset pending
> CIC  15 Idle Reset pending
> CIC  17 Idle Reset pending
> CIC  18 Idle Reset pending
> CIC  19 Idle Reset pending
> CIC  20 Idle Reset pending
> CIC  21 Idle Reset pending
> CIC  22 Idle Reset pending
> CIC  23 Idle Reset pending
> CIC  24 Idle Reset pending
> CIC  25 Idle Reset pending
> CIC  26 Idle Reset pending
> CIC  27 Idle Reset pending
> CIC  28 Idle Reset pending
> CIC  29 Idle Reset pending
> CIC  30 Idle Reset pending
> CIC  31 Idle Reset pending
>
>
> *CLI> ss7 status
> linkset        idle busy initiating resetting total
> incoming total outgoing siuc              0    0         
> 0        30              0              0 *** Idle list
> lenth is: 30
>
>
>
> *CLI> ss7 version
> chan_ss7 version 1.0.0
>
>
>
> _______________________________________________
> --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



More information about the asterisk-ss7 mailing list