Asterisk + chan_ss7 issue

Hi,
I am trying to setup chan_ss7 with asterisk. I have installed asterisk-1.4.18, zaptel-1.4.8, chan_ss7-1.1 and wanpipe-3.2.3 .
I connected E1 with Sangoma A101 and "wanrouter status " is showing status as connected. When I load chan_ss7.so module, it is gives the following log:-


ivrsvr*CLI> module load chan_ss7.so
== Parsing ‘/etc/asterisk/ss7.conf’: Found
[May 9 15:09:35] NOTICE[11958]: config.c:625 load_config_link: Configured link ‘l1’ on linkset ‘siuc’, firstcic=1
[May 9 15:09:35] WARNING[11958]: config.c:877 load_config_host: Missing interface entries for host ‘ivrsvr’.
[May 9 15:09:35] NOTICE[11958]: config.c:1045 load_config: Configuring DPC 6529 for linkset ‘siuc’.
– Starting cluster thread, pid=11919.
– Starting continuity check thread, pid=11919.
== Registered channel type ‘SS7’ (SS7 Protocol Driver)
[May 9 15:09:35] NOTICE[11958]: mtp.c:2281 mtp_init: Initialising 1 signalling links
– Starting MTP thread, pid=11919.
– SS7 channel loaded successfully.
Loaded chan_ss7.so => (SS7 Protocol Support)
– Starting monitor thread, pid=11919.
[May 9 15:09:35] NOTICE[12053]: mtp.c:1877 mtp_thread_main: Empty Zaptel output buffer detected, outgoing packets may have been lost on link ‘l1’.

The Cli show following message from time to time:-

[May 9 15:10:50] WARNING[12053]: mtp.c:483 t2_timeout: MTP2 timer T2 timeout (failed to receive ‘O’, ‘N’, or ‘E’ after sending ‘O’), initial alignment failed on link ‘l1’.

The “ss7 link status” command show following output:-

ivrsvr*CLI> ss7 link status
linkset siuc, link l1, schannel 16, sls 0, NOT_ALIGNED, rx: 0, tx: 2/4, sentseq/lastack: 127/127, total 108432, 108528


can any body tell me what is the issue? am I missing any configuration option. i have set OPC and DPC value. Will I have to set slc value. I fyes then in which file will I have to set slc value?

My configuration files are as follows:-

ss7.conf

[linkset-siuc]
enabled => yes
enable_st => yes
use_connect => yes
hunting_policy => even_mru
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-ivrsvr]
enabled => yes
opc => 0x19DF
dpc => siuc:0x1981
links => l1:1

zaptel.conf

loadzone=us
defaultzone=us
#Sangoma A101 port 1 [slot:2 bus:6 span: 1]
span=1,1,0,ccs,hdb3,crc4

zapata.conf

[trunkgroups]

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

If any one can help me. I will be greateful.

Regards
Adnan