Kaloyan,<div><br></div><div>I really appreciate your consideration and help.</div><div><br></div><div>I tried swapping the sigchans 109 with 140. But then this 4th link didnt come up. I dont have extra hardware to verify 8 sigchans in lab. </div>
<div>I believe we are good. This seems provider end issue. Provider claimed to have 8 links configured.</div><div><br></div><div>Can you point me how can we verify number of signalling links configured without their help?</div>
<div><br></div><div>--</div><div>regards,</div><div><br></div><div>abdul basit</div><div><br></div><div> <br><br><div class="gmail_quote">On Tue, Mar 27, 2012 at 7:27 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">On Tue, 27 Mar 2012 19:00:53 +0500, Abdul Basit <<a href="mailto:basit.engg@gmail.com">basit.engg@gmail.com</a>><br>
wrote:<br>
<div class="im">> Here is the trail<br>
><br>
> #dahdi_cfg -vvvt | grep MTP2<br>
><br>
> DAHDI Tools Version - 2.3.0<br>
> Channel 16: MTP2 (Default) (Echo Canceler: none) (Slaves: 16)<br>
> Channel 47: MTP2 (Default) (Echo Canceler: none) (Slaves: 47)<br>
> Channel 78: MTP2 (Default) (Echo Canceler: none) (Slaves: 78)<br>
> Channel 109: MTP2 (Default) (Echo Canceler: none) (Slaves: 109)<br>
> Channel 140: MTP2 (Default) (Echo Canceler: none) (Slaves: 140)<br>
> Channel 171: MTP2 (Default) (Echo Canceler: none) (Slaves: 171)<br>
> Channel 202: MTP2 (Default) (Echo Canceler: none) (Slaves: 202)<br>
> Channel 233: MTP2 (Default) (Echo Canceler: none) (Slaves: 233)<br>
><br>
><br>
> Sets up 248 channels to configure.<br>
><br>
> This may help.<br>
<br>
</div>I am afraid i can't help much from here - the channel is configured, but<br>
Asterisk can't find it, which is weird.<br>
<br>
last idea ... if you replace one of the old sigchans (e.g. 109) with 140<br>
does it work?<br>
<div class="HOEnZb"><div class="h5"><br>
><br>
> --<br>
> regards,<br>
><br>
> abdul basit<br>
><br>
><br>
><br>
><br>
> On Tue, Mar 27, 2012 at 6:01 PM, Kaloyan Kovachev<br>
> <<a href="mailto:kkovachev@varna.net">kkovachev@varna.net</a>>wrote:<br>
><br>
>> On Tue, 27 Mar 2012 17:35:34 +0500, Abdul Basit <<a href="mailto:basit.engg@gmail.com">basit.engg@gmail.com</a>><br>
>> wrote:<br>
>> > yap.<br>
>> > here is my system.conf:<br>
>> ><br>
>> > #<br>
>> > # Global data<br>
>> ><br>
>> > loadzone = us<br>
>> > defaultzone = us<br>
>> ><br>
>> > # Span 1: TE4/0/1 "T4XXP (PCI) Card 0 Span 1" (MASTER) HDB3/CCS<br>
>> > span=1,1,0,ccs,hdb3<br>
>> > bchan=1-15,17-31<br>
>> > mtp2=16<br>
>> > echocanceller=mg2,1-15,17-31<br>
>> ><br>
>> > # Span 2: TE4/0/2 "T4XXP (PCI) Card 0 Span 2" HDB3/CCS<br>
>> > span=2,2,0,ccs,hdb3<br>
>> > bchan=32-46,48-62<br>
>> > mtp2=47<br>
>> > echocanceller=mg2,32-46,48-62<br>
>> ><br>
>> > # Span 3: TE4/0/3 "T4XXP (PCI) Card 0 Span 3" HDB3/CCS<br>
>> > span=3,3,0,ccs,hdb3<br>
>> > bchan=63-77,79-93<br>
>> > mtp2=78<br>
>> > echocanceller=mg2,63-77,79-93<br>
>> ><br>
>> > # Span 4: TE4/0/4 "T4XXP (PCI) Card 0 Span 4" HDB3/CCS<br>
>> > span=4,4,0,ccs,hdb3<br>
>> > bchan=94-108,110-124<br>
>> > mtp2=109<br>
>> > echocanceller=mg2,94-108,110-124<br>
>> ><br>
>> > # Span 5: TE4/1/1 "T4XXP (PCI) Card 1 Span 1" HDB3/CCS<br>
>> > span=5,5,0,ccs,hdb3<br>
>> > bchan=125-139,141-155<br>
>> > mtp2=140<br>
>> > echocanceller=mg2,125-139,141-155<br>
>> ><br>
>> > # Span 6: TE4/1/2 "T4XXP (PCI) Card 1 Span 2" HDB3/CCS<br>
>> > span=6,6,0,ccs,hdb3<br>
>> > bchan=156-170,172-186<br>
>> > mtp2=171<br>
>> > echocanceller=mg2,156-170,172-186<br>
>> ><br>
>> > # Span 7: TE4/1/3 "T4XXP (PCI) Card 1 Span 3" HDB3/CCS<br>
>> > span=7,7,0,ccs,hdb3<br>
>> > bchan=187-201,203-217<br>
>> > mtp2=202<br>
>> > echocanceller=mg2,187-201,203-217<br>
>> ><br>
>> > # Span 8: TE4/1/4 "T4XXP (PCI) Card 1 Span 4" HDB3/CCS<br>
>> > span=8,8,0,ccs,hdb3<br>
>> > bchan=218-232,234-248<br>
>> > mtp2=233<br>
>> > echocanceller=mg2,218-232,234-248<br>
>> ><br>
>> > --<br>
>> > regards,<br>
>> ><br>
>> > abdul basit<br>
>> ><br>
>> ><br>
>> > On Tue, Mar 27, 2012 at 12:46 PM, Kaloyan Kovachev<br>
>> > <<a href="mailto:kkovachev@varna.net">kkovachev@varna.net</a>>wrote:<br>
>> ><br>
>> >> Hi,<br>
>> >><br>
>> >> On Mon, 26 Mar 2012 20:18:48 +0500, Abdul Basit<br>
<<a href="mailto:basit.engg@gmail.com">basit.engg@gmail.com</a>><br>
>> >> wrote:<br>
>> >> > 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<br>
>> linkset_addsigchan:<br>
>> >> > Unable to open SS7 sigchan 140 (No such device or address)<br>
>> >><br>
>><br>
>> sigchan 140 is not found at all, which is outside of asterisk/libss7,<br>
but<br>
>> dahdi does not place such limits (1024 is far more than 16)<br>
>><br>
>> what does dahdi_cfg -vvt say? Do you see channel 140 being configured?<br>
>><br>
>> >> have you (re)defined it in system.conf or it is still commented out?<br>
>> >><br>
>> >> ><br>
>> >> > While with 4 signalling links its perfect.<br>
>> >> ><br>
>> >> > [Mar 21 16:46:05] Loaded chan_dahdi.so => (DAHDI Telephony<br>
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<br>
and<br>
>> >> >> SS7_MAX_ADJSPS = 8 (with 6 links actually) for over 3 years<br>
without<br>
>> a<br>
>> >> >> problem and as the max SLC is 4 bit it seems right to have 16 as<br>
>> >> >> the<br>
>> >> >> hardcodded maximum<br>
>> >> >><br>
>> >> >> On Sun, 18 Mar 2012 22:54:20 +0500, Abdul Basit<br>
>> <<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<br>
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<br>
>> working<br>
>> >> >> >> > fine<br>
>> >> >> >> with<br>
>> >> >> >> > me.<br>
>> >> >> >> > Moreover, I tested with latest asterisk 1.6.2.23 but this is<br>
>> 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 =<br>
28<br>
>> 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<br>
>> >> >> >> is<br>
>> >> just<br>
>> >> >> >> NUM_DCHANS)<br>
>> >> >> >><br>
>> >> >> >> also NUM_SPANS = 32 unless you have compiled asterisk with the<br>
>> >> >> >> 'lots<br>
>> >> >> >> of<br>
>> >> >> >> spans' option in which case it is 128<br>
>> >> >> >><br>
>> >> >> >> in short upgrading will not solve your problem - you should<br>
>> change<br>
>> >> the<br>
>> >> >> >> hardcoded value and recompile.<br>
>> >> >> >> In my opinion it is safe to increase them all from 4 to 16<br>
>> (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> |<br>
>> 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>
>> -- 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>