<div><br></div>I recompiled libss7 and asterisk with <div><br></div><div><font face="'courier new', monospace">libss7-1.0.2/ss7_internal.h:#define SS7_MAX_LINKS 16</font></div><div><font face="'courier new', monospace"><br>
</font></div><div><font face="'courier new', monospace">asterisk-1.6.2.10/channels/chan_dahdi.c:#define NUM_DCHANS 16</font></div><div><br></div><div>But as soon as i add 5th link, i get error</div><div><br>
</div>
<div><font face="'courier new', monospace">Command 'module load chan_dahdi.so' failed.</font></div><div><font face="'courier new', monospace">[Mar 21 16:25:28] ERROR[10641]: chan_dahdi.c:15568 linkset_addsigchan: Unable to open SS7 sigchan 140 (No such device or address)</font></div>
<div> </div><div>While with 4 signalling links its perfect.</div><div><br></div><div><div><font face="'courier new', monospace"> [Mar 21 16:46:05] Loaded chan_dahdi.so => (DAHDI Telephony Driver w/SS7)</font></div>
<div><font face="'courier new', monospace">*CLI> [Mar 21 16:46:05] MTP2 link up (SLC 0)</font></div><div><font face="'courier new', monospace">[Mar 21 16:46:05] MTP2 link up (SLC 1)</font></div><div><font face="'courier new', monospace">[Mar 21 16:46:05] --- SS7 Up ---</font></div>
<div><font face="'courier new', monospace">[Mar 21 16:46:05] Resetting CICs 1 to 15</font></div><div><font face="'courier new', monospace">[Mar 21 16:46:05] Resetting CICs 17 to 31</font></div><div><font face="'courier new', monospace">[Mar 21 16:46:05] Resetting CICs 33 to 47</font></div>
<div><font face="'courier new', monospace">[Mar 21 16:46:05] Resetting CICs 49 to 63</font></div><div><font face="'courier new', monospace">[Mar 21 16:46:05] Resetting CICs 65 to 79</font></div><div><font face="'courier new', monospace">[Mar 21 16:46:05] Resetting CICs 81 to 95</font></div>
<div><font face="'courier new', monospace">[Mar 21 16:46:05] Resetting CICs 97 to 111</font></div><div><font face="'courier new', monospace">[Mar 21 16:46:05] Resetting CICs 113 to 127</font></div><div><font face="'courier new', monospace">[Mar 21 16:46:05] Resetting CICs 129 to 143</font></div>
<div><font face="'courier new', monospace">[Mar 21 16:46:05] Resetting CICs 145 to 159</font></div><div><font face="'courier new', monospace">[Mar 21 16:46:05] Resetting CICs 161 to 175</font></div><div><font face="'courier new', monospace">[Mar 21 16:46:05] Resetting CICs 177 to 191</font></div>
<div><font face="'courier new', monospace">[Mar 21 16:46:05] Resetting CICs 193 to 207</font></div><div><font face="'courier new', monospace">[Mar 21 16:46:05] Resetting CICs 209 to 223</font></div><div><font face="'courier new', monospace">[Mar 21 16:46:05] Resetting CICs 225 to 239</font></div>
<div><font face="'courier new', monospace">[Mar 21 16:46:05] Resetting CICs 241 to 255</font></div><div><font face="'courier new', monospace">[Mar 21 16:46:06] MTP2 link up (SLC 3)</font></div><div><font face="'courier new', monospace">[Mar 21 16:46:06] MTP2 link up (SLC 2)</font></div>
</div><div><br></div><div>Checking with my provider. Will update after coordination. </div><div><br></div><div>--</div><div><br></div><div>regards,</div><div><br></div><div>Abdul Basit</div><div><br></div><div><br></div>
<div><br></div><div>On Mon, Mar 19, 2012 at 12:16 AM, Kaloyan Kovachev <span dir="ltr"><<a href="mailto:kkovachev@varna.net" target="_blank">kkovachev@varna.net</a>></span> wrote:</div>
<div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Not sure about SIG_SS7_NUM_DCHANS, but i am using SS7_MAX_LINKS and<br>
SS7_MAX_ADJSPS = 8 (with 6 links actually) for over 3 years without a<br>
problem and as the max SLC is 4 bit it seems right to have 16 as the<br>
hardcodded maximum<br>
<br>
On Sun, 18 Mar 2012 22:54:20 +0500, Abdul Basit <<a href="mailto:basit.engg@gmail.com" target="_blank">basit.engg@gmail.com</a>><br>
<div><div>wrote:<br>
> Kaloyan,<br>
><br>
> Thank you for suggestion.<br>
> I will update and recompile asterisk. Will get back with results.<br>
><br>
> --<br>
> regards,<br>
><br>
> Abdul Basit<br>
><br>
><br>
><br>
> On Sat, Mar 17, 2012 at 12:47 PM, Kaloyan Kovachev<br>
> <<a href="mailto:kkovachev@varna.net" target="_blank">kkovachev@varna.net</a>>wrote:<br>
><br>
>> On Fri, 16 Mar 2012 23:25:40 +0500, Abdul Basit <<a href="mailto:basit.engg@gmail.com" target="_blank">basit.engg@gmail.com</a>><br>
>> wrote:<br>
>> > This is production machine. I found it as stable one and working fine<br>
>> with<br>
>> > me.<br>
>> > Moreover, I tested with latest asterisk 1.6.2.23 but this is not<br>
>> > solving<br>
>> > slc problem.<br>
>> ><br>
>> > If someone has better idea/suggestion thanks in advance.<br>
>><br>
>> There are few hardcoded limits:<br>
>> in libss7<br>
>> ss7_internal.h SS7_MAX_LINKS 4<br>
>> ss7_internal.h SS7_MAX_ADJSPS 4<br>
>><br>
>> in Asterisk 1.8 and up to trunk<br>
>> sig_ss7.h SIG_SS7_MAX_CHANNELS 672 (which is 1 DS3 = 28 T1 or<br>
>> about 22 E1)<br>
>> which is equal to MAX_CHANNELS in older versions<br>
>> sig_ss7.h SIG_SS7_NUM_DCHANS 4 (in older versions is just<br>
>> NUM_DCHANS)<br>
>><br>
>> also NUM_SPANS = 32 unless you have compiled asterisk with the 'lots of<br>
>> spans' option in which case it is 128<br>
>><br>
>> in short upgrading will not solve your problem - you should change the<br>
>> hardcoded value and recompile.<br>
>> In my opinion it is safe to increase them all from 4 to 16 (links,<br>
adjspc<br>
>> and dchans)<br>
>><br>
>> ><br>
>> > --<br>
>> > regards,<br>
>> ><br>
>> > Abdul Basit<br>
>> ><br>
>> ><br>
>> ><br>
>> > On Fri, Mar 16, 2012 at 8:54 PM, Kevin P. Fleming<br>
>> > <<a href="mailto:kpfleming@digium.com" target="_blank">kpfleming@digium.com</a>>wrote:<br>
>> ><br>
>> >> On 03/16/2012 08:52 AM, Abdul Basit wrote:<br>
>> >><br>
>> >>> While browsing through the code in<br>
>> >>><br>
>> >>> asterisk-1.6.2.10/channels/**chan_dahdi.c<br>
>> >>><br>
>> >><br>
>> >> Why are you using such an old version of Asterisk?<br>
>> >><br>
>> >> --<br>
>> >> Kevin P. Fleming<br>
>> >> Digium, Inc. | Director of Software Technologies<br>
>> >> Jabber: <a href="mailto:kfleming@digium.com" target="_blank">kfleming@digium.com</a> | SIP: <a href="mailto:kpfleming@digium.com" target="_blank">kpfleming@digium.com</a> | Skype:<br>
>> >> kpfleming<br>
>> >> 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA<br>
>> >> Check us out at <a href="http://www.digium.com" target="_blank">www.digium.com</a> & <a href="http://www.asterisk.org" target="_blank">www.asterisk.org</a><br>
>> >><br>
>> >><br>
>> >> --<br>
>> >><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>
>> >><br>
>> >> asterisk-ss7 mailing list<br>
>> >> To UNSUBSCRIBE or update options visit:<br>
>> >><br>
>> <a href="http://lists.digium.com/**mailman/listinfo/asterisk-ss7" target="_blank">http://lists.digium.com/**mailman/listinfo/asterisk-ss7</a><<br>
>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-ss7" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-ss7</a>><br>
>> >><br>
>><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><br>
>><br>
<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></div></div></blockquote></div>
</div>