number of sigchans on single linkset

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



While browsing through the code in

asterisk-1.6.2.10/channels/chan_dahdi.c

I found

#define NUM_DCHANS              4

This is hardcoded. Is some other way around is available ?

--
regards,

Abdul Basit


On Fri, Mar 16, 2012 at 6:43 PM, Abdul Basit <basit.engg at gmail.com> wrote:

> Here are my configs:
>
> /etc/dahdi/system.conf
> #
> # Global data
>
> loadzone        = us
> defaultzone     = us
>
> # Span 1: TE4/0/1 "T4XXP (PCI) Card 0 Span 1" (MASTER) HDB3/CCS
> span=1,1,0,ccs,hdb3
> bchan=1-15,17-31
> mtp2=16
> echocanceller=mg2,1-15,17-31
>
> # Span 2: TE4/0/2 "T4XXP (PCI) Card 0 Span 2" HDB3/CCS
> span=2,2,0,ccs,hdb3
> bchan=32-46,48-62
> mtp2=47
> echocanceller=mg2,32-46,48-62
>
> # Span 3: TE4/0/3 "T4XXP (PCI) Card 0 Span 3" HDB3/CCS
> span=3,3,0,ccs,hdb3
> bchan=63-77,79-93
> mtp2=78
> echocanceller=mg2,63-77,79-93
>
> # Span 4: TE4/0/4 "T4XXP (PCI) Card 0 Span 4" HDB3/CCS
> span=4,4,0,ccs,hdb3
> bchan=94-108,110-124
> mtp2=109
> echocanceller=mg2,94-108,110-124
>
> # Span 5: TE4/1/1 "T4XXP (PCI) Card 1 Span 1" HDB3/CCS
> span=5,5,0,ccs,hdb3
> bchan=125-139,141-155
> mtp2=140
> echocanceller=mg2,125-139,141-155
>
> # Span 6: TE4/1/2 "T4XXP (PCI) Card 1 Span 2" HDB3/CCS
> span=6,6,0,ccs,hdb3
> bchan=156-170,172-186
> #mtp2=171
> echocanceller=mg2,156-170,172-186
>
> # Span 7: TE4/1/3 "T4XXP (PCI) Card 1 Span 3" HDB3/CCS
> span=7,7,0,ccs,hdb3
> bchan=187-201,203-217
> #mtp2=202
> echocanceller=mg2,187-201,203-217
>
> # Span 8: TE4/1/4 "T4XXP (PCI) Card 1 Span 4" HDB3/CCS
> span=8,8,0,ccs,hdb3
> bchan=218-232,234-248
> #mtp2=233
> echocanceller=mg2,218-232,234-248
>
>
> ---------------------------------------------------------------------------
> /etc/asterisk/chan_dahdi.conf
>
> ;Dahdi Channels Configurations
>
> [channels]
> context=ss7in
> usecallerid=yes
> hidecallerid=no
> callwaiting=yes
> usecallingpres=yes
> callwaitingcallerid=yes
> threewaycalling=yes
> transfer=yes
> canpark=yes
> cancallforward=yes
> callreturn=yes
> echocancel=yes
> echocancelwhenbridged=yes
> relaxdtmf=yes
> rxgain=0.0
> txgain=0.0
> group=0
> callprogress=yes
> callgroup=1
> pickupgroup=1
> immediate=no
> accountcode=
>
> signalling=ss7
> ss7type=itu
> ss7_called_nai=national
> ss7_calling_nai=national
> networkindicator=national
> ss7_internationalprefix=00
> ss7_nationalprefix=0
>
> linkset=1
> pointcode=1234           ;OPC - Our side
> defaultdpc=5678          ;DPC - MSC end
> adjpointcode=5678       ;ACP - MSC end
>
> group=0
>
> ;port 1
> sigchan=16
> cicbeginswith=1
> channel=1-15
> cicbeginswith=17
> channel=17-31
>
> ;port 2
> sigchan=47
> cicbeginswith=33
> channel=32-46
> cicbeginswith=49
> channel=48-62
>
> ;port 3
> sigchan=78
> cicbeginswith=65
> channel=63-77
> cicbeginswith=81
> channel=79-93
>
> ;port 4
> sigchan=109
> cicbeginswith=97
> channel=94-108
> cicbeginswith=113
> channel=110-124
>
> group=1
>
> ;port 5
> sigchan=140
> cicbeginswith=129
> channel=125-139
> cicbeginswith=145
> channel=141-155
>
> ;port 6
> ;sigchan=171
> cicbeginswith=161
> channel=156-170
> cicbeginswith=177
> channel=172-186
>
> ;port 7
> ;sigchan=202
>  cicbeginswith=193
> channel=187-201
> cicbeginswith=209
> channel=203-217
>
> ;port 8
> ;sigchan=233
> cicbeginswith=225
> channel=218-232
> cicbeginswith=241
> channel=234-248
>
>
> Only 1st four slc are available. I commented out the rest.
> Seems some config issue or so.
>
> DAHDI Version: 2.3.0.1
>  Asterisk 1.6.2.10
> libss7 version: 1.0.2
>
> --
> regards,
>
> Abdul Basit
>
>
>
> On Fri, Mar 16, 2012 at 6:09 PM, Gustavo M?rsico <gustavomarsico at gmail.com
> > wrote:
>
>> 16, four bits.
>> Please paste your config, I'd to create 12 using libss7 with no problems.
>>
>>
>> On Mar 16, 2012, at 10:06 AM, Abdul Basit wrote:
>>
>> What is the max number of SLCs we can define on a single linkset?
>>
>> Is it possible to define 1 SLC per E1s for a 8 E1s server using libss7 or
>> chan_ss7?
>>
>> Using libss7, trying to define 5 SLCs on a single linkset on 8 E1 server
>> and getting following error.
>>
>> [Mar 16 17:53:45] ERROR[23775]: chan_dahdi.c:15561 linkset_addsigchan:
>> Too many sigchans on linkset 1
>>
>> Any advise.
>>
>> --
>> Regards,
>>
>> Abdul Basit
>>  --
>> _____________________________________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>
>> asterisk-ss7 mailing list
>> To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-ss7
>>
>>
>>
>> --
>> _____________________________________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>
>> asterisk-ss7 mailing list
>> To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-ss7
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-ss7/attachments/20120316/d068db15/attachment-0001.htm>


[Index of Archives]     [Asterisk App Development]     [PJ SIP]     [Gnu Gatekeeper]     [IETF Sipping]     [Info Cyrus]     [ALSA User]     [Fedora Linux Users]     [Linux SCTP]     [DCCP]     [Gimp]     [Yosemite Backpacking]     [Deep Creek Hot Springs]     [Yosemite Campsites]     [ISDN Cause Codes]     [Asterisk Books]

  Powered by Linux