<div>hey bro you did a grat job. at least your trick works :-).</div>
<div> </div>
<div>Problemis to find out ss7 spec on the internet is very troublesome. Most of them you may need to buy.</div>
<div> </div>
<div>Your addon can be used with the people who are working with ANSI variant of SS7 :-)</div>
<div> </div>
<div>-Vashkar<br><br></div>
<div class="gmail_quote">On Mon, Jun 8, 2009 at 8:11 PM, Ruddy Gbaguidi <span dir="ltr"><<a href="mailto:plugworld@micnes.com">plugworld@micnes.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div lang="EN-CA" vlink="purple" link="blue">
<div>
<p><span style="COLOR: #1f497d; FONT-SIZE: 11pt">Hi</span></p>
<p><span style="COLOR: #1f497d; FONT-SIZE: 11pt">There seems to have no keywork “variant” in chan_dahdi.conf and not even in the source code.</span></p>
<p><span style="COLOR: #1f497d; FONT-SIZE: 11pt">If you are talking about “ss7type” keywork, it is already set to ANSI</span></p>
<p><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> </span></p>
<p><span style="COLOR: #1f497d; FONT-SIZE: 11pt">I don’t know if we are using the standard on libss7 or if the carrier is using a different standard but</span></p>
<p><span style="COLOR: #1f497d; FONT-SIZE: 11pt">not all Network Management Messages (SNM) are not working.</span></p>
<p><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> </span></p>
<p><span style="COLOR: #1f497d; FONT-SIZE: 11pt">I checked the code source and change in libss7 the following and it seems to make it work.</span></p>
<p><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> </span></p>
<p><span style="COLOR: #1f497d; FONT-SIZE: 11pt">In mtp3.c, in the function net_mng_send,</span></p>
<p><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> </span></p>
<p><span style="COLOR: #1f497d; FONT-SIZE: 11pt">case NET_MNG_LIA:</span></p>
<p><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> case NET_MNG_LUA:</span></p>
<p><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> case NET_MNG_LID:</span></p>
<p><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> case NET_MNG_LLT:</span></p>
<p><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> case NET_MNG_LRT:</span></p>
<p><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> /* RUDDY ADDON */</span></p>
<p><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> layer4[0] = (unsigned char) (param & 0xff);</span></p>
<p><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> layer4[1] = (unsigned char) ((param >> 8) & 0xff);</span></p>
<p><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> ss7_msg_userpart_len(m, rllen + 1 + 1);</span></p>
<p><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> /* RUDDY ADDON */</span></p>
<p><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> </span></p>
<p><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> //ss7_msg_userpart_len(m, rllen + 1); /* no more params */</span></p>
<p><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> break;</span></p>
<p><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> </span></p>
<p><span style="COLOR: #1f497d; FONT-SIZE: 11pt">So, basicly, when send those message, we send two extra bits as requested.</span></p>
<p><span style="COLOR: #1f497d; FONT-SIZE: 11pt">I’m not sure that this follows any SS7 specs but it did the trick.</span></p>
<p><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> </span></p>
<p><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> </span></p>
<div style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0cm; PADDING-LEFT: 0cm; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<p><b><span style="FONT-SIZE: 10pt" lang="EN-US">From:</span></b><span style="FONT-SIZE: 10pt" lang="EN-US"> <a href="mailto:asterisk-ss7-bounces@lists.digium.com" target="_blank">asterisk-ss7-bounces@lists.digium.com</a> [mailto:<a href="mailto:asterisk-ss7-bounces@lists.digium.com" target="_blank">asterisk-ss7-bounces@lists.digium.com</a>] <b>On Behalf Of </b>Vashkar<br>
<b>Sent:</b> June-06-09 2:49 PM
<div>
<div></div>
<div class="h5"><br><b>To:</b> <a href="mailto:asterisk-ss7@lists.digium.com" target="_blank">asterisk-ss7@lists.digium.com</a><br><b>Subject:</b> Re: [asterisk-ss7] SS7 : Missing SLC parameter on ANSI ??</div></div></span>
<p></p></p></div>
<div>
<div></div>
<div class="h5">
<p> </p>
<div>
<p>if you are using chan_ss7, put the keyword</p></div>
<div>
<p> </p></div>
<div>
<p>variant and its value to ANSI</p></div>
<div>
<p> </p></div>
<div>
<p>look for the same thing if you are using DAHDI and libss7</p></div>
<div>
<p> </p></div>
<div>
<p>it should work.</p></div>
<div>
<p> </p></div>
<div>
<p style="MARGIN-BOTTOM: 12pt">-vashkar</p></div>
<div>
<p>On Thu, Jun 4, 2009 at 4:50 AM, Ruddy Gbaguidi <<a href="mailto:plugworld@micnes.com" target="_blank">plugworld@micnes.com</a>> wrote:</p>
<div>
<div>
<p><span style="COLOR: #1f497d; FONT-SIZE: 11pt">I don’t think so. </span></p>
<p><span style="COLOR: #1f497d; FONT-SIZE: 11pt">Do you now where I can find specs of SS7 ANSI (T1 111, 112 and 113) ??</span></p>
<p><span style="COLOR: #1f497d; FONT-SIZE: 11pt">And where we should fix it ?</span></p>
<p><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> </span></p>
<p><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> </span></p>
<div style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0cm; PADDING-LEFT: 0cm; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<p><b><span style="FONT-SIZE: 10pt" lang="EN-US">From:</span></b><span style="FONT-SIZE: 10pt" lang="EN-US"> <a href="mailto:asterisk-ss7-bounces@lists.digium.com" target="_blank">asterisk-ss7-bounces@lists.digium.com</a> [mailto:<a href="mailto:asterisk-ss7-bounces@lists.digium.com" target="_blank">asterisk-ss7-bounces@lists.digium.com</a>] <b>On Behalf Of </b>Vashkar<br>
<b>Sent:</b> June-03-09 5:42 PM </span></p>
<div>
<p><span style="FONT-SIZE: 10pt" lang="EN-US"><br><b>To:</b> <a href="mailto:asterisk-ss7@lists.digium.com" target="_blank">asterisk-ss7@lists.digium.com</a><br><b>Subject:</b> Re: [asterisk-ss7] SS7 : Missing SLC parameter on ANSI ??</span></p>
</div></div>
<p> </p>
<p style="MARGIN-BOTTOM: 12pt">Can you ask your operator to use ITU-WHITE instead of ANSI? I think that will solve the problem.</p>
<div>
<div>
<div>
<p>On Tue, Jun 2, 2009 at 12:20 AM, Ruddy Gbaguidi <<a href="mailto:plugworld@micnes.com" target="_blank">plugworld@micnes.com</a>> wrote:</p>
<div>
<div>
<p>Hi all</p>
<p>We had a SS7 link with our provider here in Canada. Everything went well.</p>
<p>But they are saying that asterisk is missing the SLC parameter when sending messages like LUN or LUA etc..</p>
<p>So, this make asterisk not compatible with the SS7 protocol. In the debug message they send us from their switch, </p>
<p>You can see that asterisk is always sending a SLS parameter as SLC.</p>
<p>Do you know how we can fix it ??</p>
<p> </p>
<p>WHAT THEY SEND US :</p>
<p> </p>
<p><span style="COLOR: blue; FONT-SIZE: 10pt">-------------------------------------------------------------------------------- <br> Octet001 ANSI SS7 Count=000001 Time=02/06/2009 17:48:30:697 <br>-------------------------------------------------------------------------------- <br>
10010110 BIB/BSN (150) 1/22 <br> 10010110 FIB/FSN (150) 1/22 <br> ..001010 SU type/length (10) MSU10 <br> 00...... Spare 0 <br>-------------------------------------------------------------------------------- <br>
Octet004 Service information octet <br>-------------------------------------------------------------------------------- <br> ....0000 Service indicator (0) SNM Signalling Network Management Message <br> ..11.... Message priority 3 <br>
10...... Network indicator (2) N National network <br>-------------------------------------------------------------------------------- <br> Octet005 Routing label <br>-------------------------------------------------------------------------------- <br>
........ DPC: Net-Clstr-Mbr 005-069-040 mtrrpqrj1md <br> ........ OPC: Net-Clstr-Mbr 001-187-255 mrhmondr00w(East) <br> 00000000 SLS 0 <br>-------------------------------------------------------------------------------- <br>
Octet012 Management inhibit message <br>-------------------------------------------------------------------------------- <br> </span><span style="COLOR: red; FONT-SIZE: 10pt">00100110 Heading codes H1/H0 (38) LUN Link uninhibited </span><span style="COLOR: blue; FONT-SIZE: 10pt"><br>
</span><span style="COLOR: red; FONT-SIZE: 10pt">....0000 SLC 0 <br></span><span style="COLOR: blue; FONT-SIZE: 10pt"> 0000.... </span><span style="COLOR: blue; FONT-SIZE: 10pt" lang="FR-CA">Spare 0 <br>
-------------------------------------------------------------------------------- <br> Checksum CRC16................ 0001110100001111 hex=1D0F <br>-------------------------------------------------------------------------------- </span></p>
<p><span style="FONT-SIZE: 11pt"> </span></p>
<p><span style="FONT-SIZE: 11pt">WHAT WE SEND THEM </span></p>
<p><span style="FONT-SIZE: 11pt"> </span></p>
<p><span style="COLOR: blue; FONT-SIZE: 10pt">Decoded signal unit</span><span style="COLOR: blue"> </span></p>
<p><span style="COLOR: blue; FONT-SIZE: 10pt"># User: T010871</span><span style="COLOR: blue"> <br></span><span style="COLOR: blue; FONT-SIZE: 10pt"># Date: 02/06/2009 17:58:24</span><span style="COLOR: blue"> <br></span><span style="COLOR: blue; FONT-SIZE: 10pt"># Octets: 12</span><span style="COLOR: blue"> </span></p>
<p><span style="COLOR: blue; FONT-SIZE: 10pt">Not enough bytes to parse. Truncated Su.</span><span style="COLOR: blue"> <br></span><span style="COLOR: blue; FONT-SIZE: 10pt">--------------------------------------------------------------------------------</span><span style="COLOR: blue"> <br>
</span><span style="COLOR: blue; FONT-SIZE: 10pt"> Octet001 ANSI SS7 Count=000001 Time=02/06/2009 17:48:30:717 </span><span style="COLOR: blue"><br></span><span style="COLOR: blue; FONT-SIZE: 10pt">--------------------------------------------------------------------------------</span><span style="COLOR: blue"> <br>
</span><span style="COLOR: blue; FONT-SIZE: 10pt"> 10010110 BIB/BSN (150) 1/22 </span><span style="COLOR: blue"><br></span><span style="COLOR: blue; FONT-SIZE: 10pt"> 10010111 FIB/FSN (151) 1/23 </span><span style="COLOR: blue"><br>
</span><span style="COLOR: blue; FONT-SIZE: 10pt"> ..001001 SU type/length (9) MSU09 </span><span style="COLOR: blue"><br></span><span style="COLOR: blue; FONT-SIZE: 10pt"> 00...... Spare 0</span><span style="COLOR: blue"> <br>
</span><span style="COLOR: blue; FONT-SIZE: 10pt">--------------------------------------------------------------------------------</span><span style="COLOR: blue"> <br></span><span style="COLOR: blue; FONT-SIZE: 10pt"> Octet004 Service information octet </span><span style="COLOR: blue"><br>
</span><span style="COLOR: blue; FONT-SIZE: 10pt">--------------------------------------------------------------------------------</span><span style="COLOR: blue"> <br></span><span style="COLOR: blue; FONT-SIZE: 10pt"> ....0000 Service indicator (0) SNM Signalling Network Management Message </span><span style="COLOR: blue"><br>
</span><span style="COLOR: blue; FONT-SIZE: 10pt"> ..11.... Message priority 3</span><span style="COLOR: blue"> <br></span><span style="COLOR: blue; FONT-SIZE: 10pt"> 10...... Network indicator (2) N National network </span><span style="COLOR: blue"><br>
</span><span style="COLOR: blue; FONT-SIZE: 10pt">--------------------------------------------------------------------------------</span><span style="COLOR: blue"> <br></span><span style="COLOR: blue; FONT-SIZE: 10pt"> Octet005 Routing label </span><span style="COLOR: blue"><br>
</span><span style="COLOR: blue; FONT-SIZE: 10pt">--------------------------------------------------------------------------------</span><span style="COLOR: blue"> <br></span><span style="COLOR: blue; FONT-SIZE: 10pt"> </span><span style="COLOR: red; FONT-SIZE: 10pt">........ DPC: Net-Clstr-Mbr 001-187-255 mrhmondr00w(East) </span><span style="COLOR: blue"><br>
</span><span style="COLOR: red; FONT-SIZE: 10pt"> ........ OPC: Net-Clstr-Mbr 005-069-040 mtrrpqrj1md </span><span style="COLOR: red"><br></span><span style="COLOR: blue; FONT-SIZE: 10pt"> 00000000 SLS 0</span><span style="COLOR: blue"> <br>
</span><span style="COLOR: blue; FONT-SIZE: 10pt">--------------------------------------------------------------------------------</span><span style="COLOR: blue"> <br></span><span style="COLOR: blue; FONT-SIZE: 10pt"> Octet012 Management inhibit message </span><span style="COLOR: blue"><br>
</span><span style="COLOR: blue; FONT-SIZE: 10pt">--------------------------------------------------------------------------------</span><span style="COLOR: blue"> <br></span><span style="COLOR: blue; FONT-SIZE: 10pt">01000110 Heading codes H1/H0 (70) LUA Link uninhibit acknowledgement</span><span style="COLOR: blue"> </span><span style="COLOR: blue; FONT-SIZE: 10pt"> </span><span style="COLOR: red; FONT-SIZE: 10pt"><---------missing SLC value here <br>
</span><span style="COLOR: blue; FONT-SIZE: 10pt">--------------------------------------------------------------------------------</span><span style="COLOR: blue"> <br></span><span style="COLOR: blue; FONT-SIZE: 10pt"> Checksum CRC16................ </span><span style="COLOR: blue; FONT-SIZE: 10pt" lang="FR-CA">0001110100001111 hex=1D0F</span><span style="COLOR: blue" lang="FR-CA"> <br>
</span><span style="COLOR: blue; FONT-SIZE: 10pt" lang="FR-CA">--------------------------------------------------------------------------------</span><span style="COLOR: blue" lang="FR-CA"> </span></p>
<p><span style="FONT-SIZE: 11pt"> </span></p>
<p><span style="FONT-SIZE: 11pt"> </span></p>
<p><span style="FONT-SIZE: 11pt"> </span></p>
<p><span style="FONT-SIZE: 11pt"> </span></p>
<p><span style="FONT-SIZE: 11pt"> </span></p></div></div>
<p><br>_______________________________________________<br>--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--/" target="_blank">http://www.api-digital.com--</a><br><br>asterisk-ss7 mailing list<br>
To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-ss7" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-ss7</a></p></div>
<p> </p></div></div></div></div>
<p><br>_______________________________________________<br>--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--/" target="_blank">http://www.api-digital.com--</a><br><br>asterisk-ss7 mailing list<br>
To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-ss7" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-ss7</a></p></div>
<p> </p></div></div></div></div><br>_______________________________________________<br>--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--/" target="_blank">http://www.api-digital.com--</a><br><br>
asterisk-ss7 mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-ss7" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-ss7</a><br></blockquote>
</div><br>