[asterisk-ss7] Error starting asterisk with libss7 support

Andreas Kaufmann andi62 at gmx.at
Mon Jun 2 12:05:39 CDT 2008


Hi Matthew,

thanks for your answer. I have compiled & installed everything according 
to your recommendations and the contents of the libss7 README. Note that 
the link is working, I just get the error message when starting * and 
would like to know what it means.

Here is the additional information you requested:

SW/HW configuration:
--------------------
OS: OpenSuse 10.3
Zaptel: SVN-branch-1.4-r4315
libss7: SVN-trunk-r171
Asterisk: SVN-trunk-r118178M
DIGIUM TE220P 2xE1 Card

/etc/asterisk/zapata.conf:
===================================================================
[trunkgroups]

[channels]
context = ss7-incoming
signalling = ss7
ss7type = itu
linkset = 1
pointcode = 9104
adjpointcode = 8304
defaultdpc = 8304
group = 1
networkindicator = national_spare
; channel definitions
sigchan = 1
cicbeginswith = 2
channel = 2-31
cicbeginswith = 33
channel = 31-62
===================================================================

/etc/zaptel.conf:
===================================================================
span=1,1,0,ccs,hdb3,crc4
span=2,2,0,ccs,hdb3,crc4
dchan=1
bchan=2-31,32-62
loadzone = us
defaultzone=us
===================================================================

ztcfg -vvv:
===================================================================
Zaptel Version: SVN-branch-1.4-r4315
Echo Canceller: 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: D-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: Clear 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: Clear 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.
===================================================================

ztscan:
===================================================================
[1]
active=yes
alarms=OK
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=48
type=digital-E1
syncsrc=1
lbo=0 db (CSU)/0-133 feet (DSX-1)
coding_opts=HDB3
framing_opts=CCS,CRC4
coding=HDB3
framing=CCS
[2]
active=yes
alarms=OK
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=48
type=digital-E1
syncsrc=1
lbo=0 db (CSU)/0-133 feet (DSX-1)
coding_opts=HDB3
framing_opts=CCS,CRC4
coding=HDB3
framing=CCS
===================================================================

Matthew Fredrickson schrieb:
> Andreas Kaufmann wrote:
>> Hi,
>>
>> when I start asterisk with libss7 support I get the following error message:
>>
>>  > asterisk -c
>> ...
>> [ Booting...
>> [ Reading Master Configuration ]
>> [ Initializing Custom Configuration Options ]
>> [May 30 15:22:29] NOTICE[8122]: cdr.c:1387 do_reload: CDR simple logging 
>> enabled.
>> [May 30 15:22:29] NOTICE[8122]: loader.c:873 load_modules: 94 modules 
>> will be loaded.
>> ...............................................SIP channel loading...
>> [May 30 15:22:29] ERROR[8122]: chan_zap.c:8180 mkintf: Unable to set 
>> clear mode on clear channel -2 of span 32767: Bad file descriptor
>> [May 30 15:22:29] WARNING[8122]: chan_zap.c:14125 process_zap: Unable to 
>> register pseudo channel!
>> .....  == No hardware transcoders found.
>> ........................................ ]
>> Asterisk Ready.
>> *CLI>
>>
>> Because the chan_zap.c line 8122 is in a HAVE_SS7 block, I hope this is 
>> the right forum.
>>
>> Any ideas what this errors mean?
> 
> Can you recompile and reinstall zaptel, libss7, and then Asterisk (in 
> that order), try that, and if it still doesn't work post your 
> zaptel.conf to the list (as well as what card you're using and the span 
> and channel related information).
> 




More information about the asterisk-ss7 mailing list