<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">@Goke M Aruna : The used cable is a
pri crossed cable.<br>
<br>
Telephony card : OpenVox PRI x 4Ports<br>
<br>
On 03/18/2013 12:36 PM, Goke M Aruna wrote:<br>
</div>
<blockquote
cite="mid:CAE=Ditr+bUe9Y06f65bZNVB9i8xsuJruAdCncbRUOH5_qk1PPA@mail.gmail.com"
type="cite">Are you using a straight cable or cross cable?
<div><br>
</div>
<div>Regards<br>
<br>
<div class="gmail_quote">On Mon, Mar 18, 2013 at 12:18 PM, amine
<span dir="ltr"><<a moz-do-not-send="true"
href="mailto:ferhi.med.amine@gmail.com" target="_blank">ferhi.med.amine@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Hi All,<br>
<br>
@Matthias van der Vlies : Thanks a lot for the
information, indeed that was the solution for my first
problem.<br>
<br>
Now I have a Link with the state INSERVICE in both
machines.<br>
<br>
Machine 1: <br>
<pre># rasterisk -x "ss7 link status"</pre>
<pre>linkset:siuc, link:l2/16, state:INSERVICE, sls:1, total: 1261312/1261328</pre>
<br>
<br>
Machine 2:<br>
<pre># rasterisk -x "ss7 link status"</pre>
<pre>linkset:siuc, link:l2/16, state:INSERVICE, sls:1, total: 1493920/1493952</pre>
<br>
Still i have the next issues :<br>
<pre>CLI> ss7 linestat </pre>
<pre>Linkset: siuc</pre>
<pre><font color="#ff0000">CIC 1 Idle Reset pending</font></pre>
<pre>CIC 2 Idle Reset pending</pre>
<pre>CIC 3 Idle Reset pending</pre>
<pre>CIC 4 Idle Reset pending</pre>
<pre>CIC 5 Idle Reset pending</pre>
<pre>CIC 6 Idle Reset pending</pre>
<pre>CIC 7 Idle Reset pending</pre>
<pre>CIC 8 Idle Reset pending</pre>
<pre>CIC 9 Idle Reset pending</pre>
<pre>CIC 10 Idle Reset pending</pre>
<pre>CIC 11 Idle Reset pending</pre>
<pre>CIC 12 Idle Reset pending</pre>
<pre>CIC 13 Idle Reset pending</pre>
<pre>CIC 14 Idle Reset pending</pre>
<pre>CIC 15 Idle Reset pending</pre>
<pre>CIC 17 Idle Reset pending</pre>
<pre>CIC 18 Idle Reset pending</pre>
<pre>CIC 19 Idle Reset pending</pre>
<pre>CIC 20 Idle Reset pending</pre>
<pre>CIC 21 Idle Reset pending</pre>
<pre>CIC 22 Idle Reset pending</pre>
<pre>CIC 23 Idle Reset pending</pre>
<pre>CIC 24 Idle Reset pending</pre>
<pre>CIC 25 Idle Reset pending</pre>
<pre>CIC 26 Idle Reset pending</pre>
<pre>CIC 27 Idle Reset pending</pre>
<pre>CIC 28 Idle Reset pending</pre>
<pre>CIC 29 Idle Reset pending</pre>
<pre>CIC 30 Idle Reset pending</pre>
<pre>CIC 31 Idle Reset pending
</pre>
And within the logs, I have the next messages :<br>
<font color="#ff0000"><br>
</font>
<pre><font color="#ff0000">[Mar 18 11:20:28] NOTICE[10687]: l4isup.c:1559 t22_timeout: T22 timeout (No "circuit group reset acknowledge" from peer) CIC=1.</font></pre>
<pre><font color="#ff0000">[Mar 18 11:20:28] NOTICE[10687]: l4isup.c:1559 t22_timeout: T22 timeout (No "circuit group reset acknowledge" from peer) CIC=17.</font></pre>
<pre><font color="#ff0000">[Mar 18 11:20:28] WARNING[10687]: l4isup.c:5057 l4isup_event: Received UEC (CIC 1), link 'l2'.</font></pre>
<pre><font color="#ff0000">[Mar 18 11:20:28] WARNING[10687]: l4isup.c:5069 l4isup_event: Received CIC=1 for unequipped circuit (typ=UEC), link 'l2'.</font></pre>
<pre><font color="#ff0000">[Mar 18 11:20:28] WARNING[10687]: l4isup.c:5057 l4isup_event: Received UEC (CIC 17), link 'l2'.</font></pre>
<pre><font color="#ff0000">[Mar 18 11:20:28] WARNING[10687]: l4isup.c:5069 l4isup_event: Received CIC=17 for unequipped circuit (typ=UEC), link 'l2'.</font></pre>
<pre><font color="#ff0000">[Mar 18 11:20:39] WARNING[10687]: l4isup.c:5057 l4isup_event: Received GRS (CIC 1), link 'l2'.</font></pre>
<pre><font color="#ff0000">[Mar 18 11:20:39] WARNING[10687]: l4isup.c:5069 l4isup_event: Received CIC=1 for unequipped circuit (typ=GRS), link 'l2'.</font></pre>
<pre><font color="#ff0000">[Mar 18 11:20:39] WARNING[10687]: l4isup.c:5057 l4isup_event: Received GRS (CIC 17), link 'l2'.</font></pre>
<pre><font color="#ff0000">[Mar 18 11:20:39] WARNING[10687]: l4isup.c:5069 l4isup_event: Received CIC=17 for unequipped circuit (typ=GRS), link 'l2'.</font></pre>
<br>
Any information is welcomed, Thanks in advance.<br>
<br>
Best regards.<br>
Amine<br>
<br>
<br>
On 03/18/2013 10:33 AM, Matthias van der Vlies wrote:<br>
</div>
<blockquote type="cite">
<div>In case you have HW echo cancellation: don't forget
to disable echo cancellation on your signalling
channel.<br>
<br>
Kind regards,<br>
Matthias van der Vlies<br>
<br>
On 03/18/2013 11:23 AM, amine wrote:<br>
</div>
<blockquote type="cite"> Hi All,<br>
<br>
I am new to Asterisk and SS7, I will be exposing the
details of my problem here hoping for guidance and/or
hints about things that I might missed within my
configuration.<br>
<br>
<u>Objective : </u><br>
- Set up SS7 between two Asterisk Boxes using chan_ss7
using PRI Telephony cards cabled directly with a PRI
cable.<br>
<br>
<u>Current configuration :</u><br>
- Asterisk : 1.4.39.2<br>
- Dahdi : 2.5.0.2<br>
- Kernel : 2.6.30.10<br>
- chan_ss7 : 2.1.0 <br>
- 2 Machines : Machine1 (ipbrick144 | 172.31.3.144) +
Machine2 (ipbrick145 | 172.31.3.145)<br>
- chan_dahdi unloaded, chan_ss7 loaded<br>
<br>
The chan_ss7 loads without problem, but i am not able
to have an ALIGNED Link in both machines.<br>
<pre># rasterisk -x "ss7 link status"</pre>
<pre>linkset:siuc, link:l2/16, state:NOT_ALIGNED, sls:1, total: 1857882016/1857882048</pre>
<pre>CLI> ss7 linestat </pre>
<pre>Linkset: siuc</pre>
<pre>CIC 1 Idle Reset pending</pre>
<pre>CIC 2 Idle Reset pending</pre>
<pre>CIC 3 Idle Reset pending</pre>
<pre>CIC 4 Idle Reset pending</pre>
<pre>CIC 5 Idle Reset pending</pre>
<pre>CIC 6 Idle Reset pending</pre>
<pre>CIC 7 Idle Reset pending</pre>
<pre>CIC 8 Idle Reset pending</pre>
<pre>CIC 9 Idle Reset pending</pre>
<pre>CIC 10 Idle Reset pending</pre>
<pre>CIC 11 Idle Reset pending</pre>
<pre>CIC 12 Idle Reset pending</pre>
<pre>CIC 13 Idle Reset pending</pre>
<pre>CIC 14 Idle Reset pending</pre>
<pre>CIC 15 Idle Reset pending</pre>
<pre>CIC 17 Idle Reset pending</pre>
<pre>CIC 18 Idle Reset pending</pre>
<pre>CIC 19 Idle Reset pending</pre>
<pre>CIC 20 Idle Reset pending</pre>
<pre>CIC 21 Idle Reset pending</pre>
<pre>CIC 22 Idle Reset pending</pre>
<pre>CIC 23 Idle Reset pending</pre>
<pre>CIC 24 Idle Reset pending</pre>
<pre>CIC 25 Idle Reset pending</pre>
<pre>CIC 26 Idle Reset pending</pre>
<pre>CIC 27 Idle Reset pending</pre>
<pre>CIC 28 Idle Reset pending</pre>
<pre>CIC 29 Idle Reset pending</pre>
<pre>CIC 30 Idle Reset pending</pre>
<pre>CIC 31 Idle Reset pending</pre>
<br>
- Within the logs, i have the next message :<br>
<pre> WARNING[13581] mtp.c: MTP2 timer T2 timeout (failed to receive 'O', 'N', or 'E' after sending 'O'), initial alignment failed on link 'l2'.
</pre>
- Within the console, i have the next messages when i
manually load chan_ss7 :<br>
<pre>] NOTICE[23391]: config.c:805 load_config_link: Configured link 'l1' on linkset 'siuc', firstcic=1</pre>
<pre>[Mar 15 16:49:38] NOTICE[23391]: config.c:1278 load_config: Configuring OPC 1, DPC 2 for linkset 'siuc'.</pre>
<pre> -- Starting cluster thread, pid=23209.</pre>
<pre> == Registered channel type 'SS7' (SS7 Protocol Driver)</pre>
<pre> -- Starting continuity check thread, pid=23209.</pre>
<pre>[Mar 15 16:49:38] NOTICE[23391]: mtp.c:2467 mtp_init: Initialising 1 signalling links</pre>
<pre> -- Starting MTP thread, pid=23209.</pre>
<pre>[Mar 15 16:49:38] WARNING[23391]: utils.c:176 start_thread: Failed to set thread to realtime priority: Operation not permitted.</pre>
<pre> -- Starting monitor thread, pid=23209.</pre>
<pre>[Mar 15 16:49:38] NOTICE[23418]: mtp.c:2348 mtp_init_link: Initialising link 'l1/16', linkset 'siuc', sls 0.</pre>
<pre>[Mar 15 16:49:38] NOTICE[23418]: mtp.c:2366 mtp_init_link: Signalling channel on link 'l1/16' has signalling type 0x0080.</pre>
<pre>[Mar 15 16:49:38] NOTICE[23418]: mtp.c:2063 mtp_thread_main: Empty Dahdi output buffer detected, outgoing packets may have been lost on link 'l1'.</pre>
<pre> -- SS7 channel loaded successfully.</pre>
<pre> Loaded chan_ss7.so => (SS7 Protocol Support)</pre>
<br>
<br>
- The next configuration is the same between the two
Asterisk boxes.<br>
<br>
<u>ss7.conf</u><u><br>
</u><br>
<pre>[linkset-siuc]</pre>
<pre>; The linkset is enabled</pre>
<pre>enabled => yes</pre>
<pre>; The end-of-pulsing (ST) is not used to determine when incoming address is complete</pre>
<pre>enable_st => no</pre>
<pre>; Reply incoming call with CON rather than ACM and ANM</pre>
<pre>use_connect => yes</pre>
<pre>; The CIC hunting policy (even_mru, odd_lru, seq_lth, seq_htl) is even CIC numbers, most recently used</pre>
<pre>hunting_policy => seq_lth</pre>
<pre>; Incoming calls are placed in the ss7 context in the asterisk dialplan</pre>
<pre>context => ss7</pre>
<pre>; The language for this context is da</pre>
<pre>language => da</pre>
<pre>; The value and action for t35. Value is in msec, action is either st or timeout</pre>
<pre>; If you use overlapped dialling dial plan, you might choose: t35 => 4000,st</pre>
<pre>t35 => 15000,timeout</pre>
<pre>; The subservice field: national (8), international (0), auto or decimal/hex value</pre>
<pre>; The auto means that the subservice is obtained from first received SLTM</pre>
<pre>subservice => auto</pre>
<pre>; The host running the mtp3 service</pre>
<pre>;mtp3server => localhost</pre>
<pre>[link-l1]</pre>
<pre>sltm => no</pre>
<pre>linkset => siuc</pre>
<pre>channels => 1-15,17-31</pre>
<pre>schannel => 16</pre>
<pre>firstcic => 1</pre>
<pre>enabled => yes</pre>
<pre>[link-l2]</pre>
<pre>sltm => no</pre>
<pre>linkset => siuc</pre>
<pre>channels => 1-15,17-31</pre>
<pre>schannel => 16</pre>
<pre>firstcic => 1</pre>
<pre>enabled => yes</pre>
<pre>[host-ipbrick145]</pre>
<pre>default_linkset=>siuc</pre>
<pre>enabled => yes</pre>
<pre>opc => 0x1</pre>
<pre>dpc => siuc:0x2</pre>
<pre>links => l1:1</pre>
<pre>if-1 => 172.31.3.145</pre>
<pre>[host-ipbrick144]</pre>
<pre>default_linkset=>siuc</pre>
<pre>enabled => yes</pre>
<pre>opc => 0x1</pre>
<pre>dpc => siuc:0x2</pre>
<pre>links => l2:1</pre>
<pre>if-1 => 172.31.3.144
</pre>
<u>/etc/dahdi/system.conf </u>(I tryed using mtp
& bchan, the result was the same)<br>
<u><br>
</u>
<pre>span=1,1,0,ccs,hdb3</pre>
<pre>bchan=1-15,17-31</pre>
<pre>#mtp2=16</pre>
<pre>bchan=16</pre>
<u><br>
</u><u> </u> <br>
<span class="HOEnZb"><font color="#888888">
<fieldset></fieldset>
<br>
<pre>--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by <a moz-do-not-send="true" href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --
asterisk-ss7 mailing list
To UNSUBSCRIBE or update options visit:
<a moz-do-not-send="true" href="http://lists.digium.com/mailman/listinfo/asterisk-ss7" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-ss7</a></pre>
</font></span></blockquote>
<span class="HOEnZb"><font color="#888888"> <br>
<br>
<fieldset></fieldset>
<br>
<pre>--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by <a moz-do-not-send="true" href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --
asterisk-ss7 mailing list
To UNSUBSCRIBE or update options visit:
<a moz-do-not-send="true" href="http://lists.digium.com/mailman/listinfo/asterisk-ss7" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-ss7</a></pre>
</font></span></blockquote>
<br>
</div>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a
moz-do-not-send="true" 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 moz-do-not-send="true"
href="http://lists.digium.com/mailman/listinfo/asterisk-ss7"
target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-ss7</a><br>
</blockquote>
</div>
<br>
</div>
<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>
<br>
</body>
</html>