yap.<div>here is my system.conf:</div><div><br></div><div><div>#</div><div># Global data</div><div><br></div><div>loadzone = us</div><div>defaultzone = us</div><div><br></div><div># Span 1: TE4/0/1 "T4XXP (PCI) Card 0 Span 1" (MASTER) HDB3/CCS</div>
<div>span=1,1,0,ccs,hdb3</div><div>bchan=1-15,17-31</div><div>mtp2=16</div><div>echocanceller=mg2,1-15,17-31</div><div><br></div><div># Span 2: TE4/0/2 "T4XXP (PCI) Card 0 Span 2" HDB3/CCS</div><div>span=2,2,0,ccs,hdb3</div>
<div>bchan=32-46,48-62</div><div>mtp2=47</div><div>echocanceller=mg2,32-46,48-62</div><div><br></div><div># Span 3: TE4/0/3 "T4XXP (PCI) Card 0 Span 3" HDB3/CCS</div><div>span=3,3,0,ccs,hdb3</div><div>bchan=63-77,79-93</div>
<div>mtp2=78</div><div>echocanceller=mg2,63-77,79-93</div><div><br></div><div># Span 4: TE4/0/4 "T4XXP (PCI) Card 0 Span 4" HDB3/CCS</div><div>span=4,4,0,ccs,hdb3</div><div>bchan=94-108,110-124</div><div>mtp2=109</div>
<div>echocanceller=mg2,94-108,110-124</div><div><br></div><div># Span 5: TE4/1/1 "T4XXP (PCI) Card 1 Span 1" HDB3/CCS</div><div>span=5,5,0,ccs,hdb3</div><div>bchan=125-139,141-155</div><div>mtp2=140</div><div>echocanceller=mg2,125-139,141-155</div>
<div><br></div><div># Span 6: TE4/1/2 "T4XXP (PCI) Card 1 Span 2" HDB3/CCS</div><div>span=6,6,0,ccs,hdb3</div><div>bchan=156-170,172-186</div><div>mtp2=171</div><div>echocanceller=mg2,156-170,172-186</div><div>
<br>
</div><div><div># Span 7: TE4/1/3 "T4XXP (PCI) Card 1 Span 3" HDB3/CCS</div><div>span=7,7,0,ccs,hdb3</div><div>bchan=187-201,203-217</div><div>mtp2=202</div><div>echocanceller=mg2,187-201,203-217</div><div><br>
</div>
<div># Span 8: TE4/1/4 "T4XXP (PCI) Card 1 Span 4" HDB3/CCS</div><div>span=8,8,0,ccs,hdb3</div><div>bchan=218-232,234-248</div><div>mtp2=233</div><div>echocanceller=mg2,218-232,234-248</div></div><div><br></div>
<div>--</div><div>regards,</div><div><br></div><div>abdul basit</div><div><br></div><br><div class="gmail_quote">On Tue, Mar 27, 2012 at 12:46 PM, Kaloyan Kovachev <span dir="ltr"><<a href="mailto:kkovachev@varna.net">kkovachev@varna.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
On Mon, 26 Mar 2012 20:18:48 +0500, Abdul Basit <<a href="mailto:basit.engg@gmail.com">basit.engg@gmail.com</a>><br>
wrote:<br>
<div class="im">> I recompiled libss7 and asterisk with<br>
><br>
> libss7-1.0.2/ss7_internal.h:#define SS7_MAX_LINKS 16<br>
><br>
> asterisk-1.6.2.10/channels/chan_dahdi.c:#define NUM_DCHANS 16<br>
><br>
> But as soon as i add 5th link, i get error<br>
><br>
> Command 'module load chan_dahdi.so' failed.<br>
> [Mar 21 16:25:28] ERROR[10641]: chan_dahdi.c:15568 linkset_addsigchan:<br>
> Unable to open SS7 sigchan 140 (No such device or address)<br>
<br>
</div>have you (re)defined it in system.conf or it is still commented out?<br>
<div class="HOEnZb"><div class="h5"><br>
><br>
> While with 4 signalling links its perfect.<br>
><br>
> [Mar 21 16:46:05] Loaded chan_dahdi.so => (DAHDI Telephony Driver<br>
w/SS7)<br>
> *CLI> [Mar 21 16:46:05] MTP2 link up (SLC 0)<br>
> [Mar 21 16:46:05] MTP2 link up (SLC 1)<br>
> [Mar 21 16:46:05] --- SS7 Up ---<br>
> [Mar 21 16:46:05] Resetting CICs 1 to 15<br>
> [Mar 21 16:46:05] Resetting CICs 17 to 31<br>
> [Mar 21 16:46:05] Resetting CICs 33 to 47<br>
> [Mar 21 16:46:05] Resetting CICs 49 to 63<br>
> [Mar 21 16:46:05] Resetting CICs 65 to 79<br>
> [Mar 21 16:46:05] Resetting CICs 81 to 95<br>
> [Mar 21 16:46:05] Resetting CICs 97 to 111<br>
> [Mar 21 16:46:05] Resetting CICs 113 to 127<br>
> [Mar 21 16:46:05] Resetting CICs 129 to 143<br>
> [Mar 21 16:46:05] Resetting CICs 145 to 159<br>
> [Mar 21 16:46:05] Resetting CICs 161 to 175<br>
> [Mar 21 16:46:05] Resetting CICs 177 to 191<br>
> [Mar 21 16:46:05] Resetting CICs 193 to 207<br>
> [Mar 21 16:46:05] Resetting CICs 209 to 223<br>
> [Mar 21 16:46:05] Resetting CICs 225 to 239<br>
> [Mar 21 16:46:05] Resetting CICs 241 to 255<br>
> [Mar 21 16:46:06] MTP2 link up (SLC 3)<br>
> [Mar 21 16:46:06] MTP2 link up (SLC 2)<br>
><br>
> Checking with my provider. Will update after coordination.<br>
><br>
> --<br>
><br>
> regards,<br>
><br>
> Abdul Basit<br>
><br>
><br>
><br>
> On Mon, Mar 19, 2012 at 12:16 AM, Kaloyan Kovachev<br>
> <<a href="mailto:kkovachev@varna.net">kkovachev@varna.net</a>>wrote:<br>
><br>
>> 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">basit.engg@gmail.com</a>><br>
>> 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">kkovachev@varna.net</a>>wrote:<br>
>> ><br>
>> >> On Fri, 16 Mar 2012 23:25:40 +0500, Abdul Basit<br>
<<a href="mailto:basit.engg@gmail.com">basit.engg@gmail.com</a>><br>
>> >> wrote:<br>
>> >> > This is production machine. I found it as stable one and working<br>
>> >> > 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<br>
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<br>
just<br>
>> >> NUM_DCHANS)<br>
>> >><br>
>> >> also NUM_SPANS = 32 unless you have compiled asterisk with the 'lots<br>
>> >> of<br>
>> >> spans' option in which case it is 128<br>
>> >><br>
>> >> in short upgrading will not solve your problem - you should change<br>
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">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">kfleming@digium.com</a> | SIP: <a href="mailto:kpfleming@digium.com">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></div></div></blockquote></div><br>
</div>