[asterisk-ss7] hardhdlc & libss7

Matthew Fredrickson creslin at digium.com
Sat Feb 24 09:21:57 MST 2007


On Feb 23, 2007, at 6:40 PM, Alexandru Pirvulescu wrote:

> Hello,
>
> I've search on the lists and google in general regarding setting up 
> hardhdlc in /etc/zaptel.conf.
> Nobody sais anything about a specific configuration, except replacing 
> "dchan" with "hardhdlc" in /etc/zaptel.conf
>
> Though, the link does not come up and I get tons of errors saying:
>
> [Feb 24 02:38:12] ERROR[14209]: chan_zap.c:8805 zt_ss7_error: [1] 
> Received MSU in invalid state 0
> [Feb 24 02:38:12] ERROR[14209]: chan_zap.c:8805 zt_ss7_error: [1] 
> Received LSSU with length 12 longer than expected
> [Feb 24 02:38:12] ERROR[14209]: chan_zap.c:8805 zt_ss7_error: [1] 
> Received LSSU with length 12 longer than expected
> [Feb 24 02:38:12] ERROR[14209]: chan_zap.c:8805 zt_ss7_error: [1] 
> Received LSSU with length 12 longer than expected
>
> Is there something else that should be done on the code/patch side or 
> on the configuration? The code is up to date with svn.

Ok, I apologize about this (I wrote the hardhdlc code) but the current 
implementation does not perform well enough to service an SS7 link.  I 
noticed similar problems as well when I started working on libss7.  I 
have been doing my development on libss7 with the dchan option instead. 
  I just finished a big performance related rewrite of the wct4xxp 
driver, so maybe after I get that released I can get enough time to 
look at the hardhdlc code and figure out what's going on with it on 
SS7.

Matthew Fredrickson

>
> The card is TE205.
> /etc/zaptel.conf looks like this:
> span = 1,1,0,ccs,hdb3
> bchan=1-15
> #bchan=1-31
> dchan=16
> #hardhdlc=16
> bchan=17-31
>
> /etc/asterisk/zapata.conf looks like this:
> [channels]
> signalling = ss7
> ss7type = itu
>
> linkset = 1
> context = from-dcs
> language = en
> rxgain=0.0
> txgain=0.0
> pointcode = 14381
> adjpointcode = 14369
> defaultdpc = 14369
> switchtype = national

This is a pri only option, by the way. (switchtype) It doesn't have any 
affect on SS7.

> networkindicator = national
> group = 1
> sigchan = 16
> cicbeginswith=1
> channel=>1-15
> cicbeginswith=17
> channel=>17-31
>
>
> Regards,
> Alex
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.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