<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
I have confirmed and the remote end is deeming it to be a protocol
violation and raising an ISDN Alarm when chan_ss7 generates REL or
RLC messages with Optionals enabled and an empty optional section.<br>
<br>
I'll try work on a patch for l4isup.c. It doesn't look like it
should be too difficult to change the applicable code.<br>
<br>
<br>
On 2011/11/21 02:11 PM, Gregory Massel wrote:
<blockquote cite="mid:4ECA3FE6.30508@csurf.co.za" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
Looking at l4isup.c and the dump, I'm just wondering, is it
correct behaviour to have an empty optionals section?<br>
<br>
e.g. code like the following in isup_send_rlc():<br>
isup_msg_start_optional_part(msg, sizeof(msg), &varptr,
&current);<br>
isup_msg_end_optional_part(msg, sizeof(msg), &current);<br>
<br>
Should this not just be stripped out?<br>
<br>
Similar code exists in isup_send_rel(), except that optionals are
added in the event of certain if() conditions being matched.
Again, the question I have is should the
isup_msg_start_optional_part and isup_msg_end_optional_part
functions even be called if the conditions are such that no
optionals need to be added?<br>
<br>
--Greg<br>
<br>
On 2011/11/21 01:36 PM, Gregory Massel wrote:
<blockquote cite="mid:4ECA37B4.6050506@csurf.co.za" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
I have the exact same condition with chan_ss7 on Asterisk 1.4
and Asterisk 1.8 and can confirm that I've run all versions of
chan_ss7 from 1.3 up to 2.1.0 (2.1.0 on Asterisk 1.8 and the
previous versions on Asterisk 1.4).<br>
<br>
The remote end is, to the best of my knowledge, a Siemens EWSD.<br>
<br>
The following feedback was provided by the remote carrier and
may prove useful in explaining the problem:<br>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:9.0pt;font-family:Fixedsys">SWTNRB
26 1-26 TRUNK BW 0-24 2-26 IDLE <o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:9.0pt;font-family:Fixedsys">SWTNRB
27 1-27 TRUNK BW 0-24 2-27 INC & <o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:9.0pt;font-family:Fixedsys"> FRCD
& <o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:9.0pt;font-family:Fixedsys"> IALM
<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:9.0pt;font-family:Fixedsys">SWTNRB
28 1-28 TRUNK BW 0-24 2-28 IDLE <o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:9.0pt;font-family:Fixedsys">SWTNRB
29 1-29 TRUNK BW 0-24 2-29 INC & <o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:9.0pt;font-family:Fixedsys"> FRCD
& <o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:9.0pt;font-family:Fixedsys"> IALM
<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:9.0pt;font-family:Fixedsys">SWTNRB
30 1-30 TRUNK BW 0-24 2-30 IDLE <o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:9.0pt;font-family:Fixedsys"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:9.0pt;font-family:Fixedsys">With the IALM
condition is caused by “end of optional parameter in the
wrong place”.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:9.0pt;font-family:Fixedsys">If you should
see in the attachment I have highlighted the REL and RLC
message from your nodes.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:9.0pt;font-family:Fixedsys">Both of these
have the optional parameter “indicated”.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:9.0pt;font-family:Fixedsys">If it is
possible can you please set optional parameters OFF (
parameter indicator =0) for <o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:9.0pt;font-family:Fixedsys">These two
messages.<o:p></o:p></span></p>
<span style="font-size:9.0pt;font-family:Fixedsys">If you can
let me know so that we can reset the circuits as we have done
previously.<br>
<br>
</span><br>
They also provided the following:<br>
<meta http-equiv="CONTENT-TYPE" content="text/html;
charset=ISO-8859-1">
<p style="margin-bottom: 0cm" lang="en-ZA"><tt><font size="2">--------------------------------------------------------------------------------</font></tt></p>
<tt> </tt>
<p style="margin-bottom: 0cm" lang="en-ZA"> <tt><font size="2">Octet001
ITU-T SS7 Count=000001 Time=08/22/2011 13:21:14:023 </font></tt>
</p>
<tt> </tt>
<p style="margin-bottom: 0cm" lang="en-ZA"><tt><font size="2">--------------------------------------------------------------------------------</font></tt></p>
<tt> </tt>
<p style="margin-bottom: 0cm" lang="en-ZA"> <tt><font size="2">10010010
BIB/BSN (146) 1/18 </font></tt> </p>
<tt> </tt>
<p style="margin-bottom: 0cm" lang="en-ZA"> <tt><font size="2">11111001
FIB/FSN (249) 1/121 </font></tt> </p>
<tt> </tt>
<p style="margin-bottom: 0cm" lang="en-ZA"> <tt><font size="2">..001110
SU type/length (14) MSU14 </font></tt> </p>
<tt> </tt>
<p style="margin-bottom: 0cm" lang="en-ZA"> <tt><font size="2">00......
Spare 0</font></tt></p>
<tt> </tt>
<p style="margin-bottom: 0cm" lang="en-ZA"><tt><font size="2">--------------------------------------------------------------------------------</font></tt></p>
<tt> </tt>
<p style="margin-bottom: 0cm" lang="en-ZA"> <tt><font size="2">Octet004
Service information octet </font></tt> </p>
<tt> </tt>
<p style="margin-bottom: 0cm" lang="en-ZA"><tt><font size="2">--------------------------------------------------------------------------------</font></tt></p>
<tt> </tt>
<p style="margin-bottom: 0cm" lang="en-ZA"> <tt><font size="2">....0101
Service indicator (5) ISUP ISDN User Part </font></tt> </p>
<tt> </tt>
<p style="margin-bottom: 0cm" lang="en-ZA"> <tt><font size="2">..00....
Message priority 0</font></tt></p>
<tt> </tt>
<p style="margin-bottom: 0cm" lang="en-ZA"> <tt><font size="2">11......
Network indicator (3) NAT1 National network </font></tt>
</p>
<tt> </tt>
<p style="margin-bottom: 0cm" lang="en-ZA"><tt><font size="2">--------------------------------------------------------------------------------</font></tt></p>
<tt> </tt>
<p style="margin-bottom: 0cm" lang="en-ZA"> <tt><font size="2">Octet005
Routing label </font></tt> </p>
<tt> </tt>
<p style="margin-bottom: 0cm" lang="en-ZA"><tt><font size="2">--------------------------------------------------------------------------------</font></tt></p>
<tt> </tt>
<p style="margin-bottom: 0cm" lang="en-ZA"> <tt><font size="2">........
DPC 01-1-03-0 JNL#1 </font></tt> </p>
<tt> </tt>
<p style="margin-bottom: 0cm"> <tt><font size="2"><span
lang="en-ZA">........ </span></font><font
color="#ff0000"><font size="2"><span lang="en-ZA">OPC
00-6-01-0 SWITCHTEL </span></font></font></tt> </p>
<tt> </tt>
<p style="margin-bottom: 0cm" lang="en-ZA"> <tt><font size="2">1001....
SLS 9</font></tt></p>
<tt> </tt>
<p style="margin-bottom: 0cm" lang="en-ZA"><tt><font size="2">--------------------------------------------------------------------------------</font></tt></p>
<tt> </tt>
<p style="margin-bottom: 0cm" lang="en-ZA"> <tt><font size="2">Octet009
Circuit identification code </font></tt> </p>
<tt> </tt>
<p style="margin-bottom: 0cm" lang="en-ZA"><tt><font size="2">--------------------------------------------------------------------------------</font></tt></p>
<tt> </tt>
<p style="margin-bottom: 0cm" lang="en-ZA"> <tt><font size="2">........
CIC 217</font></tt></p>
<tt> </tt>
<p style="margin-bottom: 0cm" lang="en-ZA"> <tt><font size="2">0000....
Spare 0</font></tt></p>
<tt> </tt>
<p style="margin-bottom: 0cm" lang="en-ZA"><tt><font size="2">--------------------------------------------------------------------------------</font></tt></p>
<tt> </tt>
<p style="margin-bottom: 0cm" lang="en-ZA"> <tt><font size="2">Octet011
ISUP Release message </font></tt> </p>
<tt> </tt>
<p style="margin-bottom: 0cm" lang="en-ZA"><tt><font size="2">--------------------------------------------------------------------------------</font></tt></p>
<tt> </tt>
<p style="margin-bottom: 0cm" lang="en-ZA"> <tt><font size="2">00001100
Message type (12) REL Release </font></tt> </p>
<tt> </tt>
<p style="margin-bottom: 0cm" lang="en-ZA"> <tt><font size="2">00000010
Pointer->cause 2</font></tt></p>
<tt> </tt>
<p style="margin-bottom: 0cm"> <tt><font color="#ff0000"><font
size="2"><span lang="en-ZA">00000100
Pointer->optionals 4</span></font></font></tt></p>
<tt> </tt>
<p style="margin-bottom: 0cm" lang="en-ZA"><tt><font size="2">--------------------------------------------------------------------------------</font></tt></p>
<tt> </tt>
<p style="margin-bottom: 0cm" lang="en-ZA"> <tt><font size="2">Octet014
Cause indicators parameter </font></tt> </p>
<tt> </tt>
<p style="margin-bottom: 0cm" lang="en-ZA"><tt><font size="2">--------------------------------------------------------------------------------</font></tt></p>
<tt> </tt>
<p style="margin-bottom: 0cm" lang="en-ZA"> <tt><font size="2">00000010
Parameter length 2</font></tt></p>
<tt> </tt>
<p style="margin-bottom: 0cm" lang="en-ZA"> <tt><font size="2">....0101
Location (5) Private network serving the remote user (RPN)
</font></tt> </p>
<tt> </tt>
<p style="margin-bottom: 0cm" lang="en-ZA"> <tt><font size="2">...0....
Spare 0</font></tt></p>
<tt> </tt>
<p style="margin-bottom: 0cm" lang="en-ZA"> <tt><font size="2">.00.....
Coding standard (0) CCITT standard </font></tt> </p>
<tt> </tt>
<p style="margin-bottom: 0cm" lang="en-ZA"> <tt><font size="2">1.......
Extension bit (1) Last octet </font></tt> </p>
<tt> </tt>
<p style="margin-bottom: 0cm" lang="en-ZA"> <tt><font size="2">.0010000
Cause (16) Normal call clearing </font></tt> </p>
<tt> </tt>
<p style="margin-bottom: 0cm" lang="en-ZA"> <tt><font size="2">1.......
Extension bit (1) Last octet </font></tt> </p>
<tt> </tt>
<p style="margin-bottom: 0cm" lang="en-ZA"><tt><font size="2">--------------------------------------------------------------------------------</font></tt></p>
<tt> </tt>
<p style="margin-bottom: 0cm" lang="en-ZA"> <tt><font size="2">Octet017
ISUP End of optional parameters </font></tt> </p>
<tt> </tt>
<p style="margin-bottom: 0cm" lang="en-ZA"><tt><font size="2">--------------------------------------------------------------------------------</font></tt></p>
<tt> </tt>
<p style="margin-bottom: 0cm" lang="en-ZA"> <tt><font size="2">00000000
Parameter name code (0) ISUP End of optional parameters </font></tt>
</p>
<tt> </tt>
<p style="margin-bottom: 0cm" lang="en-ZA"><tt><font size="2">--------------------------------------------------------------------------------</font></tt></p>
<tt> </tt>
<p style="margin-bottom: 0cm" lang="en-ZA"> <tt><font size="2">Checksum
CRC16................ 0001110100001111 hex=1D0F</font></tt></p>
<tt> </tt>
<p style="margin-bottom: 0cm" lang="en-ZA"><tt><font size="2">--------------------------------------------------------------------------------</font></tt></p>
<tt> </tt>
<title></title>
<meta name="GENERATOR" content="OpenOffice.org 3.3 (Win32)">
<style type="text/css">
        <!--
                @page { margin: 2cm }
                P { margin-bottom: 0.21cm }
        -->
        </style><br>
