While browsing through the code in<div><br></div><div>asterisk-1.6.2.10/channels/chan_dahdi.c<br></div><div><br></div><div>I found</div><div><br></div><div>#define NUM_DCHANS              4</div><div><br></div><div>This is hardcoded. Is some other way around is available ?</div>

<div><br></div><div>--</div><div>regards,</div><div><br></div><div>Abdul Basit</div><div><br><br><div class="gmail_quote">On Fri, Mar 16, 2012 at 6:43 PM, Abdul Basit <span dir="ltr">&lt;<a href="mailto:basit.engg@gmail.com">basit.engg@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Here are my configs:</div><div><br></div><div>/etc/dahdi/system.conf</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 &quot;T4XXP (PCI) Card 0 Span 1&quot; (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 &quot;T4XXP (PCI) Card 0 Span 2&quot; 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 &quot;T4XXP (PCI) Card 0 Span 3&quot; 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 &quot;T4XXP (PCI) Card 0 Span 4&quot; 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 &quot;T4XXP (PCI) Card 1 Span 1&quot; 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><div><br></div><div><div># Span 6: TE4/1/2 &quot;T4XXP (PCI) Card 1 Span 2&quot; 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># Span 7: TE4/1/3 &quot;T4XXP (PCI) Card 1 Span 3&quot; 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 &quot;T4XXP (PCI) Card 1 Span 4&quot; 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><br>

</div>
</div><div>---------------------------------------------------------------------------</div><div>/etc/asterisk/chan_dahdi.conf</div><div><br></div><div><div>;Dahdi Channels Configurations</div><div><br></div><div>[channels]</div>


<div>context=ss7in</div><div>usecallerid=yes</div><div>hidecallerid=no</div><div>callwaiting=yes</div><div>usecallingpres=yes</div><div>callwaitingcallerid=yes</div><div>threewaycalling=yes</div><div>transfer=yes</div><div>


canpark=yes</div><div>cancallforward=yes</div><div>callreturn=yes</div><div>echocancel=yes</div><div>echocancelwhenbridged=yes</div><div>relaxdtmf=yes</div><div>rxgain=0.0</div><div>txgain=0.0</div><div>group=0</div><div>


callprogress=yes</div><div>callgroup=1</div><div>pickupgroup=1</div><div>immediate=no</div><div>accountcode=</div><div><br></div><div>signalling=ss7</div><div>ss7type=itu</div><div>ss7_called_nai=national</div><div>ss7_calling_nai=national</div>


<div>networkindicator=national</div><div>ss7_internationalprefix=00</div><div>ss7_nationalprefix=0</div><div><br></div><div>linkset=1<br></div></div><div><div>pointcode=1234           ;OPC - Our side</div><div>defaultdpc=5678          ;DPC - MSC end</div>


<div>adjpointcode=5678       ;ACP - MSC end</div><div><br></div><div>group=0</div><div><br></div><div>;port 1</div><div>sigchan=16</div><div>cicbeginswith=1</div><div>channel=1-15</div><div>cicbeginswith=17</div><div>channel=17-31</div>


<div><br></div><div>;port 2</div><div>sigchan=47</div><div>cicbeginswith=33</div><div>channel=32-46</div><div>cicbeginswith=49</div><div>channel=48-62</div><div><br></div><div>;port 3</div><div>sigchan=78</div><div>cicbeginswith=65</div>


<div>channel=63-77</div><div>cicbeginswith=81</div><div>channel=79-93</div></div><div><div><br></div><div>;port 4</div><div>sigchan=109</div><div>cicbeginswith=97</div><div>channel=94-108</div><div>cicbeginswith=113</div>


<div>channel=110-124</div><div><br></div><div>group=1</div><div><br></div><div>;port 5</div><div>sigchan=140</div><div>cicbeginswith=129</div><div>channel=125-139</div><div>cicbeginswith=145</div><div>channel=141-155</div>


<div><br></div><div>;port 6</div><div>;sigchan=171</div><div>cicbeginswith=161</div><div>channel=156-170</div><div>cicbeginswith=177</div><div>channel=172-186</div><div><br></div><div>;port 7</div><div>;sigchan=202</div>

<div>
cicbeginswith=193</div><div>channel=187-201</div><div>cicbeginswith=209</div><div>channel=203-217</div><div><br></div><div>;port 8</div><div>;sigchan=233</div><div>cicbeginswith=225</div><div>channel=218-232</div><div>cicbeginswith=241</div>


<div>channel=234-248</div></div><div><br></div><div><br></div><div>Only 1st four slc are available. I commented out the rest.</div><div>Seems some config issue or so.</div><div><br></div><div>DAHDI Version: 2.3.0.1</div>

<div>
Asterisk 1.6.2.10 <br></div><div>libss7 version: 1.0.2 </div><div><br></div><div>--</div><div>regards,</div><div><br></div><div>Abdul Basit</div><div class="HOEnZb"><div class="h5"><div><br></div><br><br><div class="gmail_quote">

On Fri, Mar 16, 2012 at 6:09 PM, Gustavo Mársico <span dir="ltr">&lt;<a href="mailto:gustavomarsico@gmail.com" target="_blank">gustavomarsico@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">16, four bits.<div>Please paste your config, I&#39;d to create 12 using libss7 with no problems.</div>


<div><br></div><div><br><div><div><div><div>On Mar 16, 2012, at 10:06 AM, Abdul Basit wrote:</div><br></div></div><blockquote type="cite"><div><div><div><font color="#222222" face="arial, sans-serif">What is the max number of SLCs we can define on a single linkset?</font></div>


<div><font color="#222222" face="arial, sans-serif"><br></font></div><font color="#222222" face="arial, sans-serif">Is it possible to define 1 SLC per E1s for a 8 E1s server using libss7 or chan_ss7?</font><div>

<font color="#222222" face="arial, sans-serif"><br></font></div><div><font color="#222222" face="arial, sans-serif">Using libss7, trying to define 5 SLCs on a single linkset on 8 E1 server and getting following error.</font></div>




<div><font color="#222222" face="arial, sans-serif"><br></font></div><div><font color="#222222"><font face="&#39;courier new&#39;, monospace">[Mar 16 17:53:45] ERROR[23775]: chan_dahdi.c:15561 linkset_addsigchan: Too many sigchans on linkset 1</font><br>




</font><br>Any advise.<br><br>-- <br><div>Regards,</div><br>Abdul Basit<br>
</div></div></div><span><font color="#888888">
--<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></font></span></blockquote></div><br>

</div>
</div><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></blockquote></div></div></div></blockquote></div>
</div>