[asterisk-users] PRI can receive calls but cannot dial out

Vieri rentorbuy at yahoo.com
Mon Dec 10 03:59:17 CST 2012



--- On Fri, 12/7/12, Steve Totaro <stotaro at totarotechnologies.com> wrote:

> Why don't your span numbers match?  1-4 but you have
> 3-6 in your .conf.

What do you mean?

I have the following:

span=3,1,0,CCS,AMI
span=4,2,0,CCS,AMI
span=5,3,0,CCS,AMI
span=6,4,0,CCS,AMI

The first parameter is the port number (3-6). The second parameter is Timing (1-4).
Is it mandatory to begin the port numbering with 1? Or does it simply have to be sequential?

Anyway, I set the span port numbers from 3 to 6 because I based myself on the output of dahdi_scan which was the following:

# dahdi_scan
[1]
active=yes
alarms=OK
description=Wildcard TDM400P REV I Board 5
name=WCTDM/4
manufacturer=Digium
devicetype=Wildcard TDM400P REV I
location=PCI Bus 00 Slot 04
basechan=1
totchans=4
irq=18
type=analog
port=1,FXO
port=2,FXO
port=3,FXO
port=4,FXO
[2]
active=yes
alarms=OK
description=Wildcard TDM2400P
name=WCTDM/0
manufacturer=Digium
devicetype=Wildcard TDM2400P
location=PCI Bus 00 Slot 05
basechan=5
totchans=24
irq=20
type=analog
port=5,FXO
port=6,FXO
port=7,FXO
port=8,FXO
port=9,FXO
port=10,FXO
port=11,FXO
port=12,FXO
port=13,none
port=14,none
port=15,none
port=16,none
port=17,none
port=18,none
port=19,none
port=20,none
port=21,none
port=22,none
port=23,none
port=24,none
port=25,none
port=26,none
port=27,none
port=28,none
[3]
active=yes
alarms=OK
description=B4XXP (PCI) Card 0 Span 1
name=B4/0/1
manufacturer=Digium
devicetype=Wildcard B410P
location=PCI Bus 00 Slot 06
basechan=29
totchans=3
irq=23
type=digital-TE
syncsrc=0
lbo=0 db (CSU)/0-133 feet (DSX-1)
coding_opts=B8ZS,AMI,HDB3
framing_opts=ESF,D4,CCS,CRC4
coding=AMI
framing=CCS
[4]
active=yes
alarms=OK
description=B4XXP (PCI) Card 0 Span 2
name=B4/0/2
manufacturer=Digium
devicetype=Wildcard B410P
location=PCI Bus 00 Slot 06
basechan=32
totchans=3
irq=23
type=digital-TE
syncsrc=0
lbo=0 db (CSU)/0-133 feet (DSX-1)
coding_opts=B8ZS,AMI,HDB3
framing_opts=ESF,D4,CCS,CRC4
coding=AMI
framing=CCS
[5]
active=yes
alarms=OK
description=B4XXP (PCI) Card 0 Span 3
name=B4/0/3
manufacturer=Digium
devicetype=Wildcard B410P
location=PCI Bus 00 Slot 06
basechan=35
totchans=3
irq=23
type=digital-TE
syncsrc=0
lbo=0 db (CSU)/0-133 feet (DSX-1)
coding_opts=B8ZS,AMI,HDB3
framing_opts=ESF,D4,CCS,CRC4
coding=AMI
framing=CCS
[6]
active=yes
alarms=RED
description=B4XXP (PCI) Card 0 Span 4
name=B4/0/4
manufacturer=Digium
devicetype=Wildcard B410P
location=PCI Bus 00 Slot 06
basechan=38
totchans=3
irq=23
type=digital-TE
syncsrc=0
lbo=0 db (CSU)/0-133 feet (DSX-1)
coding_opts=B8ZS,AMI,HDB3
framing_opts=ESF,D4,CCS,CRC4
coding=AMI
framing=CCS

I assumed I should use as port numbers the values within square brackets above.

Still, I'm wondering why outgoing calls don't work (dial/g2 in my example) if I disconnect the cable from:
span=3,1,0,CCS,AMI
and leave all the others connected.

Vieri




More information about the asterisk-users mailing list