<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: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:0in;
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;}
span.m-5749642861328398197m-2612287774511754032hoenzb
{mso-style-name:m_-5749642861328398197m_-2612287774511754032hoenzb;}
span.m-5749642861328398197hoenzb
{mso-style-name:m_-5749642861328398197hoenzb;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></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-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Marcelo,<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'>Sorry for the delayed response. I wrote a script as well. For some reason for CIC’s 2 and 33 on one link and CIC 2 on the other when I send the RSC, if I use dahdi_pcap it shows Asterisk sending the RSC and getting a response however in Asterisk when I have ss7 debug on for the linkset it shows Asterisk sending the RSC out but not getting a response and the CIC(‘s) remain in PENDING which is making issues for the remote side.<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'>Anyone interested in fixing this for a bounty?<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><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 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span 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>Marcelo Pacheco<br><b>Sent:</b> Tuesday, February 20, 2018 16:16<br><b>To:</b> asterisk-ss7@lists.digium.com<br><b>Subject:</b> Re: [asterisk-ss7] CICS stay in pending state<o:p></o:p></span></p></div><p class=MsoNormal><o:p> </o:p></p><div><div><div><p class=MsoNormal>For me it happens every time. It is fixed by sending/receiving an RSC for the affected CICs.<o:p></o:p></p></div><p class=MsoNormal>It seems to me this just isn't an important bug to fix (haven't bothered anybody with the expertise to understand/fix it).<o:p></o:p></p></div><p class=MsoNormal>Due to this and a few other issues, I'm not currently running this version.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>2018-02-20 11:29 GMT-03:00 Dovid Bender <<a href="mailto:dovid@telecurve.com" target="_blank">dovid@telecurve.com</a>>:<o:p></o:p></p><div><p class=MsoNormal>Marcelo,<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>That happens some times. Other times the entire second link wont work and I need to reset them. Most of time I am able to issue a reset and Asterisk free's up the CIC but on my first box it wont release the first CIC. On my second box the first CIC on each link is still pending. Seems like I am running into the same issue that you had. >From what I understand there were a lot of improvements in lib libss7 2 and I am willing to sacrifice two CIC's. I would rather get the bug fixed if I could but I don't know where to start.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div></div><div><div><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On Mon, Feb 19, 2018 at 7:02 PM, Marcelo Pacheco <<a href="mailto:marcelo@m2j.com.br" target="_blank">marcelo@m2j.com.br</a>> wrote:<o:p></o:p></p><div><div><p class=MsoNormal>I detect a bug in the latest libss7 where for each group reset message, the first CIC of each range doesn't get processed (staying pending), but every other CIC does. Can you confirm that's what you see. For instance if its a full E1, the first channel of the E1 stays pending. For an E1 with a signalling link and CIC 16 skipped, channel 1 and channel 17 of the E1 stays pending.<o:p></o:p></p></div><p class=MsoNormal>I fixed by returning an old and trusted highly patched personal libss7 1.0.0+and old asterisk (I cringe to have to use it, but its rock solid).<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p><div><div><div><p class=MsoNormal>2018-02-19 0:56 GMT-03:00 Dovid Bender <<a href="mailto:dovid@telecurve.com" target="_blank">dovid@telecurve.com</a>>:<o:p></o:p></p></div></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><div><div><div><p class=MsoNormal>Hi,<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>We have an issue where some CICs stay in pending and wont go into Idle. If we do a block the other side see's it. The same goes for an unblock. For some reason no matter what we do certain cic's (it seems to be random) will stay in pending while the remote side see's them as Idle. Some times a reset will free it up, other times it wont. When doing a reset the other side responds that the cic has been reset yet Asterisk wont free it up. Any idea whats going on?<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><div><p class=MsoNormal>[root@ast01 asterisk]# asterisk -rx'ss7 show cics 1' | grep Pending <o:p></o:p></p></div><div><p class=MsoNormal> 2 518 2 Pending <o:p></o:p></p></div><div><p class=MsoNormal>[root@ast01 asterisk]# <o:p></o:p></p></div></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><div><p class=MsoNormal>st01*CLI> ss7 reset cic 1 518 2<o:p></o:p></p></div><div><p class=MsoNormal>Sent RSC for linkset 1 on CIC 2 DPC 518<o:p></o:p></p></div><div><p class=MsoNormal>[1] Len = 11 [ fe ac 08 85 06 c2 98 20 02 00 12 ]<o:p></o:p></p></div><div><p class=MsoNormal>[1] FSN: 44 FIB 1<o:p></o:p></p></div><div><p class=MsoNormal>[1] BSN: 126 BIB 1<o:p></o:p></p></div><div><p class=MsoNormal>[1] >[520:0] MSU<o:p></o:p></p></div><div><p class=MsoNormal>[1] [ fe ac 08 ]<o:p></o:p></p></div><div><p class=MsoNormal>[1] Network Indicator: 2 Priority: 0 User Part: ISUP (5)<o:p></o:p></p></div><div><p class=MsoNormal>[1] [ 85 ]<o:p></o:p></p></div><div><p class=MsoNormal>[1] OPC 611 DPC 518 SLS 2<o:p></o:p></p></div><div><p class=MsoNormal>[1] [ 06 c2 98 20 ]<o:p></o:p></p></div><div><p class=MsoNormal>[1] CIC: 2<o:p></o:p></p></div><div><p class=MsoNormal>[1] [ 02 00 ]<o:p></o:p></p></div><div><p class=MsoNormal>[1] Message Type: RSC(0x12)<o:p></o:p></p></div><div><p class=MsoNormal>[1] [ 12 ]<o:p></o:p></p></div><div><p class=MsoNormal>[1] <o:p></o:p></p></div><div><p class=MsoNormal>[1] Len = 12 [ ac ff 09 85 63 82 81 20 02 00 10 00 ]<o:p></o:p></p></div><div><p class=MsoNormal>[1] FSN: 127 FIB 1<o:p></o:p></p></div><div><p class=MsoNormal>[1] BSN: 44 BIB 1<o:p></o:p></p></div><div><p class=MsoNormal>[1] <[520:0] MSU<o:p></o:p></p></div><div><p class=MsoNormal>[1] [ ac ff 09 ]<o:p></o:p></p></div><div><p class=MsoNormal>[1] Network Indicator: 2 Priority: 0 User Part: ISUP (5)<o:p></o:p></p></div><div><p class=MsoNormal>[1] [ 85 ]<o:p></o:p></p></div><div><p class=MsoNormal>[1] OPC 518 DPC 611 SLS 2<o:p></o:p></p></div><div><p class=MsoNormal>[1] [ 63 82 81 20 ]<o:p></o:p></p></div><div><p class=MsoNormal>[1] CIC: 2<o:p></o:p></p></div><div><p class=MsoNormal>[1] [ 02 00 ]<o:p></o:p></p></div><div><p class=MsoNormal>[1] Message Type: RLC(0x10)<o:p></o:p></p></div><div><p class=MsoNormal>[1] [ 10 ]<o:p></o:p></p></div><div><p class=MsoNormal>[1] <o:p></o:p></p></div><div><p class=MsoNormal>Linkset 1: Processing event: ISUP_EVENT_RLC<o:p></o:p></p></div><div><p class=MsoNormal>ast01*CLI> <o:p></o:p></p></div><div><p class=MsoNormal>ast01*CLI> <o:p></o:p></p></div><div><p class=MsoNormal>ast01*CLI> quit<o:p></o:p></p></div><div><p class=MsoNormal>Asterisk cleanly ending (0).<o:p></o:p></p></div><div><p class=MsoNormal>Executing last minute cleanups<o:p></o:p></p></div><div><p class=MsoNormal>[root@ast01 asterisk]# asterisk -rx'ss7 show cics 1' | grep Pending<o:p></o:p></p></div><div><p class=MsoNormal> 2 518 2 Pending <o:p></o:p></p></div><div><p class=MsoNormal>[root@ast01 asterisk]# <o:p></o:p></p></div></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>TIA.<o:p></o:p></p></div><div><p class=MsoNormal><span style='color:#888888'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='color:#888888'>Dovid<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='color:#888888'><o:p> </o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p></div></div><p class=MsoNormal><span class=m-5749642861328398197hoenzb><span style='color:#888888'>--</span></span><span style='color:#888888'><br><span class=m-5749642861328398197hoenzb>_____________________________________________________________________</span><br><span class=m-5749642861328398197hoenzb>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --</span><br><br><span class=m-5749642861328398197hoenzb>asterisk-ss7 mailing list</span><br><span class=m-5749642861328398197hoenzb>To UNSUBSCRIBE or update options visit:</span><br><span class=m-5749642861328398197hoenzb> <a href="http://lists.digium.com/mailman/listinfo/asterisk-ss7" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-ss7</a></span></span><o:p></o:p></p></blockquote></div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal><br>--<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></div></div><p class=MsoNormal><br>--<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></div></body></html>