Hi Send this: STATDIU DISPC7LINK DISPNUC Regards, Gustavo On Jul 6, 2009, at 6:33 AM, chamo wrote: > hi > > i have problems with chan_ss7 to work with EWSD . > i have tried many configuration with and without crc4, with different > clock sources > without success, i always get NOT_ALIGNED message > > i have also tried ss7 dump, but there wasn't any output > > many thanks for any help, and sorry for my english ;) > > ############status > dmesg > > ADDRCONF(NETDEV_CHANGE): w1g1: link becomes ready > wanpipe1: Global TDM Ring Resync > wanpipe1: Card TDM Rsync Rx=0 Tx=2 > wanpipe1: RAI alarm is OFF > wanpipe1: OOF alarm is OFF > mtrr: type mismatch for f9000000,800000 old: write-back new: write- > combining > > > voicegw*CLI> ss7 link status > linkset siuc, link l1, schannel 1, sls 0, NOT_ALIGNED, rx: 0, tx: 4/4, > sentseq/lastack: 127/127, total 4754816, 4754912v > > i am also getting this message > > WARNING[4390]: mtp.c:513 t2_timeout: MTP2 timer T2 timeout (failed to > receive 'O', 'N', or 'E' after sending 'O'), initial alignment > failed on > link 'l1'. > > > > here are my configs > > #dahdi system.conf > #autogenerated by /usr/sbin/wancfg_dahdi do not hand edit > #autogenrated on 2009-06-03 > #Dahdi Channels Configurations > #For detailed Dahdi options, view /etc/dahdi/system.conf.bak > loadzone=us > defaultzone=us > > #Sangoma A108 port 1 [slot:4 bus:3 span:1] <wanpipe1> > span=1,1,0,ccs,hdb3,crc4 > #span=1,0,0,ccs,hdb3 > bchan=1-31 > > 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 = 3 > 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 = 16 > TDMV_HW_DTMF = YES > TDMV_HW_FAX_DETECT = NO > > [w1g1] > ACTIVE_CH = ALL > TDMV_HWEC = YES > > > > ss7.conf > > [linkset-siuc] > > ; The linkset is enabled > enabled => yes > > ; The end-of-pulsing (ST) is not used to determine when incoming > address > is complete > enable_st => no > > ; Reply incoming call with CON rather than ACM and ANM > use_connect => yes > > ; The CIC hunting policy (even_mru, odd_lru, seq_lth, seq_htl) is even > CIC numbers, most recently used > hunting_policy => even_mru > > ; Incoming calls are placed in the ss7 context in the asterisk > dialplan > context => ss7 > > ; The language for this context is da > language => da > > ; The value and action for t35. Value is in msec, action is either > st or > timeout > ; If you use overlapped dialling dial plan, you might choose: t35 => > 4000,st > t35 => 15000,timeout > > ; The subservice field: national (8), international (0), auto or > decimal/hex value > ; The auto means that the subservice is obtained from first received > SLTM > subservice => auto > > ; The host running the mtp3 service > ; mtp3server => localhost > > [link-l1] > > ; This link belongs to linkset siuc > linkset => siuc > > ; The speech/audio circuit channels on this link > channels => 2-31 > > ; The signalling channel > schannel => 1 ;yes i have signalling on channel 1, with libss7 was > working (configs for libss7 are included lower)) > ; To use the remote mtp3 service, use 'schannel => remote,16' > ; The first CIC > firstcic => 1 ;;i have also tried start with firstcic =>2 > > ; The link is enabled > enabled => yes > > ; Echo cancellation > ; echocancel can be one of: no, 31speech (enable only when > transmission > medium is 3.1Khz speech), allways > echocancel => no > ; echocan_train specifies training period, between 10 to 100 msec > echocan_train => 350 > ; echocan_taps specifies number of taps, 32, 64, 128 or 256 > echocan_taps => 128 > > > [host-voicegw] > ; chan_ss7 auto-configures by matching the machines host name with the > host-<name> > ; section in the configuration file, in this case 'gentoo1'. The same > ; configuration file can thus be used on several hosts. > > ; The host is enabled > enabled => yes > > ; The point code for this SS7 signalling point is 0x8e0 > ;opc => 0x8e0 > ; 15389 dec > opc => 0x3c1d > > ; The destination point (peer) code is 0x3fff for linkset siuc > ;dpc => siuc:0x3fff > ; 15880 > dpc => siuc:0x3e08 > > ; Syntax: links => link-name:digium-connector-no > ; The links on the host is 'l1', connected to span/connector #1 > links => l1:1 > > ; The SCCP global title: translation-type, nature-of-address, > numbering-plan, address > globaltitle => 0x00, 0x04, 0x01, 4546931411 > ssn => 7 > > ## > [root at voicegw ~]# uname -a > Linux voicegw 2.6.18-128.el5 #1 SMP Wed Dec 17 11:41:38 EST 2008 > x86_64 > x86_64 x86_64 GNU/Linux > > > ################################### > this is working configuration for linss7, it was good, but there were > some problems with ss7 stack > ##chan_dahdi.conf > > trunkgroup => 1,1 > spanmap => 1,1 > language=en > context=ss7 > switchtype=euroisdn > pridialplan=unknown > prilocaldialplan=national > usecallerid=yes > callwaiting=yes > usecallingpres=yes > callwaitingcallerid=yes > threewaycalling=yes > transfer=yes > canpark=yes > cancallforward=yes > callreturn=yes > echocancel=yes > echocancelwhenbridged=yes > group=1 > callgroup=1 > pickupgroup=1 > ss7_called_nai=dynamic > ss7_calling_nai=dynamic > ss7_internationalprefix = 00 > ss7_nationalprefix = 0 > ss7_subscriberprefix = > ss7_unknownprefix = > networkindicator=national_spare > signalling = ss7 > ss7type = itu > linkset = 1 > pointcode = 15389 > adjpointcode = 15880 > defaultdpc = 15880 > cicbeginswith = 2 > channel=2-31 > sigchan = 1 > > > ##system.conf > > span=1,1,0,ccs,hdb3,crc4 > bchan=2-31 > #echocanceller=mg2,2-31 > mtp2=1 > > > > _______________________________________________ > --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