[asterisk-users] Dahdi, TE220 Device, and Asterisk Problem

Elliot Murdock murdocke at gmail.com
Fri Apr 3 02:48:21 CDT 2009


Hello!

Everything is in order...I became confused between the chan-dahdi.conf
and dahdi-channels.conf files.

Thanks!
Elliot

On Fri, Apr 3, 2009 at 3:37 AM, Martin <asterisklist at callthem.info> wrote:
> make it asterisk -vvvc (CONSOLE MODE)
>
>
> On Thu, Apr 2, 2009 at 7:36 PM, Martin <asterisklist at callthem.info> wrote:
>> ok,
>>
>> 1) you're missing switchtype=euroisdn ...
>>
>> 2)
>> so edit /etc/asteirsk/logger.conf make sure console => is not
>> commented out; if it is then uncomment
>>
>> service asterisk stop
>> asterisk -vvvng
>> CLI>unload chan_zap.so
>> CLI>load chan_zap.so
>>
>> it will tell you now what's the problem with registering the channels
>>
>> Martin
>>
>> On Thu, Apr 2, 2009 at 7:18 PM, Elliot Murdock <murdocke at gmail.com> wrote:
>>> Hello!
>>>
>>> Here is all I got:
>>>
>>> system.info:
>>>
>>> span=1,1,0,ccs,hdb3,crc4
>>> bchan=1-15
>>> dchan=16
>>> bchan=17-31
>>> span=2,2,0,ccs,hdb3,crc4
>>> bchan=32-46
>>> dchan=47
>>> bchan=48-62
>>>
>>>
>>> dahdi_channels.conf:
>>> ;This context forwarding incoming calls to SIP server on group (1),
>>> channels 1-31
>>> context=default
>>> ;singnalling type
>>> signalling=pri_cpe
>>> accountcode=11
>>> group = 1
>>> channel => 1-15
>>> channel => 17-31
>>>
>>> ;other contexts add here
>>> context=default
>>> signalling=pri_cpe
>>> resetinterval=never
>>> group = 2
>>> channel => 32-46
>>> channel => 48-62
>>>
>>> dahdi_scan:
>>>
>>> [1]
>>> active=yes
>>> alarms=RED
>>> description=T2XXP (PCI) Card 0 Span 1
>>> name=TE2/0/1
>>> manufacturer=Digium
>>> devicetype=Wildcard TE220 (4th Gen)
>>> location=Board ID Switch 0
>>> basechan=1
>>> totchans=31
>>> irq=16
>>> type=digital-E1
>>> syncsrc=0
>>> lbo=0 db (CSU)/0-133 feet (DSX-1)
>>> coding_opts=HDB3
>>> framing_opts=CCS,CRC4
>>> coding=HDB3
>>> framing=CCS
>>> [2]
>>> active=yes
>>> alarms=RED
>>> description=T2XXP (PCI) Card 0 Span 2
>>> name=TE2/0/2
>>> manufacturer=Digium
>>> devicetype=Wildcard TE220 (4th Gen)
>>> location=Board ID Switch 0
>>> basechan=32
>>> totchans=31
>>> irq=16
>>> type=digital-E1
>>> syncsrc=0
>>> lbo=0 db (CSU)/0-133 feet (DSX-1)
>>> coding_opts=HDB3
>>> framing_opts=CCS,CRC4
>>> coding=HDB3
>>> framing=CCS
>>>
>>> dahdi_cfg -vv:
>>> DAHDI Tools Version - 2.1.0.2
>>>
>>> DAHDI Version: 2.1.0.4
>>> Echo Canceller(s): MG2
>>> Configuration
>>> ======================
>>>
>>> SPAN 1: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)
>>> SPAN 2: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)
>>>
>>> Channel map:
>>>
>>> Channel 01: Clear channel (Default) (Slaves: 01)
>>> Channel 02: Clear channel (Default) (Slaves: 02)
>>> Channel 03: Clear channel (Default) (Slaves: 03)
>>> Channel 04: Clear channel (Default) (Slaves: 04)
>>> Channel 05: Clear channel (Default) (Slaves: 05)
>>> Channel 06: Clear channel (Default) (Slaves: 06)
>>> Channel 07: Clear channel (Default) (Slaves: 07)
>>> Channel 08: Clear channel (Default) (Slaves: 08)
>>> Channel 09: Clear channel (Default) (Slaves: 09)
>>> Channel 10: Clear channel (Default) (Slaves: 10)
>>> Channel 11: Clear channel (Default) (Slaves: 11)
>>> Channel 12: Clear channel (Default) (Slaves: 12)
>>> Channel 13: Clear channel (Default) (Slaves: 13)
>>> Channel 14: Clear channel (Default) (Slaves: 14)
>>> Channel 15: Clear channel (Default) (Slaves: 15)
>>> Channel 16: D-channel (Default) (Slaves: 16)
>>> Channel 17: Clear channel (Default) (Slaves: 17)
>>> Channel 18: Clear channel (Default) (Slaves: 18)
>>> Channel 19: Clear channel (Default) (Slaves: 19)
>>> Channel 20: Clear channel (Default) (Slaves: 20)
>>> Channel 21: Clear channel (Default) (Slaves: 21)
>>> Channel 22: Clear channel (Default) (Slaves: 22)
>>> Channel 23: Clear channel (Default) (Slaves: 23)
>>> Channel 24: Clear channel (Default) (Slaves: 24)
>>> Channel 25: Clear channel (Default) (Slaves: 25)
>>> Channel 26: Clear channel (Default) (Slaves: 26)
>>> Channel 27: Clear channel (Default) (Slaves: 27)
>>> Channel 28: Clear channel (Default) (Slaves: 28)
>>> Channel 29: Clear channel (Default) (Slaves: 29)
>>> Channel 30: Clear channel (Default) (Slaves: 30)
>>> Channel 31: Clear channel (Default) (Slaves: 31)
>>> Channel 32: Clear channel (Default) (Slaves: 32)
>>> Channel 33: Clear channel (Default) (Slaves: 33)
>>> Channel 34: Clear channel (Default) (Slaves: 34)
>>> Channel 35: Clear channel (Default) (Slaves: 35)
>>> Channel 36: Clear channel (Default) (Slaves: 36)
>>> Channel 37: Clear channel (Default) (Slaves: 37)
>>> Channel 38: Clear channel (Default) (Slaves: 38)
>>> Channel 39: Clear channel (Default) (Slaves: 39)
>>> Channel 40: Clear channel (Default) (Slaves: 40)
>>> Channel 41: Clear channel (Default) (Slaves: 41)
>>> Channel 42: Clear channel (Default) (Slaves: 42)
>>> Channel 43: Clear channel (Default) (Slaves: 43)
>>> Channel 44: Clear channel (Default) (Slaves: 44)
>>> Channel 45: Clear channel (Default) (Slaves: 45)
>>> Channel 46: Clear channel (Default) (Slaves: 46)
>>> Channel 47: D-channel (Default) (Slaves: 47)
>>> Channel 48: Clear channel (Default) (Slaves: 48)
>>> Channel 49: Clear channel (Default) (Slaves: 49)
>>> Channel 50: Clear channel (Default) (Slaves: 50)
>>> Channel 51: Clear channel (Default) (Slaves: 51)
>>> Channel 52: Clear channel (Default) (Slaves: 52)
>>> Channel 53: Clear channel (Default) (Slaves: 53)
>>> Channel 54: Clear channel (Default) (Slaves: 54)
>>> Channel 55: Clear channel (Default) (Slaves: 55)
>>> Channel 56: Clear channel (Default) (Slaves: 56)
>>> Channel 57: Clear channel (Default) (Slaves: 57)
>>> Channel 58: Clear channel (Default) (Slaves: 58)
>>> Channel 59: Clear channel (Default) (Slaves: 59)
>>> Channel 60: Clear channel (Default) (Slaves: 60)
>>> Channel 61: Clear channel (Default) (Slaves: 61)
>>> Channel 62: Clear channel (Default) (Slaves: 62)
>>>
>>> 62 channels to configure.
>>>
>>> But, "pri show spans", nothing shows up.
>>>
>>> Thanks!
>>> Elliot
>>> On Fri, Apr 3, 2009 at 3:08 AM, Martin <asterisklist at callthem.info> wrote:
>>>> maybe you have to call the dahdi_scan with some argument to
>>>> autogenerate config files ...
>>>>
>>>> for any dahdi T1/E1 card you have to work properly you have to have
>>>> /etc/dahdi/system.conf
>>>> configured with span= and bchan= and dchan= keyword
>>>> and /etc/asterisk/dahdi*.conf with channel => keyword.
>>>>
>>>> check it out ... this is the first step...
>>>>
>>>> dahdi_cfg -vv should show all your 64 channels
>>>>
>>>> Martin
>>>>
>>>> On Thu, Apr 2, 2009 at 6:36 PM, Elliot Murdock <murdocke at gmail.com> wrote:
>>>>> Hello!
>>>>>
>>>>> I am trying to configure my digium TE220 dual-span pci express card
>>>>> with Dahdi.  I seemed to have managed to set up the card with the
>>>>> Dahdi kernel, as demonstrated by executing dahdi_scan:
>>>>>
>>>>> [1]
>>>>> active=yes
>>>>> alarms=RED
>>>>> description=T2XXP (PCI) Card 0 Span 1
>>>>> name=TE2/0/1
>>>>> manufacturer=Digium
>>>>> devicetype=Wildcard TE220 (4th Gen)
>>>>> location=Board ID Switch 0
>>>>> basechan=1
>>>>> totchans=31
>>>>> irq=16
>>>>> type=digital-E1
>>>>> syncsrc=0
>>>>> lbo=0 db (CSU)/0-133 feet (DSX-1)
>>>>> coding_opts=HDB3
>>>>> framing_opts=CCS,CRC4
>>>>> coding=HDB3
>>>>> framing=CCS
>>>>> [2]
>>>>> active=yes
>>>>> alarms=RED
>>>>> description=T2XXP (PCI) Card 0 Span 2
>>>>> name=TE2/0/2
>>>>> manufacturer=Digium
>>>>> devicetype=Wildcard TE220 (4th Gen)
>>>>> location=Board ID Switch 0
>>>>> basechan=32
>>>>> totchans=31
>>>>> irq=16
>>>>> type=digital-E1
>>>>> syncsrc=0
>>>>> lbo=0 db (CSU)/0-133 feet (DSX-1)
>>>>> coding_opts=HDB3
>>>>> framing_opts=CCS,CRC4
>>>>> coding=HDB3
>>>>> framing=CCS
>>>>>
>>>>> However, when calling a "pri show spans" in asterisk, nothing comes
>>>>> up.  Although the physical cables are not yet connected, shouldn't it
>>>>> state something like:
>>>>>
>>>>> PRI span 1/0: Provisioned, In Alarm, Down, Active
>>>>> PRI span 2/0: Provisioned, In Alarm, Down, Active
>>>>>
>>>>> Any help will  be appreciated!
>>>>> Elliot
>>>>>
>>>>> _______________________________________________
>>>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>>>>
>>>>> asterisk-users mailing list
>>>>> To UNSUBSCRIBE or update options visit:
>>>>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>>>>
>>>>
>>>> _______________________________________________
>>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>>>
>>>> asterisk-users mailing list
>>>> To UNSUBSCRIBE or update options visit:
>>>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>>>
>>>
>>> _______________________________________________
>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>>
>>> asterisk-users mailing list
>>> To UNSUBSCRIBE or update options visit:
>>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>>
>>
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>



More information about the asterisk-users mailing list