<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-CA link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>An error in my last email :<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>ss7_msg_userpart_len(m, rllen + 1 + 2);<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>instead of <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>ss7_msg_userpart_len(m, rllen + 1 + 1);</span><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> asterisk-ss7-bounces@lists.digium.com
[mailto:asterisk-ss7-bounces@lists.digium.com] <b>On Behalf Of </b>Ruddy
Gbaguidi<br>
<b>Sent:</b> June-08-09 10:12 AM<br>
<b>To:</b> asterisk-ss7@lists.digium.com<br>
<b>Subject:</b> Re: [asterisk-ss7] SS7 : Missing SLC parameter on ANSI ??<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hi<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>There seems to have no keywork “variant” in chan_dahdi.conf and
not even in the source code.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>If you are talking about “ss7type” keywork, it is already
set to ANSI<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I don’t know if we are using the standard on libss7 or if the
carrier is using a different standard but<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>not all Network Management Messages (SNM) are not working.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I checked the code source and change in libss7 the following and
it seems to make it work.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>In mtp3.c, in the function net_mng_send,<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>case NET_MNG_LIA:<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>
case NET_MNG_LUA:<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>
case NET_MNG_LID:<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>
case NET_MNG_LLT:<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>
case NET_MNG_LRT:<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>
/* RUDDY ADDON */<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>
layer4[0] = (unsigned char) (param & 0xff);<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>
layer4[1] = (unsigned char) ((param >> 8) & 0xff);<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>
ss7_msg_userpart_len(m, rllen + 1 + 1);<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>
/* RUDDY ADDON */<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>
//ss7_msg_userpart_len(m, rllen + 1); /* no more params */<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>
break;<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>So, basicly, when send those message, we send two extra bits as
requested.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I’m not sure that this follows any SS7 specs but it did the
trick.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> asterisk-ss7-bounces@lists.digium.com
[mailto:asterisk-ss7-bounces@lists.digium.com] <b>On Behalf Of </b>Vashkar<br>
<b>Sent:</b> June-06-09 2:49 PM<br>
<b>To:</b> asterisk-ss7@lists.digium.com<br>
<b>Subject:</b> Re: [asterisk-ss7] SS7 : Missing SLC parameter on ANSI ??<o:p></o:p></span></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<div>
<p class=MsoNormal>if you are using chan_ss7, put the keyword<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal> <o:p></o:p></p>
</div>
<div>
<p class=MsoNormal>variant and its value to ANSI<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal> <o:p></o:p></p>
</div>
<div>
<p class=MsoNormal>look for the same thing if you are using DAHDI and libss7<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal> <o:p></o:p></p>
</div>
<div>
<p class=MsoNormal>it should work.<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal> <o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-bottom:12.0pt'>-vashkar<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal>On Thu, Jun 4, 2009 at 4:50 AM, Ruddy Gbaguidi <<a
href="mailto:plugworld@micnes.com">plugworld@micnes.com</a>> wrote:<o:p></o:p></p>
<div>
<div>
<p><span style='font-size:11.0pt;color:#1F497D'>I don’t think so. </span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'>Do you now where I can find specs
of SS7 ANSI (T1 111, 112 and 113) ??</span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'>And where we should fix it ?</span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p><b><span lang=EN-US style='font-size:10.0pt'>From:</span></b><span
lang=EN-US style='font-size:10.0pt'> <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 <o:p></o:p></span></p>
<div>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt'><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 ??<o:p></o:p></span></p>
</div>
</div>
<p> <o:p></o:p></p>
<p style='margin-bottom:12.0pt'>Can you ask your operator to use ITU-WHITE
instead of ANSI? I think that will solve the problem.<o:p></o:p></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:<o:p></o:p></p>
<div>
<div>
<p>Hi all<o:p></o:p></p>
<p>We had a SS7 link with our provider here in Canada. Everything went well.<o:p></o:p></p>
<p>But they are saying that asterisk is missing the SLC parameter when sending
messages like LUN or LUA etc..<o:p></o:p></p>
<p>So, this make asterisk not compatible with the SS7 protocol. In the debug message
they send us from their switch, <o:p></o:p></p>
<p>You can see that asterisk is always sending a SLS parameter as SLC.<o:p></o:p></p>
<p>Do you know how we can fix it ??<o:p></o:p></p>
<p> <o:p></o:p></p>
<p>WHAT THEY SEND US :<o:p></o:p></p>
<p> <o:p></o:p></p>
<p><span style='font-size:10.0pt;color:blue'>--------------------------------------------------------------------------------
<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='font-size:10.0pt;color:red'>00100110 Heading
codes H1/H0 (38) LUN Link uninhibited </span><span
style='font-size:10.0pt;color:blue'><br>
</span><span style='font-size:10.0pt;color:red'>....0000
SLC
0 <br>
</span><span style='font-size:10.0pt;color:blue'> 0000.... </span><span
lang=FR-CA style='font-size:10.0pt;color:blue'>Spare
0 <br>
--------------------------------------------------------------------------------
<br>
Checksum CRC16................ 0001110100001111 hex=1D0F <br>
--------------------------------------------------------------------------------
</span><o:p></o:p></p>
<p><span style='font-size:11.0pt'> </span><o:p></o:p></p>
<p><span style='font-size:11.0pt'>WHAT WE SEND THEM </span><o:p></o:p></p>
<p><span style='font-size:11.0pt'> </span><o:p></o:p></p>
<p><span style='font-size:10.0pt;color:blue'>Decoded signal unit</span><span
style='color:blue'> </span><o:p></o:p></p>
<p><span style='font-size:10.0pt;color:blue'># User: T010871</span><span
style='color:blue'> <br>
</span><span style='font-size:10.0pt;color:blue'># Date: 02/06/2009
17:58:24</span><span style='color:blue'> <br>
</span><span style='font-size:10.0pt;color:blue'># Octets: 12</span><span
style='color:blue'> </span><o:p></o:p></p>
<p><span style='font-size:10.0pt;color:blue'>Not enough bytes to parse.
Truncated Su.</span><span style='color:blue'> <br>
</span><span style='font-size:10.0pt;color:blue'>--------------------------------------------------------------------------------</span><span
style='color:blue'> <br>
</span><span style='font-size:10.0pt;color:blue'> Octet001 ANSI
SS7
Count=000001 Time=02/06/2009 17:48:30:717 </span><span style='color:blue'><br>
</span><span style='font-size:10.0pt;color:blue'>--------------------------------------------------------------------------------</span><span
style='color:blue'> <br>
</span><span style='font-size:10.0pt;color:blue'> 10010110 BIB/BSN
(150) 1/22 </span><span style='color:blue'><br>
</span><span style='font-size:10.0pt;color:blue'> 10010111
FIB/FSN
(151) 1/23 </span><span style='color:blue'><br>
</span><span style='font-size:10.0pt;color:blue'> ..001001 SU
type/length (9) MSU09 </span><span
style='color:blue'><br>
</span><span style='font-size:10.0pt;color:blue'> 00......
Spare
0</span><span style='color:blue'> <br>
</span><span style='font-size:10.0pt;color:blue'>--------------------------------------------------------------------------------</span><span
style='color:blue'> <br>
</span><span style='font-size:10.0pt;color:blue'> Octet004 Service
information octet </span><span style='color:blue'><br>
</span><span style='font-size:10.0pt;color:blue'>--------------------------------------------------------------------------------</span><span
style='color:blue'> <br>
</span><span style='font-size:10.0pt;color:blue'> ....0000 Service
indicator (0) SNM Signalling
Network Management Message </span><span style='color:blue'><br>
</span><span style='font-size:10.0pt;color:blue'> ..11.... Message
priority 3</span><span style='color:blue'> <br>
</span><span style='font-size:10.0pt;color:blue'> 10...... Network
indicator (2) N National network </span><span
style='color:blue'><br>
</span><span style='font-size:10.0pt;color:blue'>--------------------------------------------------------------------------------</span><span
style='color:blue'> <br>
</span><span style='font-size:10.0pt;color:blue'> Octet005 Routing
label </span><span
style='color:blue'><br>
</span><span style='font-size:10.0pt;color:blue'>--------------------------------------------------------------------------------</span><span
style='color:blue'> <br>
</span><span style='font-size:10.0pt;color:blue'> </span><span
style='font-size:10.0pt;color:red'>........ DPC: Net-Clstr-Mbr
001-187-255 mrhmondr00w(East) </span><span style='color:blue'><br>
</span><span style='font-size:10.0pt;color:red'> ........ OPC:
Net-Clstr-Mbr 005-069-040 mtrrpqrj1md </span><span
style='color:red'><br>
</span><span style='font-size:10.0pt;color:blue'> 00000000
SLS
0</span><span style='color:blue'> <br>
</span><span style='font-size:10.0pt;color:blue'>--------------------------------------------------------------------------------</span><span
style='color:blue'> <br>
</span><span style='font-size:10.0pt;color:blue'> Octet012
Management inhibit message </span><span style='color:blue'><br>
</span><span style='font-size:10.0pt;color:blue'>--------------------------------------------------------------------------------</span><span
style='color:blue'> <br>
</span><span style='font-size:10.0pt;color:blue'>01000110 Heading codes
H1/H0 (70) LUA Link uninhibit acknowledgement</span><span
style='color:blue'> </span><span style='font-size:10.0pt;color:blue'>
</span><span style='font-size:10.0pt;color:red'><---------missing SLC value
here <br>
</span><span style='font-size:10.0pt;color:blue'>--------------------------------------------------------------------------------</span><span
style='color:blue'> <br>
</span><span style='font-size:10.0pt;color:blue'> Checksum
CRC16................ </span><span lang=FR-CA style='font-size:10.0pt;
color:blue'>0001110100001111 hex=1D0F</span><span lang=FR-CA style='color:blue'>
<br>
</span><span lang=FR-CA style='font-size:10.0pt;color:blue'>--------------------------------------------------------------------------------</span><span
lang=FR-CA style='color:blue'> </span><o:p></o:p></p>
<p><span style='font-size:11.0pt'> </span><o:p></o:p></p>
<p><span style='font-size:11.0pt'> </span><o:p></o:p></p>
<p><span style='font-size:11.0pt'> </span><o:p></o:p></p>
<p><span style='font-size:11.0pt'> </span><o:p></o:p></p>
<p><span style='font-size:11.0pt'> </span><o:p></o:p></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><o:p></o:p></p>
</div>
<p> <o:p></o:p></p>
</div>
</div>
</div>
</div>
<p class=MsoNormal><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><o:p></o:p></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>