<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.14.1">
</HEAD>
<BODY>
Dear All,<BR>
<BR>
I am testing one of your E1 cards "D110P" with chan_ss7. When I connected 2 cards back to back they worked perfectly and I forwarded some calls from one asterisk box to the other.<BR>
<BR>
When I connected them to our ss7 provider. I get some errors in asterisk logs.<BR>
<BR>
Here is sample of these errors:<BR>
<BR>
<I><FONT COLOR="#993300">Jul 19 13:04:13 NOTICE[3267] mtp.c: MTP changeover last_ack=4, last_sent=4, from schannel 1, no INSERVICE schannel found</FONT></I><BR>
<I><FONT COLOR="#993300">Jul 19 13:04:13 NOTICE[3267] mtp.c: Failover not possible, no other signalling link and no other host available.</FONT></I><BR>
<I><FONT COLOR="#993300">Jul 19 13:04:13 NOTICE[3267] mtp.c: Excessive poll delay 4943!</FONT></I><BR>
<I><FONT COLOR="#993300">Jul 19 13:04:13 NOTICE[3267] mtp.c: Full Zaptel input buffer detected, incoming packets may have been lost on link '|1'.</FONT></I><BR>
<I><FONT COLOR="#993300">Jul 19 13:04:13 NOTICE[3267] mtp.c: Empty Zaptel output buffer detected, outgoing packets may have been lost on link '|1'.</FONT></I><BR>
<I><FONT COLOR="#993300">Jul 19 13:04:13 NOTICE[3267] mtp.c: MTP2 CRC error (CRC=0xf863 != 0xf0b8) on link '|1'.</FONT></I><BR>
<I><FONT COLOR="#993300">Jul 19 13:04:13 DEBUG[3267] mtp.c: Last raw bits on link '|1': 1c 18 0c 0e 9d 67 e2 1c 18 0c 0e 9d 67 e2 1c 18 0c 0e 9d 67 e2 1c 18 0c 0e 9d 67 e2 1c 18 0c 0e 67 e2 1c 18</FONT></I><BR>
<I><FONT COLOR="#993300">Jul 19 13:04:13 NOTICE[3267] mtp.c: Got event on link '|1': 5 (0/11).</FONT></I><BR>
<I><FONT COLOR="#993300">Jul 19 13:04:13 NOTICE[3267] mtp.c: Got event on link '|1': 4 (0/11).</FONT></I><BR>
<I><FONT COLOR="#993300">Jul 19 13:04:13 NOTICE[3267] mtp.c: Got event on link '|1': 5 (0/11).</FONT></I><BR>
<I><FONT COLOR="#993300">Jul 19 13:04:14 NOTICE[3267] mtp.c: Got event on link '|1': 4 (0/11).</FONT></I><BR>
<I><FONT COLOR="#993300">Jul 19 13:04:14 NOTICE[3267] mtp.c: Got event on link '|1': 5 (0/11).</FONT></I><BR>
<I><FONT COLOR="#993300">Jul 19 13:04:14 NOTICE[3267] mtp.c: Got event on link '|1': 4 (0/11).</FONT></I><BR>
<I><FONT COLOR="#993300">Jul 19 13:04:14 NOTICE[3267] mtp.c: Got event on link '|1': 5 (0/11).</FONT></I><BR>
<I><FONT COLOR="#993300">Jul 19 13:04:14 NOTICE[3267] mtp.c: Got event on link '|1': 4 (0/11).</FONT></I><BR>
<I><FONT COLOR="#993300">Jul 19 13:04:14 NOTICE[3267] mtp.c: Got event on link '|1': 5 (0/11).</FONT></I><BR>
<I><FONT COLOR="#993300">Jul 19 13:04:14 DEBUG[3267] mtp.c: Restarting initial alignment on link '|1'.</FONT></I><BR>
<I><FONT COLOR="#993300">Jul 19 13:04:14 NOTICE[3267] mtp.c: Got event on link '|1': 4 (0/11).</FONT></I><BR>
<I><FONT COLOR="#993300">Jul 19 13:04:15 DEBUG[3267] mtp.c: MTP2 bitstream frame format error, entering octet counting mode on link '|1'.</FONT></I><BR>
<I><FONT COLOR="#993300">Jul 19 13:04:15 DEBUG[3267] mtp.c: Last raw bits on link '|1': d8 0c 03 d2 b7 ef be fb 01 80 7a 56 fd f7 df 60 30 0f 4a df be fb ec 06 01 e9 5b f7 df 7d 80 c0 ff ff ff ff</FONT></I><BR>
<I><FONT COLOR="#993300">Jul 19 13:04:16 DEBUG[3267] mtp.c: Restarting initial alignment on link '|1'.</FONT></I><BR>
<BR>
<BR>
When I added crc4 to the zaptel configuration the ISUP and MTP messages stopped on the link and no log entries<BR>
<BR>
I am not sure about the E1 / T1 Jumper. I do not have easy physical access to the server so I used the following command to override the jumper settings<BR>
<BR>
<I><FONT COLOR="#800000">insmod /lib/modules/2.6.9-34.0.2.EL/extra/wcte11xp.ko t1e1override=15</FONT></I><BR>
<BR>
Do I have to change it physically to avoid any confusion ?<BR>
<BR>
I have attached a pcap capture of the traffic on the wire.<BR>
<BR>
I am currently using chan_ss7. Should I test with libss7 the native ss7 implementation ? <BR>
<BR>
Here is my zaptel config:<BR>
<BR>
<FONT COLOR="#800000">span=1,1,0,ccs,hdb3</FONT><BR>
<FONT COLOR="#800000">bchan=1-31 </FONT><BR>
<BR>
<FONT COLOR="#800000"># Span 1: WCT1/0 "Digium Wildcard TE110P T1/E1 Card 0" </FONT><BR>
<FONT COLOR="#800000"># channel 1, WCT1, unhandled for now</FONT><BR>
<FONT COLOR="#800000"># channel 2, WCT1, unhandled for now</FONT><BR>
<FONT COLOR="#800000"># channel 3, WCT1, unhandled for now</FONT><BR>
<FONT COLOR="#800000"># channel 4, WCT1, unhandled for now</FONT><BR>
<FONT COLOR="#800000"># channel 5, WCT1, unhandled for now</FONT><BR>
<FONT COLOR="#800000"># channel 6, WCT1, unhandled for now</FONT><BR>
<FONT COLOR="#800000"># channel 7, WCT1, unhandled for now</FONT><BR>
<FONT COLOR="#800000"># channel 8, WCT1, unhandled for now</FONT><BR>
<FONT COLOR="#800000"># channel 9, WCT1, unhandled for now</FONT><BR>
<FONT COLOR="#800000"># channel 10, WCT1, unhandled for now</FONT><BR>
<FONT COLOR="#800000"># channel 11, WCT1, unhandled for now</FONT><BR>
<FONT COLOR="#800000"># channel 12, WCT1, unhandled for now</FONT><BR>
<FONT COLOR="#800000"># channel 13, WCT1, unhandled for now</FONT><BR>
<FONT COLOR="#800000"># channel 14, WCT1, unhandled for now</FONT><BR>
<FONT COLOR="#800000"># channel 15, WCT1, unhandled for now</FONT><BR>
<FONT COLOR="#800000"># channel 16, WCT1, unhandled for now</FONT><BR>
<FONT COLOR="#800000"># channel 17, WCT1, unhandled for now</FONT><BR>
<FONT COLOR="#800000"># channel 18, WCT1, unhandled for now</FONT><BR>
<FONT COLOR="#800000"># channel 19, WCT1, unhandled for now</FONT><BR>
<FONT COLOR="#800000"># channel 20, WCT1, unhandled for now</FONT><BR>
<FONT COLOR="#800000"># channel 21, WCT1, unhandled for now</FONT><BR>
<FONT COLOR="#800000"># channel 22, WCT1, unhandled for now</FONT><BR>
<FONT COLOR="#800000"># channel 23, WCT1, unhandled for now</FONT><BR>
<FONT COLOR="#800000"># channel 24, WCT1, unhandled for now</FONT><BR>
<FONT COLOR="#800000"># channel 25, WCT1, unhandled for now</FONT><BR>
<FONT COLOR="#800000"># channel 26, WCT1, unhandled for now</FONT><BR>
<FONT COLOR="#800000"># channel 27, WCT1, unhandled for now</FONT><BR>
<FONT COLOR="#800000"># channel 28, WCT1, unhandled for now</FONT><BR>
<FONT COLOR="#800000"># channel 29, WCT1, unhandled for now</FONT><BR>
<FONT COLOR="#800000"># channel 30, WCT1, unhandled for now</FONT><BR>
<FONT COLOR="#800000"># channel 31, WCT1, unhandled for now</FONT><BR>
<BR>
<BR>
Here is my ss7.conf:<BR>
<BR>
<FONT COLOR="#800000">[linkset-siuc]</FONT><BR>
<BR>
<FONT COLOR="#800000">enabled => yes</FONT><BR>
<FONT COLOR="#800000">enable_st => no</FONT><BR>
<FONT COLOR="#800000">use_connect => yes</FONT><BR>
<FONT COLOR="#800000">hunting_policy => even_mru</FONT><BR>
<FONT COLOR="#800000">context => ss7</FONT><BR>
<FONT COLOR="#800000">language => en</FONT><BR>
<FONT COLOR="#800000">subservice => auto</FONT><BR>
<BR>
<BR>
<FONT COLOR="#800000">[link-|1]</FONT><BR>
<FONT COLOR="#800000">linkset => siuc</FONT><BR>
<FONT COLOR="#800000">channels => 2-31</FONT><BR>
<FONT COLOR="#800000">schannel => 1</FONT><BR>
<FONT COLOR="#800000">firstcic => 2</FONT><BR>
<FONT COLOR="#800000">enabled => yes</FONT><BR>
<BR>
<FONT COLOR="#800000">[host-asterisk2.local]</FONT><BR>
<FONT COLOR="#800000">enabled => yes</FONT><BR>
<FONT COLOR="#800000">opc => 0x43d</FONT><BR>
<FONT COLOR="#800000">dpc => siuc:0x854</FONT><BR>
<FONT COLOR="#800000">links => |1:1</FONT><BR>
<BR>
<BR>
<BR>
Any Help will be appreciated<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<BR>
<PRE>
=====================================
</PRE>
<B><FONT SIZE="4">Mostafa Ibrahim </FONT></B><BR>
Security Department Manager<BR>
ValueSyS<BR>
<I>website: </I><I><FONT COLOR="#0000ff">http://www.valuesys.net </FONT></I><BR>
<I>Tel: +202 22682552 +202 2682887</I><BR>
<I><FONT SIZE="2"><FONT COLOR="#000000">Fax: +202 22674346</FONT></FONT></I><BR>
<I>Mobile: +2 0181008194</I><BR>
<I>Email: mostafa.ibrahim@valuesys.net</I><BR>
======================================
</TD>
</TR>
</TABLE>
</BODY>
</HTML>