<br>
As far as I am aware, there is no way to disable the optionals
in chan_ss7.<br>
<br>
Interestingly, the is not on all REL and RLC messages, only some
of them.<br>
<br>
I guess it's time to look through the source code, but this
hasn't proven terribly problematic for me thus far because it's
only a few random CICs that block in that state. It seems the
remote end does eventually remove the admin block by itself
after a certain amount of time, but restarting asterisk or
chan_ss7 won't help. Usually I just get the guys on the remote
end to manually clear the condition.<br>
<br>
On 2011/11/21 10:35 AM, Stefan Schmidt wrote:
<blockquote cite="mid:4ECA0D45.8050506@sil.at" type="cite">
<pre wrap="">Hello list,
i have two E1 running on a asterisk 1.8 with chan_ss7 which i have set
to production state last week. And after around 5000 calls i can see
that 3 channels are in state BLOCKED Remote Maintenance. My carrier said
he hasnt blocked anything on this two E1 lines but he can see some
messages even on busy lines he doesnt understand.
Asterisk was automatically restarted every night but these three
channels stay at this state.
Is this a known bug or what can i do to solve this problem?
asterisk verison 1.8 (Asterisk SVN-schmidts-unleash-the-beast-r343849)
chan_ss7 version (chan_ss7 version 2.1.0) but with some patches to isup
for connected line information and also the patch for the additional
calling party header.
thanks!
best regards
stefan schmidt
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.api-digital.com">http://www.api-digital.com</a> --
asterisk-ss7 mailing list
To UNSUBSCRIBE or update options visit:
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-ss7">http://lists.digium.com/mailman/listinfo/asterisk-ss7</a>
</pre>
</blockquote>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.api-digital.com">http://www.api-digital.com</a> --
asterisk-ss7 mailing list
To UNSUBSCRIBE or update options visit:
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-ss7">http://lists.digium.com/mailman/listinfo/asterisk-ss7</a></pre>
</blockquote>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by <a class="moz-txt-link-freetext" href="http://www.api-digital.com">http://www.api-digital.com</a> --
asterisk-ss7 mailing list
To UNSUBSCRIBE or update options visit:
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-ss7">http://lists.digium.com/mailman/listinfo/asterisk-ss7</a></pre>
</blockquote>
</body>
</html>