<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">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 cite="mid:5146EB13.6090008@gmail.com" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
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>
<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>